Struct XRObjectTrackingSubsystemDescriptor.Capabilities
Describes the capabilities of an XRObjectTrackingSubsystem implementation.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct 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 |
---|---|
Boolean |
|
Overrides
Equals(XRObjectTrackingSubsystemDescriptor.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 |
---|---|
Boolean |
|
Implements
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A hash code generated from this object's fields. |
Overrides
Operators
Equality(XRObjectTrackingSubsystemDescriptor.Capabilities, XRObjectTrackingSubsystemDescriptor.Capabilities)
Tests for equality. Same as Equals(XRObjectTrackingSubsystemDescriptor.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 |
---|---|
Boolean |
|
Inequality(XRObjectTrackingSubsystemDescriptor.Capabilities, XRObjectTrackingSubsystemDescriptor.Capabilities)
Tests for inequality. Same as !
Equals(XRObjectTrackingSubsystemDescriptor.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 |
---|---|
Boolean |
|