Inheritance diagram for DzNodeProperty:
Constructors | |
DzNodeProperty (String name, Boolean canAnimate, Boolean isUserProperty) | |
DzNodeProperty () | |
Methods | |
void | exclude (DzNode node) |
DzNode | getDefaultValue () |
DzNode | getKeyValue (Number i) |
DzNode | getValue (DzTime tm) |
DzNode | getValue () |
Boolean | isExcluded (DzNode node) |
void | setDefaultValue (DzNode val) |
void | setKeyValue (Number which, DzNode val) |
void | setValue (DzTime tm, DzNode val) |
void | setValue (DzNode val) |
Signals | |
void | aboutToChange () |
Signature: "aboutToChange()" |
An animatible property whose value is a choice of one of the node objects in the current scene, or none. Instead of tracking a numeric value, this property maintains a pointer to another node in the scene. Use this property when you need to need an element to track a user-selected scene node - for example, this property could be used in a node to allow the user to select another node in the scene to follow, or it could be used by a modifier that uses a node in the scene to determine how it is applied, etc.
DzNodeProperty::DzNodeProperty | ( | ) |
Constructor. Creates a non-animatable, non-user property.
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, create an animatible property. If false, a non-animatible property is created. | |
isUserProperty | If true, create a user property. User properties are properties that can be added/deleted by users. |
DzNodeProperty::aboutToChange | ( | ) | [signal] |
Signature: "aboutToChange()"
Emitted immediately before the value of the property changes.
Reimplemented in DzSkeletonProperty.
void DzNodeProperty::exclude | ( | DzNode | node | ) |
Excludes the given node from becomming the value of this property
DzNode DzNodeProperty::getDefaultValue | ( | ) |
DzNode DzNodeProperty::getValue | ( | ) |
void DzNodeProperty::setDefaultValue | ( | DzNode | val | ) |
Set the default value of the property.
Set the value of the property for the given key.
Set the value of the property at the given time.
void DzNodeProperty::setValue | ( | DzNode | val | ) |
Set the value of the property.