Struct XRObjectTrackingSubsystemDescriptor.Capabilities
Describes the capabilities of an XRObjectTrackingSubsystem implementation.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
[Obsolete("XRObjectTrackingSubsystemDescriptor.Capabilities has been deprecated in AR Foundation 6.0. Use XRObjectTrackingSubsystemDescriptor.Cinfo instead of XRObjectTrackingSubsystemDescriptor.Capabilities when registering a descriptor.", false)]
public struct XRObjectTrackingSubsystemDescriptor.Capabilities : IEquatable<XRObjectTrackingSubsystemDescriptor.Capabilities>
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool |
|
Overrides
Equals(Capabilities)
Tests for equality.
Declaration
public bool Equals(XRObjectTrackingSubsystemDescriptor.Capabilities other)
Parameters
Type | Name | Description |
---|---|---|
XRObjectTrackingSubsystemDescriptor.Capabilities | other | The other XRObjectTrackingSubsystemDescriptor.Capabilities to compare against. |
Returns
Type | Description |
---|---|
bool |
|
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 ==(Capabilities, Capabilities)
Tests for equality. Same as Equals(Capabilities).
Declaration
public static bool operator ==(XRObjectTrackingSubsystemDescriptor.Capabilities lhs, XRObjectTrackingSubsystemDescriptor.Capabilities rhs)
Parameters
Type | Name | Description |
---|---|---|
XRObjectTrackingSubsystemDescriptor.Capabilities | lhs | The left-hand side of the comparison. |
XRObjectTrackingSubsystemDescriptor.Capabilities | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(Capabilities, Capabilities)
Tests for inequality. Same as !
Equals(Capabilities).
Declaration
public static bool operator !=(XRObjectTrackingSubsystemDescriptor.Capabilities lhs, XRObjectTrackingSubsystemDescriptor.Capabilities rhs)
Parameters
Type | Name | Description |
---|---|---|
XRObjectTrackingSubsystemDescriptor.Capabilities | lhs | The left-hand side of the comparison. |
XRObjectTrackingSubsystemDescriptor.Capabilities | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|