Class XRSessionSubsystemDescriptor
Descriptor for the XRSessionSubsystem describing capabilities which may vary by implementation.
Inheritance
XRSessionSubsystemDescriptor
Implements
Inherited Members
SubsystemDescriptorWithProvider<XRSessionSubsystem, XRSessionSubsystem.Provider>.Create()
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. |