文档

Unity Engine

Download Unity

Unity Engine

Depth

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

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.