Package com.jme3.animation
Class AnimationUtils
java.lang.Object
com.jme3.animation.AnimationUtils
- 
Method Summary
Modifier and TypeMethodDescriptionstatic floatclampWrapTime(float time, float duration, LoopMode loopMode) Clamps the time according to duration and loopMode 
- 
Method Details
- 
clampWrapTime
Clamps the time according to duration and loopMode- Parameters:
 time- the unclamped time value (in seconds)duration- the animation's duration (in seconds)loopMode- the animation's looping behavior (not null)- Returns:
 - the clamped time (in seconds)
 
 
 -