예제 #1
0
 private static DanceMotion createFromBvhMotion(string name, BvhMotion bvhMotion, int beatCount, string[] bones)
 {
     Array.Sort <string>(bones);
     DancePose[] array = new DancePose[bvhMotion.Count];
     for (int i = 0; i < array.Length; i++)
     {
         array[i] = DanceMotionFactoryFromBVH.createPoseFromBvhPose(bvhMotion.RootNode, bvhMotion[i], bones);
     }
     return(new DanceMotion(name, beatCount, array, null));
 }
예제 #2
0
 public IDanceMotion CreateDanceMotion(string[] bones)
 {
     return(DanceMotionFactoryFromBVH.createFromBvhMotion(this.motionName, this.bvhMotion, this.beatCount, bones));
 }