Skip to content

textColor( )

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

textColor() : number[];

The color to apply to the displayed text, in the following form:

[r, g, b, z]

Note that this property is distinct from the node’s color parameter which affects the whole node, including backgrounds and shadows.

Default value: [1, 1, 1, 1]