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

public abstract class AnimationVariableSlotCallback<VariableType> extends AnimationVariableSlot
  • Method Details

    • getValue

      public VariableType getValue()
    • getDefaultValue

      public abstract VariableType getDefaultValue()
    • trySetValue

      public boolean trySetValue(VariableType val)
    • isReadOnly

      public boolean isReadOnly()
      Description copied from interface: IAnimationVariableSlot
      Returns 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()
      Clear this variable, its value is set to a null-value. Blank for Strings, 0 for Floats, False for Booleans, etc.