기술 자료

Unity Engine

Unity Engine

depthTextureMode

How and if camera generates a depth texture.
읽는 시간 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.