DepthTextureMode

enumeration

切换到手册

描述

Camera 的深度纹理生成模式。

这些标志可加以结合,以便您能够将 Camera 设置为可生成以下任何组合:Depth、Depth+Normals,以及 MotionVector 纹理(如果需要)。

另请参阅:Using camera's depth texturesCamera.depthTextureMode

变量

None不生成深度纹理(默认)。
Depth生成深度纹理。
DepthNormals生成深度 + 法线纹理。
MotionVectors指定是否应渲染运动矢量(如果可能)。