Camera.clearFlags
var clearFlags: CameraClearFlags;
CameraClearFlags clearFlags;
clearFlags as CameraClearFlags
Description

How the camera clears the background.

Can be CameraClearFlags.Skybox, CameraClearFlags.SolidColor, CameraClearFlags.Depth or CameraClearFlags.Nothing.
	// Clear with background color (ignore any skyboxes)
	camera.clearFlags = CameraClearFlags.SolidColor;
using UnityEngine;
using System.Collections;

public class Example : MonoBehaviour {
    void Example() {
        camera.clearFlags = CameraClearFlags.SolidColor;
    }
}
import UnityEngine
import System.Collections

public class Example(MonoBehaviour):

	def Example() as void:
		camera.clearFlags = CameraClearFlags.SolidColor