Class XRParticipantSubsystemDescriptor
The descriptor of the XRParticipantSubsystem that shows which features are available on that XRSubsystem.
Inheritance
XRParticipantSubsystemDescriptor
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public sealed class XRParticipantSubsystemDescriptor : SubsystemDescriptor<XRParticipantSubsystem>, ISubsystemDescriptor
Remarks
You use Register<T>(String, XRParticipantSubsystemDescriptor.Capabilities) register a subsystem with the global SubsystemManager
.
Properties
capabilities
The capabilities provided by this implementation.
Declaration
public XRParticipantSubsystemDescriptor.Capabilities capabilities { get; }
Property Value
Type | Description |
---|---|
XRParticipantSubsystemDescriptor.Capabilities |
Methods
Register<T>(String, XRParticipantSubsystemDescriptor.Capabilities)
Register a subsystem implementation. This should only be used by subsystem implementors.
Declaration
public static void Register<T>(string subsystemId, XRParticipantSubsystemDescriptor.Capabilities capabilities)
where T : XRParticipantSubsystem
Parameters
Type | Name | Description |
---|---|---|
String | subsystemId | The name of the specific subsystem implementation. |
XRParticipantSubsystemDescriptor.Capabilities | capabilities | The XRParticipantSubsystemDescriptor.Capabilities of the specific subsystem implementation. |
Type Parameters
Name | Description |
---|---|
T |