Class XRSessionSubsystemDescriptor
Descriptor for the XRSessionSubsystem describing capabilities which may vary by implementation.
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<XRSessionSubsystem, XRSessionSubsystem.Provider>
XRSessionSubsystemDescriptor
Inherited Members
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<UnityEngine.XR.ARSubsystems.XRSessionSubsystem, UnityEngine.XR.ARSubsystems.XRSessionSubsystem.Provider>.Create()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.UnityEngine.ISubsystemDescriptor.Create()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.providerType
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
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 |
---|---|
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. |