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