ドキュメント

Unity Engine

Unity Engine

depthTextureMode

How and if camera generates a depth texture.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public DepthTextureMode depthTextureMode { get; set; }

Remarks

A camera can build a screen-space depth texture. This is mostly useful for image post-processing effects. Note that generating the texture incurs a performance cost.