Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CameraClearFlags

Values for Camera.clearFlags, determining what to clear when rendering a Camera.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum CameraClearFlags

Remarks

Additional Resources: camera component.

Fields

Value

Description

DepthClear only the depth buffer.
NothingDon't clear anything.
SkyboxClear with the skybox.
SolidColorClear with a background color.