Inheritance diagram for DzIntProperty:
Methods | |
Number | adjustValue (DzTime tm, Number val) |
Number | adjustValue (Number val) |
Number | getDefaultValue () |
Number | getKeyValue (Number i) |
Number | getLocalValue (DzTime tm) |
Number | getLocalValue () |
Number | getMax () |
Number | getMin () |
Number | getRawValue (DzTime tm) |
Number | getRawValue () |
Number | getSensitivity () |
Number | getValue () |
Number | getValue (DzTime tm) |
void | setDefaultValue (Number val) |
void | setKeyValue (Number keyIndex, Number val) |
void | setMax (Number max) |
void | setMin (Number min) |
void | setMinMax (Number min, Number max) |
void | setSensitivity (Number sens) |
void | setValue (DzTime tm, Number val) |
void | setValue (Number val) |
Constructors | |
DzIntProperty (String name, Boolean canAnimate, Boolean isUserProperty, Number initVal=0) | |
DzIntProperty () |
DzIntProperty::DzIntProperty | ( | ) |
Default Constructor. Creates a non-animatable, non-user property.
DzIntProperty::DzIntProperty | ( | String | name, | |
Boolean | canAnimate, | |||
Boolean | isUserProperty, | |||
Number | initVal = 0 | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
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. | |
defaultVal | Sets the default value of this property. |
Adjust the value of the property at the given time based on the contribution of property controllers.
tm | The scene time at which to adjust the value. | |
val | The 'final' value desired for the property. |
Adjust the value of the property based on the contribution of property controllers.
val | The 'final' value desired for the property. |
Number DzIntProperty::getDefaultValue | ( | ) |
Number DzIntProperty::getLocalValue | ( | ) |
Number DzIntProperty::getMax | ( | ) |
Number DzIntProperty::getMin | ( | ) |
Number DzIntProperty::getRawValue | ( | ) |
Number DzIntProperty::getSensitivity | ( | ) |
Number DzIntProperty::getValue | ( | ) |
void DzIntProperty::setDefaultValue | ( | Number | val | ) |
Sets the default value for this property.
Sets the value of the i'th key. User is responsible to assure that i lies within the valid range of keys for this property.
void DzIntProperty::setMax | ( | Number | max | ) |
Set the maximum allowable value
void DzIntProperty::setMin | ( | Number | min | ) |
Set the mininimum allowable value
Set the mininimum and maximum allowable values
void DzIntProperty::setSensitivity | ( | Number | sens | ) |
Set the sensitivity for this property. This value describes the amount of change in the value of this property caused by adjustment in the interface, especially if limits are off.
Sets the value for this property at the given time - or the default value if this property is not animatable. This function differs from setRawValue() in that it takes into account any controllers on the property such that calling setValue( getValue() ) should not change the value of the property.
void DzIntProperty::setValue | ( | Number | val | ) |
Sets the value for this property at the current time - or the default value if this property is not animatable. This function differs from setRawValue() in that it takes into account any controllers on the property such that calling setValue( getValue() ) should not change the value of the property.