Struct TrackableId
A session-unique identifier for trackables in the real-world environment, such as planes and feature points.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public struct TrackableId : IEquatable<TrackableId>
Remarks
Ids are generally unique to a particular session, but multiple sessions might produce identical ids for different trackables.
A trackable id is a 128 bit number, stored as two ulong
s. This makes it large enough to hold a Guid
.
Constructors
Name | Description |
---|---|
TrackableId(string) | Construct a trackable identifier by parsing the given identifier string. |
TrackableId(ulong, ulong) | Constructs a |
Properties
Name | Description |
---|---|
invalidId | Get the invalid id. |
subId1 | The first half of the id. |
subId2 | The second half of the id. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(TrackableId) | Tests for equality. |
GetHashCode() | Generates a hash code suitable for use in a |
ToString() | Generates a string representation of the id suitable for debugging. |
Operators
Name | Description |
---|---|
operator ==(TrackableId, TrackableId) | Tests for equality. Same as Equals(TrackableId). |
operator !=(TrackableId, TrackableId) | Tests for inequality. Same as |