Esempio n. 1
0
 /// <summary>
 /// This is the simplest of uses to get the length of an animation.
 /// Usage: MotionTable.GetAnimationLength((uint)MotionTableId, MotionCommand)
 /// </summary>
 public static float GetAnimationLength(MotionTable motionTable, MotionCommand motion)
 {
     return(motionTable.GetAnimationLength(motion));
 }
Esempio n. 2
0
 public static float GetAnimationLength(MotionTable motionTable, MotionCommand currentMotionState, MotionStance style, MotionCommand motion)
 {
     return(motionTable.GetAnimationLength(currentMotionState, style, motion));
 }
Esempio n. 3
0
        public static float GetAnimationLength(uint motionTableId, MotionStance style, MotionCommand motion)
        {
            MotionTable mt = ReadFromDat(motionTableId);

            return(mt.GetAnimationLength(style, motion));
        }