docs.unity.cn
    Show / Hide Table of Contents

    Class XRSessionSubsystemDescriptor

    Descriptor for the XRSessionSubsystem describing capabilities which may vary by implementation.

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

    Properties

    supportsInstall

    Whether the session supports the update or installation of session software.

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

    supportsMatchFrameRate

    Whether the session supports matching the AR frame rate to the Unity frame rate.

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

    Methods

    RegisterDescriptor(XRSessionSubsystemDescriptor.Cinfo)

    Register a subsystem implementation. This should only be used by subsystem implementors.

    Declaration
    public static void RegisterDescriptor(XRSessionSubsystemDescriptor.Cinfo cinfo)
    Parameters
    Type Name Description
    XRSessionSubsystemDescriptor.Cinfo cinfo

    Information used to construct the descriptor.

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