open fun enableLighting(value: Boolean): Unit
Indicates whether lighting should be used or not. This must be set to true when using a DiffuseMethod
or a SpecularMethod
. Lights are added to a scene Scene
and are automatically added to the material.
value
- Boolean:
open fun enableLighting(value: Boolean): Unit
Indicates whether lighting should be used or not. This must be set to true when using a DiffuseMethod
or a SpecularMethod
. Lights are added to a scene Scene
and are automatically added to the material.
value
- Boolean: