Constructor
new RendererReferenceNode( property : string, inputType : string, renderer : Renderer )
Constructs a new renderer reference node.
| property |
The name of the property the node refers to. |
| inputType |
The uniform type that should be used to represent the property value. |
| renderer |
The renderer the property belongs to. When no renderer is set, the node refers to the renderer of the current state. Default is |
Properties
.renderer : Renderer
The renderer the property belongs to. When no renderer is set, the node refers to the renderer of the current state.
Default is null.
Methods
.updateReference( state : NodeFrame | NodeBuilder ) : Object
Updates the reference based on the given state. The state is only evaluated RendererReferenceNode#renderer is not set.
| state |
The current state. |
- Overrides: ReferenceBaseNode#updateReference
- Returns: The updated reference.