Struct XRAnchorSubsystemDescriptor.Cinfo
Contains the parameters necessary to construct a new XRAnchor
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public struct XRAnchorSubsystemDescriptor.Cinfo : IEquatable<XRAnchorSubsystemDescriptor.Cinfo>
Properties
id
The unique identifier of the provider implementation. No specific format is required.
Declaration
public string id { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
providerType
The provider implementation type to use for instantiation.
Declaration
public Type providerType { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | The provider implementation type. |
subsystemTypeOverride
The XRAnchor
Declaration
public Type subsystemTypeOverride { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | The subsystem implementation type.
If null, XRAnchor |
supportsAsyncCancellation
Indicates whether the provider implementation supports cancelling async operations in progress using
CancellationCancellationToken
as input will ignore the input cancellation token.
Declaration
public bool supportsAsyncCancellation { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
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 { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsGetSavedAnchorIds
Indicates whether the provider implementation supports the ability to get all saved persistent anchor GUIDs
via XRAnchor
Declaration
public bool supportsGetSavedAnchorIds { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsLoadAnchor
Indicates whether the provider implementation supports the ability to load persistently saved anchors via
XRAnchor
Declaration
public bool supportsLoadAnchor { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsSaveAnchor
Indicates whether the provider implementation supports the ability to persistently save anchors via
XRAnchor
Declaration
public bool supportsSaveAnchor { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsSynchronousAdd
Indicates whether the provider implementation supports synchronously adding anchors via
XRAnchorTryAddAnchor
must always return false. In this case, use
XRAnchor
Declaration
public bool supportsSynchronousAdd { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsTrackableAttachments
Indicates whether the provider implementation supports attachments (that is, the ability to attach an anchor to a trackable).
If false, XRAnchor
Declaration
public bool supportsTrackableAttachments { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
Equals(Cinfo)
Tests for equality.
Declaration
public bool Equals(XRAnchorSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRAnchor |
other | The other XRAnchor |
Returns
Type | Description |
---|---|
bool | true if every field in |
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code generated from this object's fields. |
Overrides
Operators
operator ==(Cinfo, Cinfo)
Tests for equality. Equivalent to Equals(Cinfo).
Declaration
public static bool operator ==(XRAnchorSubsystemDescriptor.Cinfo lhs, XRAnchorSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRAnchor |
lhs | The left-hand side of the comparison. |
XRAnchor |
rhs | The right-hand side of the comparison. |
Returns
operator !=(Cinfo, Cinfo)
Tests for inequality. Equivalent to !
Equals(Cinfo).
Declaration
public static bool operator !=(XRAnchorSubsystemDescriptor.Cinfo lhs, XRAnchorSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRAnchor |
lhs | The left-hand side of the comparison. |
XRAnchor |
rhs | The right-hand side of the comparison. |