AmbientMode
Used to set the mode for scene ambient lighting. Ambient lighting in a scene has a significant impact on the visual effects and atmosphere of the scene. Different effects can be achieved by using the RenderSetting.setAmbientMode method to set the AmbientMode mode.
| attributes | description |
|---|---|
| Skybox | Set the ambient lighting using a skybox. |
| Trilight | Set ambient lighting using a rotating light source, such as sunlight or moonlight. |
| Flat | Used for simple environments without light sources, where all objects in the scene have the same brightness. |
| Custom | Customize the color and intensity of the ambient lighting. |
