文档

Unity Engine

Unity Engine

Depth

Generate a depth texture.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

Will generate a screen-space depth texture as seen from this camera. Texture will be in RenderTextureFormat.Depth format and will be set as
_CameraDepthTexture
global shader property.