Back to Three Js

JoinNode

docs/pages/JoinNode.html

latest842 B
Original Source

Constructor

new JoinNode( nodes : Array.<Node>, nodeType : string )

Constructs a new join node.

| nodes |

An array of nodes that should be joined.

| | nodeType |

The node type.

Default is null.

|

Properties

.nodes : Array.<Node>

An array of nodes that should be joined.

Methods

.getNodeType( builder : NodeBuilder ) : string

This method is overwritten since the node type must be inferred from the joined data length if not explicitly defined.

| builder |

The current node builder.

|

Overrides: TempNode#getNodeType Returns: The node type.

Source

src/nodes/utils/JoinNode.js