文档

Unity Engine

Unity Engine

Depth

Clear only the depth buffer.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Depth = 3

Remarks

This will leave colors from the previous frame or whatever was displayed before. Additional Resources: Camera.clearFlags property, camera component.