Package dev.kosmx.playerAnim.api.layered
Class KeyframeAnimationPlayer.RotationAxis
java.lang.Object
dev.kosmx.playerAnim.api.layered.KeyframeAnimationPlayer.Axis
dev.kosmx.playerAnim.api.layered.KeyframeAnimationPlayer.RotationAxis
- Enclosing class:
KeyframeAnimationPlayer
-
Field Summary
Fields inherited from class dev.kosmx.playerAnim.api.layered.KeyframeAnimationPlayer.Axis
keyframes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetValueAtCurrentTick(float currentValue) Get the current value of this axis.Methods inherited from class dev.kosmx.playerAnim.api.layered.KeyframeAnimationPlayer.Axis
getValueFromKeyframes
-
Constructor Details
-
RotationAxis
-
-
Method Details
-
getValueAtCurrentTick
public float getValueAtCurrentTick(float currentValue) Description copied from class:KeyframeAnimationPlayer.AxisGet the current value of this axis.- Overrides:
getValueAtCurrentTickin classKeyframeAnimationPlayer.Axis- Parameters:
currentValue- the Current value of the axis- Returns:
- value
-