示例#1
0
        public AnimationNode(Csab parent)
        {
            this.parent_ = parent;

            this.ScaleX = new(parent) { ValueType = TrackType.SCALE };
            this.ScaleY = new(parent) { ValueType = TrackType.SCALE };
            this.ScaleZ = new(parent) { ValueType = TrackType.SCALE };

            this.TranslationX = new(parent) { ValueType = TrackType.POSITION };
            this.TranslationY = new(parent) { ValueType = TrackType.POSITION };
            this.TranslationZ = new(parent) { ValueType = TrackType.POSITION };

            this.RotationX = new(parent) { ValueType = TrackType.ROTATION };
            this.RotationY = new(parent) { ValueType = TrackType.ROTATION };
            this.RotationZ = new(parent) { ValueType = TrackType.ROTATION };
        }
示例#2
0
 public CsabTrack(Csab parent)
 {
     this.parent_ = parent;
 }