sourceLights

sourceLights: boolean = false

Controls whether the source lights in spatial models are 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: 29 November, 2022