Inheritance diagram for DzBoolProperty:
Constructors | |
DzBoolProperty (String name, Boolean canAnimate, Boolean isUserProperty, Boolean initVal=true) | |
DzBoolProperty () | |
Methods | |
Boolean | getBoolValue () |
Boolean | getDefaultBoolValue () |
void | setBoolValue (Boolean value) |
void | setDefaultBoolValue (Boolean val) |
This class provides an animatable boolean property that is stored and can be accessed as an integer property. The integer value 0 is false, any other integer value is true.
DzBoolProperty::DzBoolProperty | ( | ) |
Default Constructor. Creates a non-animatable, non-user property.
DzBoolProperty::DzBoolProperty | ( | String | name, | |
Boolean | canAnimate, | |||
Boolean | isUserProperty, | |||
Boolean | initVal = true | |||
) |
Overloaded constructor.
name | The name of this property. | |
canAnimate | If true, creates an animatable property. | |
isUserProperty | If true, create a user property. User properties are properties that can be added/deleted by users. | |
initVal | Sets the default value of the property. |
Boolean DzBoolProperty::getBoolValue | ( | ) |
Boolean DzBoolProperty::getDefaultBoolValue | ( | ) |
void DzBoolProperty::setBoolValue | ( | Boolean | value | ) |
Sets the boolean value for this property at the current time - or the default value if this property is not animatable.
val | The new value for the property |
void DzBoolProperty::setDefaultBoolValue | ( | Boolean | val | ) |
Sets the default boolean value for this property
val | The new default value for the property |