Package dev.kosmx.playerAnim.core.data
Class KeyframeAnimation.StateCollection
java.lang.Object
dev.kosmx.playerAnim.core.data.KeyframeAnimation.StateCollection
- Enclosing class:
KeyframeAnimation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable KeyframeAnimation.StateCollection.Statefinal @Nullable KeyframeAnimation.StateCollection.Statefinal booleanfinal booleanfinal @Nullable KeyframeAnimation.StateCollection.Statefinal @Nullable KeyframeAnimation.StateCollection.Statefinal @Nullable KeyframeAnimation.StateCollection.State -
Constructor Summary
ConstructorsConstructorDescriptionStateCollection(float threshold) StateCollection(float x, float y, float z, float pitch, float yaw, float roll, float threshold, boolean bendable) StateCollection(float x, float y, float z, float pitch, float yaw, float roll, float scaleX, float scaleY, float scaleZ, float translationThreshold, boolean bendable, boolean scalable) StateCollection(KeyframeAnimation.StateCollection stateCollection) -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanvoidfullyEnablePart(boolean always) inthashCode()booleanvoidsetEnabled(boolean enabled) voidverifyAndLock(int maxLength)
-
Field Details
-
x
-
y
-
z
-
pitch
-
yaw
-
roll
-
bend
-
bendDirection
-
isBendable
public final boolean isBendable -
scaleX
-
scaleY
-
scaleZ
-
isScalable
public final boolean isScalable
-
-
Constructor Details
-
StateCollection
public StateCollection(float x, float y, float z, float pitch, float yaw, float roll, float scaleX, float scaleY, float scaleZ, float translationThreshold, boolean bendable, boolean scalable) -
StateCollection
-
StateCollection
public StateCollection(float x, float y, float z, float pitch, float yaw, float roll, float threshold, boolean bendable) -
StateCollection
public StateCollection(float threshold)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
fullyEnablePart
public void fullyEnablePart(boolean always) -
setEnabled
public void setEnabled(boolean enabled) -
isEnabled
public boolean isEnabled() -
verifyAndLock
public void verifyAndLock(int maxLength) -
copy
-