기술 자료

Unity Engine

Unity Engine

DepthTextureMode

Depth texture generation mode for Camera.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
[Flags]public enum DepthTextureMode

Remarks

The flags can be combined, so you can set a Camera to generate any combination of: Depth, Depth+Normals, and MotionVector textures if needed.

Fields

Value

Description

DepthGenerate a depth texture.
DepthNormalsGenerate a depth + normals texture.
MotionVectorsSpecifies whether motion vectors should be rendered (if possible).
NoneDo not generate depth texture (Default).