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 global shader property.
_CameraDepthTextureAdditional Resources: Using camera's depth textures, Camera.depthTextureMode.