lighting

Accessor

Controls whether or not lighting is applied.

lighting: boolean

note Has no effect unless renderMode is set to RenderMode.SmoothShade.

Returns - boolean


Setter

Controls whether or not lighting is applied.

lighting(enable: boolean): void

note Has no effect unless renderMode is set to RenderMode.SmoothShade.

Parameter Type Description
enable boolean  

Returns - void

Defined in

Last Updated: 12 June, 2024