Interface IStateMachineHandler
- All Superinterfaces:
AnimationHandler,DataIO
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ticxo.modelengine.api.animation.handler.AnimationHandler
AnimationHandler.DefaultProperty -
Method Summary
Modifier and TypeMethodDescriptionvoidforceStopAnimation(int priority, ModelBlueprint source, String animation) default voidforceStopAnimation(int priority, String animation) @Nullable IAnimationPropertygetAnimation(int priority, ModelBlueprint source, String animation) default @Nullable IAnimationPropertygetAnimation(int priority, String animation) default StringgetId()booleanisPlayingAnimation(int priority, ModelBlueprint source, String animation) default booleanisPlayingAnimation(int priority, String animation) booleanplayAnimation(int priority, IAnimationProperty property, boolean force) @Nullable IAnimationPropertyplayAnimation(int priority, ModelBlueprint source, String animation, double lerpIn, double lerpOut, double speed, boolean force) default @Nullable IAnimationPropertyplayAnimation(int priority, String animation, double lerpIn, double lerpOut, double speed, boolean force) voidrefreshState(AnimationHandler.DefaultProperty property) voidstopAnimation(int priority, ModelBlueprint source, String animation) default voidstopAnimation(int priority, String animation) Methods inherited from interface com.ticxo.modelengine.api.animation.handler.AnimationHandler
forceStopAllAnimations, forceStopAnimation, getActiveModel, getAnimation, getAnimations, getDefaultProperty, hasFinishedAllAnimations, isPlayingAnimation, isWalking, load, playAnimation, playAnimation, prepare, save, setDefaultProperty, stopAnimation, tickGlobal, updateBone
-
Method Details
-
getBlueprint
ModelBlueprint getBlueprint() -
getAnimation
-
getAnimation
@Nullable @Nullable IAnimationProperty getAnimation(int priority, ModelBlueprint source, String animation) -
playAnimation
@Nullable default @Nullable IAnimationProperty playAnimation(int priority, String animation, double lerpIn, double lerpOut, double speed, boolean force) -
playAnimation
@Nullable @Nullable IAnimationProperty playAnimation(int priority, ModelBlueprint source, String animation, double lerpIn, double lerpOut, double speed, boolean force) -
playAnimation
-
refreshState
-
isPlayingAnimation
-
isPlayingAnimation
-
stopAnimation
-
stopAnimation
-
forceStopAnimation
-
forceStopAnimation
-
getId
- Specified by:
getIdin interfaceAnimationHandler
-