This node implements the vertex shader logic which is required
when rendering 3D objects via batching. BatchNode must be used
with instances of BatchedMesh.
Constructor
new BatchNode(batchMesh)| Parameter | Type | Default Value |
|---|---|---|
| batchMesh | BatchedMesh | — |
Constructs a new batch node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| batchMesh | BatchedMesh | — | |
| batchingIdNode | any | — | |
| Method | Type | |
|---|---|---|
| setup | (builder: NodeBuilder) => void | |
Extends
NodeTSL function for creating a batch node.
| Parameter | Type | Default Value |
|---|---|---|
| batchMesh | BatchedMesh | — |
Returns
BatchNode