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 |
|---|---|
| Depth | Clear only the depth buffer. |
| Nothing | Don't clear anything. |
| Skybox | Clear with the skybox. |
| SolidColor | Clear with a background color. |