Environment.BGMode

Values

ValueMeaning
bgClearColor0

Clear the background using the project's clear color.

bgColor1

Clear the background using a custom clear color.

bgSky2

Display a user-defined sky in the background.

bgColorSky3

Clear the background using a custom clear color and allows defining a sky for shading and reflection.

bgCanvas4

Display a CanvasLayer in the background.

bgKeep5

Keep on screen every pixel drawn in the background.

bgMax6

Helper constant keeping track of the enum's size, has no direct usage in API calls.

Meta