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
ConstructorDescriptionSimpleProperty
(ActiveModel model, BlueprintAnimation blueprintAnimation) SimpleProperty
(ActiveModel model, BlueprintAnimation blueprintAnimation, double lerpIn, double lerpOut, double speed) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
getName()
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, 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:
update
in interfaceIAnimationProperty
-
stop
public void stop()- Specified by:
stop
in interfaceIAnimationProperty
-
getName
- Specified by:
getName
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
-