Capítulo 510 de 859
An attribute node for representing vertex colors.
Constructor
| Signature |
|---|
new VertexColorNode( index : number ) |
Properties
| Property | Description |
|---|---|
.index : number | The attribute index to enable more than one sets of vertex colors. |
.isVertexColorNode : boolean (readonly) | This flag can be used for type testing. |
Methods
| Method | Description |
|---|---|
.getAttributeName( builder : NodeBuilder ) : string | Overwrites the default implementation by honoring the attribute index. |