Class EnvironmentDepthModeExtension
Extension for the EnvironmentDepthMode.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public static class EnvironmentDepthModeExtensionMethods
Enabled(EnvironmentDepthMode)
Determine whether the environment depth mode is enabled.
Declaration
public static bool Enabled(this EnvironmentDepthMode environmentDepthMode)Parameters
| Type | Name | Description | 
|---|---|---|
| EnvironmentDepthMode | environmentDepthMode | The environment depth mode to check. | 
Returns
| Type | Description | 
|---|---|
| bool | 
 |