Class AnimationVariableSlotCallback<VariableType>
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallback<VariableType>
- All Implemented Interfaces:
IAnimationVariableSlot
- Direct Known Subclasses:
AnimationVariableSlotCallbackBool, AnimationVariableSlotCallbackFloat, AnimationVariableSlotCallbackInt, AnimationVariableSlotCallbackString
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear this variable, its value is set to a null-value.abstract VariableTypegetValue()booleanReturns TRUE if this variable is not writable.booleantrySetValue(VariableType val) Methods inherited from class AnimationVariableSlot
getDescription, getKeyMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAnimationVariableSlot
canConvertFrom, getEnumValue, getHandle, getType, getValueBool, getValueFloat, getValueString, setEnumValue, setReadOnly, setValue, setValue, setValue
-
Method Details
-
getValue
-
getDefaultValue
-
trySetValue
-
isReadOnly
public boolean isReadOnly()Description copied from interface:IAnimationVariableSlotReturns TRUE if this variable is not writable. Typically, the value of this variable is specified by an outside condition, such as whether the character is currently falling, etc. -
clear
public void clear()Description copied from interface:IAnimationVariableSlotClear this variable, its value is set to a null-value. Blank for Strings, 0 for Floats, False for Booleans, etc.
-