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.

Properties

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