Struct XRAnchorSubsystemDescriptor.Cinfo
Contains the parameters necessary to construct a new XRAnchorSubsystemDescriptor instance.
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. |
subsystemImplementationType
The concrete Type
of the subsystem which will be instantiated if a subsystem is created from this descriptor.
Declaration
[Obsolete("XRAnchorSubsystem no longer supports the deprecated set of base classes for subsystems as of Unity 2020.2. Use providerType and, optionally, subsystemTypeOverride instead.", true)]
public Type subsystemImplementationType { readonly get; set; }
Property Value
Type | Description |
---|---|
Type |
subsystemTypeOverride
The XRAnchorSubsystem-derived type to use for instantiation. The instantiated instance of this type will forward casted calls to its provider.
Declaration
public Type subsystemTypeOverride { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | The subsystem implementation type. If null, XRAnchorSubsystem will be instantiated. |
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 { 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 |
---|---|---|
XRAnchorSubsystemDescriptor.Cinfo | other | The other XRAnchorSubsystemDescriptor.Cinfo to compare against. |
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 |
---|---|---|
XRAnchorSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRAnchorSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
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 |
---|---|---|
XRAnchorSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRAnchorSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |