EnvironmentBGMode Enumeration |
[Missing <summary> documentation for "T:Godot.Environment.BGMode"]
Namespace: Godot
public enum BGMode
| Member name | Value | Description | |
|---|---|---|---|
| Keep | 5 | Keeps on screen every pixel drawn in the background. This is the fastest background mode, but it can only be safely used in fully-interior scenes (no visible sky or sky reflections). If enabled in a scene where the background is visible, "ghost trail" artifacts will be visible when moving the camera. | |
| ClearColor | 0 | Clears the background using the clear color defined in . | |
| Color | 1 | Clears the background using a custom clear color. | |
| Sky | 2 | Displays a user-defined sky in the background. | |
| ColorSky | 3 | Clears the background using a custom clear color and allows defining a sky for shading and reflection. This mode is slightly faster than and should be preferred in scenes where reflections can be visible, but the sky itself never is (e.g. top-down camera). | |
| Canvas | 4 | Displays a CanvasLayer in the background. | |
| CameraFeed | 6 | Displays a camera feed in the background. | |
| Max | 7 | Represents the size of the EnvironmentBGMode enum. |