Namespace: setColorAttribute

Player~Player.setColorAttribute(attributes, i, color)

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.
Source:
Returns:
true - success

false - colorAttribute was not detected.