Ejemplo n.º 1
0
 public ClipNode(ClipNodeDescription nodeDesc, AnimationPackage package)
 {
     Name         = nodeDesc.Name;
     PlaybackRate = nodeDesc.PlaybackRate;
     clipPlayer   = new ClipPlayer(package.SkinningData);
     clipPlayer.StartClip(package.SkinningData.AnimationClips[nodeDesc.ClipName]);
 }
Ejemplo n.º 2
0
 public ClipNode(ClipNodeDescription nodeDesc, AnimationPackage package)
 {
     Name = nodeDesc.Name;
     PlaybackRate = nodeDesc.PlaybackRate;
     clipPlayer = new ClipPlayer(package.SkinningData);
     clipPlayer.StartClip(package.SkinningData.AnimationClips[nodeDesc.ClipName]);
 }