Class XRAnchorSubsystemDescriptor
Indicates the capabilities supported by a provider of the XRAnchorSubsystem. Provider implementations must derive from XRAnchorSubsystem.Provider and may override virtual class members.
Inheritance
SubsystemDescriptorWithProvider
XRAnchorSubsystemDescriptor
Implements
ISubsystemDescriptor
Inherited Members
SubsystemDescriptorWithProvider<XRAnchorSubsystem, XRAnchorSubsystem.Provider>.Create()
SubsystemDescriptorWithProvider.id
SubsystemDescriptorWithProvider.providerType
SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRAnchorSubsystemDescriptor : SubsystemDescriptorWithProvider<XRAnchorSubsystem, XRAnchorSubsystem.Provider>, ISubsystemDescriptor
Properties
supportsTrackableAttachments
Indicates whether the provider implementation supports attachments (that is, the ability to attach an anchor to a trackable). If false, XRAnchorSubsystem.TryAttachAnchor must always return false.
Declaration
public bool supportsTrackableAttachments { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
Create(Cinfo)
Creates a new subsystem descriptor instance and registers it with the SubsystemManager.
Declaration
public static void Create(XRAnchorSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRAnchorSubsystemDescriptor.Cinfo | cinfo | Construction info for the descriptor. |
Implements
UnityEngine.ISubsystemDescriptor