set color attribute
Parameters:
Name | Type | Description |
---|---|---|
attributes |
Object | geometry.attributes of the mesh |
i |
number | index of the color in the color attribute array. |
color |
THREE.Color | color. |
Returns:
true - success
false - colorAttribute was not detected.