Beispiel #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);
 }
Beispiel #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);
 }