The ClearFlags enum is used to determine how the camera clears the background

Enumeration Members

Enumeration Members

None: 0

Don't clear the background

Skybox: 1

Clear the background with a skybox

SolidColor: 2

Clear the background with a solid color. The alpha channel of the color determines the transparency

Uninitialized: 4

No declared background intent. Sets the render clear color to fully transparent so the canvas shows through when nothing else is configured, but leaves scene.background untouched — backgrounds set by other code (custom loaders, user assignment) are preserved.