public Scene(string name = "") : base(name) { RootNode = new Node(); Poses = SrcObjects.CreateCollectionView <Pose>(); Materials = SrcObjects.CreateCollectionView <SurfaceMaterial>(); Textures = SrcObjects.CreateCollectionView <Texture>(); Nodes = SrcObjects.CreateCollectionView <Node>(); SrcObjects.Add(new GlobalSettings()); SetAnimationEvaluator(new AnimEvaluator()); }
protected FbxGeometry(string name = "") : base(name) { Deformers = SrcObjects.CreateCollectionView <FbxDeformer>(); }
public Node(string name = "") { this.Properties.AddRange( new Property[] { LclTranslation, LclRotation, LclScaling, Visibility, VisibilityInheritance, QuaternionInterpolate, RotationOffset, RotationPivot, ScalingOffset, ScalingPivot, TranslationActive, TranslationMin, TranslationMax, TranslationMinX, TranslationMinY, TranslationMinZ, TranslationMaxX, TranslationMaxY, TranslationMaxZ, RotationOrder, RotationSpaceForLimitOnly, RotationStiffnessX, RotationStiffnessY, RotationStiffnessZ, AxisLen, PreRotation, PostRotation, RotationActive, RotationMin, RotationMax, RotationMinX, RotationMinY, RotationMinZ, RotationMaxX, RotationMaxY, RotationMaxZ, InheritType, ScalingActive, ScalingMin, ScalingMax, ScalingMinX, ScalingMinY, ScalingMinZ, ScalingMaxX, ScalingMaxY, ScalingMaxZ, GeometricTranslation, GeometricRotation, GeometricScaling, MinDampRangeX, MinDampRangeY, MinDampRangeZ, MaxDampRangeX, MaxDampRangeY, MaxDampRangeZ, MinDampStrengthX, MinDampStrengthY, MinDampStrengthZ, MaxDampStrengthX, MaxDampStrengthY, MaxDampStrengthZ, PreferedAngleX, PreferedAngleY, PreferedAngleZ, LookAtProperty, UpVectorProperty, Show, NegativePercentShapeSupport, DefaultAttributeIndex, Freeze, LODBox }); this.ChildNodes = SrcObjects.CreateCollectionView <Node>(); _parentNode = DstObjects.CreateObjectView <Node>(); DefaultAttributeIndex.Set(-1); nodeAttributes = SrcObjects.CreateCollectionView <NodeAttribute>(); Materials = SrcObjects.CreateCollectionView <SurfaceMaterial>(); }