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