LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

CameraClearFlags

enumeration

Description

Values for Camera.clearFlags, determining what to clear when rendering a Camera.

See Also: camera component.

Properties

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