文档

Unity Engine

Unity Engine

CameraClearFlags

Values for Camera.clearFlags, determining what to clear when rendering a Camera.
阅读时间1 分钟最后更新于 1 个月前

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.