Click or drag to resize

EnvironmentBGMode Enumeration

[Missing <summary> documentation for "T:Godot.Environment.BGMode"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum BGMode
Members
  Member nameValueDescription
Keep5

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.

ClearColor0

Clears the background using the clear color defined in .

Color1

Clears the background using a custom clear color.

Sky2

Displays a user-defined sky in the background.

ColorSky3

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).

Canvas4

Displays a CanvasLayer in the background.

CameraFeed6

Displays a camera feed in the background.

Max7

Represents the size of the EnvironmentBGMode enum.

See Also