Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DepthTextureMode

enumeration

Description

Depth texture generation mode for Camera.

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

See Also: Using camera's depth textures, Camera.depthTextureMode.

Variables

NoneDo not generate depth texture (Default).
DepthGenerate a depth texture.
DepthNormalsGenerate a depth + normals texture.
MotionVectorsSpecifies whether motion vectors should be rendered (if possible).
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答