docs.unity.cn
    Show / Hide Table of Contents

    Class XRPlaneSubsystemDescriptor

    Describes the capabilities of an XRPlaneSubsystem.

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

    Properties

    supportsArbitraryPlaneDetection

    true if the subsystem supports arbitrarily angled plane detection.

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

    supportsBoundaryVertices

    true if the subsystem supports boundary vertices for its planes.

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

    supportsClassification

    true if the current subsystem supports plane classification. Otherwise, false.

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

    supportsHorizontalPlaneDetection

    true if the subsystem supports horizontal plane detection.

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

    supportsVerticalPlaneDetection

    true if the subsystem supports vertical plane detection.

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

    Methods

    Create(XRPlaneSubsystemDescriptor.Cinfo)

    Creates a new subsystem descriptor and registers it with the SubsystemManager.

    Declaration
    public static void Create(XRPlaneSubsystemDescriptor.Cinfo cinfo)
    Parameters
    Type Name Description
    XRPlaneSubsystemDescriptor.Cinfo cinfo

    Construction info for the descriptor.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 12 February 2021