Enum Environment.BGMode
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum Environment.BGMode : long
Fields
CameraFeed = 5
Displays a camera feed in the background.
Canvas = 3
Displays a CanvasLayer in the background.
ClearColor = 0
Clears the background using the clear color defined in
ProjectSettings.rendering/environment/defaults/default_clear_color
.Color = 1
Clears the background using a custom clear color.
Keep = 4
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.
Max = 6
Represents the size of the Environment.BGMode enum.
Sky = 2
Displays a user-defined sky in the background.