solarLight

solarLight: boolean = false

Controls whether sunlight used

note Currently the renderer only supports solar lighting. For backwards-compatibility reasons, solar lights will be displayed if any combination of ViewFlags.noCameraLights, ViewFlags.noSourceLights, or ViewFlags.noSolarLight is set to false.

see ViewFlags.lighting for a more convenient way to toggle lighting on and off.

Defined in

Last Updated: 12 June, 2024