lightColor(...)

lightColor(v: number[]) : this;

Sets the color of the light.

Default value: [1,1,1]

Parameters

Parameter Type Description
val array The color of the light, in the following form: [r, g, b]. Each component is a number between 0 and 1.

Returns

this

zapcode branded_zapcode i