An attribute node for representing vertex colors.
Constructor
new VertexColorNode(index)| Parameter | Type | Default Value |
|---|---|---|
| index | number | — |
Constructs a new vertex color node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| isVertexColorNode | boolean | — | |
| index | number | — | |
| Method | Type | |
|---|---|---|
| getAttributeName | () => string | |
| generate | (builder: any) => any | |
| serialize | (data: any) => void | |
| deserialize | (data: any) => void | |
Extends
AttributeNodeTSL function for creating a reference node.
| Parameter | Type | Default Value |
|---|---|---|
| index? | number | 0 |
Returns
VertexColorNode