_LightingConfig.ambient

Contents

_LightingConfig.ambient#

property _LightingConfig.ambient: float[source]#

Return or set the ambient value.

When lighting is enabled, this is the amount of light in the range of 0 to 1 that reaches the actor when not directed at the light source emitted from the viewer.

Examples#

Download Python source code | Download Jupyter notebook

Set the global ambient lighting value to 0.2.