Exemple #1
0
 public DanceMotionFactoryFromBVH(string name, string filePath, int beatCount)
 {
     this.bvhMotion  = BvhFormat.Import(filePath);
     this.beatCount  = beatCount;
     this.motionName = name;
     this.fileName   = filePath;
 }
Exemple #2
0
        public static BvhMotion Import(string filename)
        {
            BvhMotion result;

            using (StreamReader streamReader = new StreamReader(filename))
            {
                result = BvhFormat.Import(streamReader);
            }
            return(result);
        }