API reference
API reference
Select your platform
No SDKs available
No versions available

EnvironmentDepthManager Class

Extends MonoBehaviour
Surfaces _EnvironmentDepthTexture and complementary information for reprojection and movement compensation to shaders globally.

Public Statics

static const string HardOcclusionKeyword[Get]
static const string SoftOcclusionKeyword[Get]

Properties

static bool IsSupported[Get]
bool IsDepthAvailable[Get]
If OcclusionShadersMode is specified, this component will enable a global shader keyword after receiving the depth texture.

To enable per-object occlusion, use a provided occlusion shader or modify your custom shader to support HardOcclusionKeyword or SoftOcclusionKeyword.
If set to true, hands will be removed from the depth texture.