Enum ArCameraConfigDepthSensorUsage
Depth sensor usage filters for ArCameraConfigFilter.
Namespace: UnityEngine.XR.ARCore
Syntax
[Flags]
public enum ArCameraConfigDepthSensorUsage
Fields
Name | Description | Value |
---|---|---|
RequireAndUse | Filters for camera configs that require a depth sensor to be present on the device, and that will be used by ARCore. See ArCameraConfigFilter See ARCore supported devices for a list of devices that currently have supported depth sensors. |
1 |
DoNotUse | Filters for camera configs where a depth sensor is not present, or is present but will not be used by ARCore. Used by SetDepthSensorUsage(ArSession, ArCameraConfigDepthSensorUsage) and GetDepthSensorUsage(ArSession) to filter camera configurations when the app requires exclusive access to the depth sensor outside of ARCore, for example to support 3D mesh reconstruction. Available on all ARCore supported devices. |
2 |