Class EnvironmentDepthModeExtension
Extension for the EnvironmentDepthMode.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public static class EnvironmentDepthModeExtension
Methods
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 |
---|---|
Boolean |
|