Class SimpleProperty
java.lang.Object
com.ticxo.modelengine.api.animation.property.SimpleProperty
- All Implemented Interfaces:
IAnimationProperty
- Direct Known Subclasses:
AnimationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ticxo.modelengine.api.animation.property.IAnimationProperty
IAnimationProperty.Phase -
Constructor Summary
ConstructorsConstructorDescriptionSimpleProperty(ActiveModel model, BlueprintAnimation blueprintAnimation) SimpleProperty(ActiveModel model, BlueprintAnimation blueprintAnimation, double lerpIn, double lerpOut, double speed) -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublegetName()org.bukkit.util.VectorgetPositionFrame(String bone) org.bukkit.util.EulerAnglegetRotationFrame(String bone) booleanbooleanvoidstop()booleanupdate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ticxo.modelengine.api.animation.property.IAnimationProperty
getForceLoopMode, getLerpIn, getLerpInTime, getLerpOut, getLerpOutTime, getModel, getPhase, getSpeed, getTime, isForceOverride, setForceLoopMode, setForceOverride, setLerpInTime, setLerpOutTime, setSpeed
-
Constructor Details
-
SimpleProperty
-
SimpleProperty
public SimpleProperty(ActiveModel model, BlueprintAnimation blueprintAnimation, double lerpIn, double lerpOut, double speed)
-
-
Method Details
-
update
public boolean update()- Specified by:
updatein interfaceIAnimationProperty
-
stop
public void stop()- Specified by:
stopin interfaceIAnimationProperty
-
getName
- Specified by:
getNamein interfaceIAnimationProperty
-
getPositionFrame
- Specified by:
getPositionFramein interfaceIAnimationProperty
-
getRotationFrame
- Specified by:
getRotationFramein interfaceIAnimationProperty
-
getScriptFrame
- Specified by:
getScriptFramein interfaceIAnimationProperty
-
getLerpInRatio
public double getLerpInRatio()- Specified by:
getLerpInRatioin interfaceIAnimationProperty
-
getLerpOutRatio
public double getLerpOutRatio()- Specified by:
getLerpOutRatioin interfaceIAnimationProperty
-
isFinished
public boolean isFinished()- Specified by:
isFinishedin interfaceIAnimationProperty
-
isOverride
public boolean isOverride()- Specified by:
isOverridein interfaceIAnimationProperty
-