public ColladaInitFrom() : base(Enums.ColladaElementType.Undefined) { Fields.Add(_mip = new ColladaObjectAttribute<uint>(0)); Fields.Add(_slice = new ColladaObjectAttribute<uint>(0)); Fields.Add(_face = new ColladaObjectAttribute<Enums.ColladaFXSurfaceFaceEnum>(Enums.ColladaFXSurfaceFaceEnum.POSITIVE_X)); Fields.Add(_text = new ColladaObjectValue<string>("")); }
public ColladaAnimation() : base(Enums.ColladaElementType.Core_Animation) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaAnimation>>("")); Fields.Add(_name = new ColladaObjectAttribute<ColladaNCName>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_animation = new ColladaObjectElementList<ColladaAnimation>()); Fields.Add(_source = new ColladaObjectElementList<ColladaSource>()); Fields.Add(_sampler = new ColladaObjectElementList<ColladaSampler>()); Fields.Add(_channel = new ColladaObjectElementList<ColladaChannel>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); List<ColladaObject> mutually_inclusive = new List<ColladaObject>(); mutually_inclusive.Add(_sampler); mutually_inclusive.Add(_channel); List<ColladaObject> mutually_exclusive1 = new List<ColladaObject>(); mutually_inclusive.Add(_animation); mutually_inclusive.Add(_sampler); List<ColladaObject> mutually_exclusive2 = new List<ColladaObject>(); mutually_inclusive.Add(_animation); mutually_inclusive.Add(_channel); ValidationTests.Add(new ColladaMutuallyInclusive(Enums.ColladaElementType.All, mutually_inclusive)); ValidationTests.Add(new ColladaMutuallyExclusive(Enums.ColladaElementType.All, mutually_exclusive1)); ValidationTests.Add(new ColladaMutuallyExclusive(Enums.ColladaElementType.All, mutually_exclusive2)); }
public ColladaTechnique() : base(Enums.ColladaElementType.Core_Technique) { Fields.Add(_profile = new ColladaObjectAttribute<string>("")); Fields.Add(_xmlns = new ColladaObjectAttribute<string>("")); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _profile)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _profile)); }
public ColladaInputUnshared() : base(Enums.ColladaElementType.Core_InputUnshared) { Fields.Add(_semantic = new ColladaObjectAttribute<Enums.ColladaInputSharedSemantic>(Enums.ColladaInputSharedSemantic.BINORMAL)); Fields.Add(_source = new ColladaObjectAttribute<string>("")); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _source)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _source)); }
public ColladaTechniqueHint() : base(Enums.ColladaElementType.Fx_TechniqueHint) { Fields.Add(_platform = new ColladaObjectAttribute<string>("")); Fields.Add(_ref = new ColladaObjectAttribute<string>("")); Fields.Add(_profile = new ColladaObjectAttribute<string>("")); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _ref)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _ref)); }
public ColladaInstanceNode() : base(Enums.ColladaElementType.Core_InstanceNode) { Fields.Add(_sid = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_url = new ColladaObjectAttribute<string>("")); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _url)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _url)); }
public ColladaAccessor() : base(Enums.ColladaElementType.Core_Accessor) { Fields.Add(_count = new ColladaObjectAttribute<uint>(0)); Fields.Add(_offset = new ColladaObjectAttribute<uint>(0)); Fields.Add(_source = new ColladaObjectAttribute<string>("")); Fields.Add(_param = new ColladaObjectElementList<ColladaParam>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _source)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _source)); }
public ColladaCamera() : base(Enums.ColladaElementType.Core_Camera) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_optics = new ColladaObjectElement<ColladaOptics>()); Fields.Add(_imager = new ColladaObjectElement<ColladaImager>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); }
public ColladaChannel() : base(Enums.ColladaElementType.Core_Channel) { Fields.Add(_source = new ColladaObjectAttribute<string>("")); Fields.Add(_target = new ColladaObjectAttribute<string>("")); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _source)); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _target)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _source)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _target)); }
public ColladaMaterial() : base(Enums.ColladaElementType.Fx_Material) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<Core.ColladaAsset>()); Fields.Add(_instanceEffect = new ColladaObjectElement<ColladaInstanceEffect>()); Fields.Add(_extra = new ColladaObjectElementList<Core.ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _instanceEffect)); }
public ColladaSampler() : base(Enums.ColladaElementType.Core_Sampler) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaSampler>>("")); Fields.Add(_input = new ColladaObjectElementList<ColladaInputUnshared>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _input)); ValidationTests.Add(new ColladaListMinCount<ColladaInputUnshared>(Enums.ColladaElementType.All, _input, 1)); ValidationTests.Add(new ColladaListHasValue<ColladaInputUnshared, Enums.ColladaInputSharedSemantic>(Enums.ColladaElementType.All, _input, "Semantic", Enums.ColladaInputSharedSemantic.INTERPOLATION)); }
public ColladaLight() : base(Enums.ColladaElementType.Core_Light) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_techniqueCommon = new ColladaObjectElement<ColladaTechniqueCommon>()); Fields.Add(_technique = new ColladaObjectElementList<ColladaTechnique>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _techniqueCommon)); }
public ColladaLibraryControllers() : base(Enums.ColladaElementType.Core_LibraryControllers) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaLibraryControllers>>("")); Fields.Add(_name = new ColladaObjectAttribute<ColladaNCName>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_controller = new ColladaObjectElementList<ColladaController>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _controller)); ValidationTests.Add(new ColladaListMinCount<ColladaController>(Enums.ColladaElementType.All, _controller, 1)); }
public ColladaLibraryEffects() : base(Enums.ColladaElementType.Fx_LibraryEffects) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaLibraryEffects>>("")); Fields.Add(_name = new ColladaObjectAttribute<ColladaNCName>("")); Fields.Add(_asset = new ColladaObjectElement<Core.ColladaAsset>()); Fields.Add(_effect = new ColladaObjectElementList<ColladaEffect>()); Fields.Add(_extra = new ColladaObjectElementList<Core.ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _effect)); ValidationTests.Add(new ColladaListMinCount<ColladaEffect>(Enums.ColladaElementType.All, _effect, 1)); }
public ColladaLibraryGeometries() : base(Enums.ColladaElementType.Core_LibraryGeometries) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaLibraryGeometries>>("")); Fields.Add(_name = new ColladaObjectAttribute<ColladaNCName>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_geometry = new ColladaObjectElementList<ColladaGeometry>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _geometry)); ValidationTests.Add(new ColladaListMinCount<ColladaGeometry>(Enums.ColladaElementType.All, _geometry, 1)); }
public ColladaLibraryMaterials() : base(Enums.ColladaElementType.Fx_LibraryMaterials) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<Core.ColladaAsset>()); Fields.Add(_material = new ColladaObjectElementList<ColladaMaterial>()); Fields.Add(_extra = new ColladaObjectElementList<Core.ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _material)); ValidationTests.Add(new ColladaListMinCount<ColladaMaterial>(Enums.ColladaElementType.All, _material, 1)); }
public ColladaLibraryCameras() : base(Enums.ColladaElementType.Core_LibraryCameras) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_camera = new ColladaObjectElementList<ColladaCamera>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _camera)); ValidationTests.Add(new ColladaListMinCount<ColladaCamera>(Enums.ColladaElementType.All, _camera, 1)); }
public ColladaVisualScene() : base(Enums.ColladaElementType.Core_VisualScene) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaVisualScene>>("")); Fields.Add(_name = new ColladaObjectAttribute<ColladaNCName>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_node = new ColladaObjectElementList<ColladaNode>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _node)); ValidationTests.Add(new ColladaListMinCount<ColladaNode>(Enums.ColladaElementType.All, _node, 1)); }
public ColladaTexture() : base(Enums.ColladaElementType.Undefined) { Fields.Add(_texture = new ColladaObjectAttribute<string>("")); Fields.Add(_texCoord = new ColladaObjectAttribute<string>("")); Fields.Add(_extra = new ColladaObjectElement<Core.ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.Fx_CommonColorOrTextureType, _texture)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.Fx_CommonColorOrTextureType, _texture)); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.Fx_CommonColorOrTextureType, _texCoord)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.Fx_CommonColorOrTextureType, _texCoord)); }
public ColladaExtra() : base(Enums.ColladaElementType.Core_Extra) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_type = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_technique = new ColladaObjectElementList<ColladaTechnique>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _technique)); ValidationTests.Add(new ColladaListMinCount<ColladaTechnique>(Enums.ColladaElementType.All, _technique, 1)); }
public ColladaProfileCOMMON() : base(Enums.ColladaElementType.Fx_ProfileCOMMON) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<Core.ColladaAsset>()); Fields.Add(_image = new ColladaObjectElementList<ColladaImage>()); Fields.Add(_newparam = new ColladaObjectElementList<ColladaNewparam>()); Fields.Add(_technique = new ColladaObjectElement<ColladaTechnique>()); Fields.Add(_extra = new ColladaObjectElementList<Core.ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _technique)); }
public ColladaBindVertexInput() : base(Enums.ColladaElementType.Fx_BindVertexInput) { Fields.Add(_semantic = new ColladaObjectAttribute<string>("")); Fields.Add(_inputSemantic = new ColladaObjectAttribute<string>("")); Fields.Add(_inputSet = new ColladaObjectAttribute<uint>(0)); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _semantic)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _semantic)); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _inputSemantic)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _inputSemantic)); }
public ColladaSpline() : base(Enums.ColladaElementType.Core_Spline) { Fields.Add(_closed = new ColladaObjectAttribute<bool>(false)); Fields.Add(_source = new ColladaObjectElementList<ColladaSource>()); Fields.Add(_controlVertices = new ColladaObjectElement<ColladaControlVertices>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _source)); ValidationTests.Add(new ColladaListMinCount<ColladaSource>(Enums.ColladaElementType.All, _source, 1)); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _controlVertices)); }
public ColladaLibraryAnimations() : base(Enums.ColladaElementType.Core_LibraryAnimations) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaLibraryAnimations>>("")); Fields.Add(_name = new ColladaObjectAttribute<ColladaNCName>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_animation = new ColladaObjectElementList<ColladaAnimation>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _animation)); ValidationTests.Add(new ColladaListMinCount<ColladaAnimation>(Enums.ColladaElementType.All, _animation, 1)); }
public ColladaInstanceController() : base(Enums.ColladaElementType.Core_InstanceController) { Fields.Add(_sid = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_url = new ColladaObjectAttribute<string>("")); Fields.Add(_skeleton = new ColladaObjectElementList<ColladaSkeleton>()); Fields.Add(_bindMaterial = new ColladaObjectElementList<Fx.ColladaBindMaterial>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _url)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _url)); }
public ColladaParam() : base(Enums.ColladaElementType.Core_Param) { Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_sid = new ColladaObjectAttribute<string>("")); Fields.Add(_type = new ColladaObjectAttribute<string>("")); Fields.Add(_semantic = new ColladaObjectAttribute<string>("")); List<string> validTypes = new List<string>(validTypesAccessor); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _type)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _type)); ValidationTests.Add(new ColladaHasValidValue<string>(Enums.ColladaElementType.Core_Accessor, _type, validTypes)); }
public ColladaInstanceEffect() : base(Enums.ColladaElementType.Fx_InstanceEffect) { Fields.Add(_sid = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_url = new ColladaObjectAttribute<string>("")); Fields.Add(_techniqueHint = new ColladaObjectElementList<ColladaTechniqueHint>()); Fields.Add(_setparam = new ColladaObjectElementList<ColladaSetparam>()); Fields.Add(_extra = new ColladaObjectElementList<Core.ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _sid)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _sid)); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _url)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _url)); }
public ColladaAnimationClip() : base(Enums.ColladaElementType.Core_AnimationClip) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_start = new ColladaObjectAttribute<double>(0.0)); Fields.Add(_end = new ColladaObjectAttribute<double>(0.0)); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_asset = new ColladaObjectElement<ColladaAsset>()); Fields.Add(_instanceAnimation = new ColladaObjectElementList<ColladaInstanceAnimation>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _instanceAnimation)); ValidationTests.Add(new ColladaListMinCount<ColladaInstanceAnimation>(Enums.ColladaElementType.All, _instanceAnimation, 1)); }
public ColladaVertices() : base(Enums.ColladaElementType.Core_Vertices) { Fields.Add(_id = new ColladaObjectAttribute<string>("")); Fields.Add(_name = new ColladaObjectAttribute<string>("")); Fields.Add(_input = new ColladaObjectElementList<ColladaInputUnshared>()); Fields.Add(_extra = new ColladaObjectElementList<ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _id)); ValidationTests.Add(new ColladaEmptyString(Enums.ColladaElementType.All, _id)); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _input)); ValidationTests.Add(new ColladaListMinCount<ColladaInputUnshared>(Enums.ColladaElementType.All, _input, 1)); ValidationTests.Add(new ColladaListHasValue<ColladaInputUnshared, Enums.ColladaInputSharedSemantic>(Enums.ColladaElementType.All, _input, "Semantic", Enums.ColladaInputSharedSemantic.POSITION)); }
public ColladaImage() : base(Enums.ColladaElementType.Fx_Image) { Fields.Add(_id = new ColladaObjectAttribute<ColladaID<ColladaImage>>("")); Fields.Add(_name = new ColladaObjectAttribute<ColladaNCName>("")); Fields.Add(_format = new ColladaObjectAttribute<string>("")); Fields.Add(_height = new ColladaObjectAttribute<uint>(0)); Fields.Add(_width = new ColladaObjectAttribute<uint>(0)); Fields.Add(_depth = new ColladaObjectAttribute<uint>(1)); Fields.Add(_asset = new ColladaObjectElement<Core.ColladaAsset>()); Fields.Add(_initFrom = new ColladaObjectElement<ColladaInitFrom>()); Fields.Add(_extra = new ColladaObjectElementList<Core.ColladaExtra>()); ValidationTests.Add(new ColladaIsNull(Enums.ColladaElementType.All, _initFrom)); }
public ColladaBoolArray() : base(Enums.ColladaElementType.Core_BoolArray) { Fields.Add(_id = new ColladaObjectAttribute <ColladaID <ColladaBoolArray> >("")); Fields.Add(_name = new ColladaObjectAttribute <ColladaNCName>("")); }
public ColladaSurface() : base(Enums.ColladaElementType.Fx_Surface) { Fields.Add(_type = new ColladaObjectAttribute <Enums.ColladaFXSurfaceTypeEnum>(Enums.ColladaFXSurfaceTypeEnum.UNTYPED)); Fields.Add(_initFrom = new ColladaObjectElement <ColladaInitFrom>()); }
public ColladaGeometryCommonAttributes(Enums.ColladaElementType type) : base(type) { Fields.Add(_name = new ColladaObjectAttribute <string>("")); Fields.Add(_count = new ColladaObjectAttribute <uint>(0)); Fields.Add(_material = new ColladaObjectAttribute <string>("")); }
public ColladaNameArray() : base(Enums.ColladaElementType.Core_NameArray) { Fields.Add(_id = new ColladaObjectAttribute <string>("")); Fields.Add(_name = new ColladaObjectAttribute <string>("")); }