Class AnimationVariableSlotCallbackBool
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallback<Boolean>
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallbackBool
- All Implemented Interfaces:
IAnimationVariableSlot
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceStrong-typed utility type.static interface -
Constructor Summary
ConstructorsConstructorDescriptionAnimationVariableSlotCallbackBool(String string, boolean boolean0, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, AnimationVariableSlotCallbackBool.CallbackSetStrongTyped callbackSetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor) AnimationVariableSlotCallbackBool(String string, boolean boolean0, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor) AnimationVariableSlotCallbackBool(String string, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, AnimationVariableSlotCallbackBool.CallbackSetStrongTyped callbackSetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor) AnimationVariableSlotCallbackBool(String string, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvertFrom(String string) Returns TRUE if this variable slot can accept and/or convert the supplied value object.getType()This variable's value typebooleanThis variable's value, as a Boolean.floatThis variable's value, as a Float.This variable's value, in String form.voidsetValue(boolean boolean0) Set this variable's valuevoidsetValue(float float0) Set this variable's valuevoidSet this variable's valueMethods inherited from class zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallback
clear, getValue, isReadOnly, trySetValueMethods inherited from class zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
getDescription, getKeyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSlot
getEnumValue, getHandle, setEnumValue, setReadOnly
-
Constructor Details
-
AnimationVariableSlotCallbackBool
public AnimationVariableSlotCallbackBool(String string, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor) -
AnimationVariableSlotCallbackBool
public AnimationVariableSlotCallbackBool(String string, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, AnimationVariableSlotCallbackBool.CallbackSetStrongTyped callbackSetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor) -
AnimationVariableSlotCallbackBool
public AnimationVariableSlotCallbackBool(String string, boolean boolean0, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor) -
AnimationVariableSlotCallbackBool
public AnimationVariableSlotCallbackBool(String string, boolean boolean0, AnimationVariableSlotCallbackBool.CallbackGetStrongTyped callbackGetStrongTyped, AnimationVariableSlotCallbackBool.CallbackSetStrongTyped callbackSetStrongTyped, IAnimationVariableSlotDescriptor iAnimationVariableSlotDescriptor)
-
-
Method Details
-
getDefaultValue
- Specified by:
getDefaultValuein classAnimationVariableSlotCallback<Boolean>
-
getValueString
Description copied from interface:IAnimationVariableSlotThis variable's value, in String form. -
getValueFloat
public float getValueFloat()Description copied from interface:IAnimationVariableSlotThis variable's value, as a Float. -
getValueBool
public boolean getValueBool()Description copied from interface:IAnimationVariableSlotThis variable's value, as a Boolean. -
setValue
Description copied from interface:IAnimationVariableSlotSet this variable's value -
setValue
public void setValue(float float0) Description copied from interface:IAnimationVariableSlotSet this variable's value -
setValue
public void setValue(boolean boolean0) Description copied from interface:IAnimationVariableSlotSet this variable's value -
getType
Description copied from interface:IAnimationVariableSlotThis variable's value type -
canConvertFrom
Description copied from interface:IAnimationVariableSlotReturns TRUE if this variable slot can accept and/or convert the supplied value object. Returns FALSE if the conversion would result in a loss of data. Eg. If a String is given to a Float variable, and the string is not of a numeric format, then the string value would be lost.
-