예제 #1
0
 public ClipInstance(Clip clip)
 {
     Clip                     = clip;
     JointStates              = new SpriteState[clip.Joints.Length];
     AbsoluteTransforms       = new Transform2D[clip.Joints.Length];
     JointStates[0].Transform = Transform2D.Identity;
     currentAnim              = new ClipAnimInstance(this);
     Play(clip.AnimSet.Anims[0]);
     Update(0.0f);
 }
예제 #2
0
 public ClipInstance(Clip clip)
 {
     Clip = clip;
     JointStates = new SpriteState[clip.Joints.Length];
     AbsoluteTransforms = new Transform2D[clip.Joints.Length];
     JointStates[0].Transform = Transform2D.Identity;
     currentAnim = new ClipAnimInstance(this);
     Play(clip.AnimSet.Anims[0]);
     Update(0.0f);
 }