org.rajawali3d.materials / Material / lightingEnabled

lightingEnabled

open fun lightingEnabled(): Boolean

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.

Return
Boolean:

open fun lightingEnabled(): Boolean

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.

Return
Boolean: