lighting

Accessor

Controls whether or not lighting is applied.

get: boolean

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

Returns - boolean


Setter

Controls whether or not lighting is applied.

set(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: 13 June, 2024