Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
canvas
Displays a CanvasLayer
in the background.
case canvas
Other cases
case clearColor
Clears the background using the clear color defined in
ProjectSettings/rendering/environment/defaults/defaultClearColor
.case color
Clears the background using a custom clear color.
case sky
Displays a user-defined sky in the background.
case keep
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.
case cameraFeed
Displays a camera feed in the background.
case max
Represents the size of the
BGMode
enum.