docs.unity3d.com
    Show / Hide Table of Contents

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023