public DanceMotionFactoryFromBVH(string name, string filePath, int beatCount) { this.bvhMotion = BvhFormat.Import(filePath); this.beatCount = beatCount; this.motionName = name; this.fileName = filePath; }
public static BvhMotion Import(string filename) { BvhMotion result; using (StreamReader streamReader = new StreamReader(filename)) { result = BvhFormat.Import(streamReader); } return(result); }