docs.unity3d.com
    Show / Hide Table of Contents

    Class XRDepthSubsystemDescriptor

    The descriptor of the XRDepthSubsystem that shows which depth detection features are available on that XRSubsystem.

    Inheritance
    Object
    SubsystemDescriptor
    SubsystemDescriptor<XRDepthSubsystem>
    XRDepthSubsystemDescriptor
    Inherited Members
    SubsystemDescriptor<XRDepthSubsystem>.Create()
    SubsystemDescriptor.ISubsystemDescriptor.Create()
    SubsystemDescriptor.id
    SubsystemDescriptor.subsystemImplementationType
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public class XRDepthSubsystemDescriptor : SubsystemDescriptor<XRDepthSubsystem>, ISubsystemDescriptor
    Remarks

    You use the RegisterDescriptor(XRDepthSubsystemDescriptor.Cinfo) factory method along with XRDepthSubsystemDescriptor.Cinfo struct to construct and register one of these from each depth data provider.

    Properties

    supportsConfidence

    Whether the implementation supports per feature point confidence values.

    Declaration
    public bool supportsConfidence { get; }
    Property Value
    Type Description
    Boolean

    supportsFeaturePoints

    Whether the implementation supports feature points.

    Declaration
    public bool supportsFeaturePoints { get; }
    Property Value
    Type Description
    Boolean

    supportsUniqueIds

    Whether the implementation supports per feature point identifiers.

    Declaration
    public bool supportsUniqueIds { get; }
    Property Value
    Type Description
    Boolean

    Methods

    RegisterDescriptor(XRDepthSubsystemDescriptor.Cinfo)

    Registers a subsystem implementation with the SubsystemManager.

    Declaration
    public static void RegisterDescriptor(XRDepthSubsystemDescriptor.Cinfo descriptorParams)
    Parameters
    Type Name Description
    XRDepthSubsystemDescriptor.Cinfo descriptorParams

    See Also

    XRDepthSubsystem
    Back to top
    Terms of use
    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