docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRSessionSubsystemDescriptor

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

    Inheritance
    object
    SubsystemDescriptorWithProvider
    SubsystemDescriptorWithProvider<XRSessionSubsystem, XRSessionSubsystem.Provider>
    XRSessionSubsystemDescriptor
    Implements
    ISubsystemDescriptor
    Inherited Members
    SubsystemDescriptorWithProvider<XRSessionSubsystem, XRSessionSubsystem.Provider>.Create()
    SubsystemDescriptorWithProvider.id
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public sealed class XRSessionSubsystemDescriptor : SubsystemDescriptorWithProvider<XRSessionSubsystem, XRSessionSubsystem.Provider>, ISubsystemDescriptor

    Properties

    supportsInstall

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

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

    supportsMatchFrameRate

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

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

    Methods

    Register(Cinfo)

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

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

    Information used to construct the descriptor.

    RegisterDescriptor(Cinfo)

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

    Declaration
    [Obsolete("RegisterDescriptor(Cinfo) has been deprecated in AR Foundation version 6.0. Use Register(Cinfo) instead (UnityUpgradable) -> Register(*)", false)]
    public static void RegisterDescriptor(XRSessionSubsystemDescriptor.Cinfo cinfo)
    Parameters
    Type Name Description
    XRSessionSubsystemDescriptor.Cinfo cinfo

    Information used to construct the descriptor.

    Implements

    ISubsystemDescriptor
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)