Constructor
new SplitNode( node : Node, components : string )
Constructs a new split node.
| node |
The node that should be accessed. |
| components |
The components that should be accessed. Default is |
Properties
.components : string
The components that should be accessed.
.isSplitNode : boolean (readonly)
This flag can be used for type testing.
Default is true.
Methods
.getComponentType( builder : NodeBuilder ) : string
Returns the component type of the node's type.
| builder |
The current node builder. |
- Returns: The component type.
.getNodeType( builder : NodeBuilder ) : string
This method is overwritten since the node type is inferred from requested components.
| builder |
The current node builder. |
- Overrides: Node#getNodeType
- Returns: The node type.
.getScope() : Node
.getVectorLength() : number
Returns the vector length which is computed based on the requested components.
- Returns: The vector length.