gfx.env.ambient_source
Client
Enumeration of supported ambient light sources for the environment
Values
| Constant | Description |
|---|---|
gfx.env.ambient_source.BG | Derives ambient light from the current background Refer gfx.env.set_background_mode |
gfx.env.ambient_source.DISABLED | Disables ambient light entirely |
gfx.env.ambient_source.COLOR | Uses a flat custom color as the ambient light source Refer gfx.env.set_ambient_color |
gfx.env.ambient_source.SKY | Derives ambient light from the configured sky |