Class AnimationVariableSlotFloat
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotFloat
- All Implemented Interfaces:
IAnimationVariableSlot
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvertFrom
(String val) Returns TRUE if this variable slot can accept and/or convert the supplied value object.void
clear()
Clear this variable, its value is set to a null-value.getType()
This variable's value typeboolean
This variable's value, as a Boolean.float
This variable's value, as a Float.This variable's value, in String form.void
setValue
(boolean val) Set this variable's valuevoid
setValue
(float val) Set this variable's valuevoid
Set this variable's valueMethods inherited from class zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
getKey
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSlot
isReadOnly
-
Constructor Details
-
AnimationVariableSlotFloat
-
-
Method Details
-
getValueString
Description copied from interface:IAnimationVariableSlot
This variable's value, in String form. -
getValueFloat
public float getValueFloat()Description copied from interface:IAnimationVariableSlot
This variable's value, as a Float. -
getValueBool
public boolean getValueBool()Description copied from interface:IAnimationVariableSlot
This variable's value, as a Boolean. -
setValue
Description copied from interface:IAnimationVariableSlot
Set this variable's value -
setValue
public void setValue(float val) Description copied from interface:IAnimationVariableSlot
Set this variable's value -
setValue
public void setValue(boolean val) Description copied from interface:IAnimationVariableSlot
Set this variable's value -
getType
Description copied from interface:IAnimationVariableSlot
This variable's value type -
canConvertFrom
Description copied from interface:IAnimationVariableSlot
Returns 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. -
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.
-