color

fun LightManager.Builder.color(linearColor: Color): LightManager.Builder

Sets the initial color of a light.

The light color is specified in the linear sRGB color-space. The default is white.

Return

This Builder, for chaining calls.

Parameters

linearColor

rgb components of the color (default is (1, 1, 1))