Class BlendProperty
java.lang.Object
com.ticxo.modelengine.api.animation.property.BlendProperty
- All Implemented Interfaces:
IAnimationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ticxo.modelengine.api.animation.property.IAnimationProperty
IAnimationProperty.Phase
-
Constructor Summary
ConstructorDescriptionBlendProperty
(String name, ActiveModel model) BlendProperty
(String name, ActiveModel model, double lerpIn, double lerpOut, double speed) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
org.bukkit.util.Vector
getPositionFrame
(String bone) org.bukkit.util.EulerAngle
getRotationFrame
(String bone) boolean
boolean
void
stop()
boolean
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ticxo.modelengine.api.animation.property.IAnimationProperty
getForceLoopMode, getLerpIn, getLerpInTime, getLerpOut, getLerpOutTime, getModel, getName, getPhase, getSpeed, getTime, isForceOverride, setForceLoopMode, setForceOverride, setLerpInTime, setLerpOutTime, setSpeed
-
Constructor Details
-
BlendProperty
-
BlendProperty
-
-
Method Details
-
update
public boolean update()- Specified by:
update
in interfaceIAnimationProperty
-
stop
public void stop()- Specified by:
stop
in interfaceIAnimationProperty
-
getPositionFrame
- Specified by:
getPositionFrame
in interfaceIAnimationProperty
-
getRotationFrame
- Specified by:
getRotationFrame
in interfaceIAnimationProperty
-
getScriptFrame
- Specified by:
getScriptFrame
in interfaceIAnimationProperty
-
getLerpInRatio
public double getLerpInRatio()- Specified by:
getLerpInRatio
in interfaceIAnimationProperty
-
getLerpOutRatio
public double getLerpOutRatio()- Specified by:
getLerpOutRatio
in interfaceIAnimationProperty
-
isFinished
public boolean isFinished()- Specified by:
isFinished
in interfaceIAnimationProperty
-
isOverride
public boolean isOverride()- Specified by:
isOverride
in interfaceIAnimationProperty
-