Constructor
new UserDataNode( property : string, inputType : string, userData : Object )
Constructs a new user data node.
| property |
The property name that should be referenced by the node. |
| inputType |
The node data type of the reference. |
| userData |
A reference to the Default is |
Properties
.userData : Object
A reference to the userData object. If not provided, the userData
property of the 3D object that uses the node material is evaluated.
Default is null.
Methods
.updateReference( state : NodeFrame | NodeBuilder ) : Object
Overwritten to make sure ReferenceNode#reference points to the correct
userData field.
| state |
The current state to evaluate. |
- Overrides: ReferenceNode#updateReference
- Returns: A reference to the
userDatafield.