Text3D.setColor() method

Set the color of the text.

Signature:

setColor(color: number[]): void;

Parameters

ParameterDescription
colorText color. e.g. [1.0, 0.0, 0.0]

Returns:

void