Class XRAnchorSubsystemDescriptor
Indicates the capabilities supported by a provider of the XRAnchor
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRAnchorSubsystemDescriptor : SubsystemDescriptorWithProvider<XRAnchorSubsystem, XRAnchorSubsystem.Provider>, ISubsystemDescriptor
Properties
supportsAsyncCancellation
Indicates whether the provider implementation supports cancelling async operations in progress using a
Cancellation
Declaration
public bool supportsAsyncCancellation { get; }
Property Value
Type | Description |
---|---|
bool | If false, XRAnchor |
supportsEraseAnchor
Indicates whether the provider implementation supports the ability to erase the persistent saved data
associated with an anchor via
XRAnchor
Declaration
public bool supportsEraseAnchor { get; }
Property Value
Type | Description |
---|---|
bool | If false, |
supportsGetSavedAnchorIds
Indicates whether the provider implementation supports the ability to get all saved persistent anchor GUIDs
via XRAnchor
Declaration
public bool supportsGetSavedAnchorIds { get; }
Property Value
Type | Description |
---|---|
bool | If false, |
supportsLoadAnchor
Indicates whether the provider implementation supports the ability to load persistently saved anchors via
XRAnchor
Declaration
public bool supportsLoadAnchor { get; }
Property Value
Type | Description |
---|---|
bool | If false, |
supportsSaveAnchor
Indicates whether the provider implementation supports the ability to persistently save anchors via
XRAnchor
Declaration
public bool supportsSaveAnchor { get; }
Property Value
Type | Description |
---|---|
bool | If false, |
supportsSynchronousAdd
Indicates whether the provider implementation supports the ability to synchronously add anchors via
XRAnchorTryAddAnchor
must always return false. In this case, use
XRAnchor
Declaration
public bool supportsSynchronousAdd { get; }
Property Value
Type | Description |
---|---|
bool |
supportsTrackableAttachments
Indicates whether the provider implementation supports the ability to attach an anchor to a trackable via
XRAnchorTryAttachAnchor
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 Subsystem
Declaration
[Obsolete("Create(Cinfo) has been deprecated in AR Foundation version 6.0. Use Register(Cinfo) instead (UnityUpgradable) -> Register(*)", false)]
public static void Create(XRAnchorSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRAnchor |
cinfo | Construction info for the descriptor. |
Register(Cinfo)
Creates a new subsystem descriptor instance and registers it with the Subsystem
Declaration
public static void Register(XRAnchorSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRAnchor |
cinfo | Construction info for the descriptor. |