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 |
---|---|
Trackable |
Construct a trackable identifier by parsing the given identifier string. |
Trackable |
Constructs a |
Properties
Name | Description |
---|---|
invalid |
Get the invalid id. |
sub |
The first half of the id. |
sub |
The second half of the id. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(Trackable |
Tests for equality. |
Get |
Generates a hash code suitable for use in a |
To |
Generates a string representation of the id suitable for debugging. |
Operators
Name | Description |
---|---|
operator ==(Trackable |
Tests for equality. Same as Equals(Trackable |
operator !=(Trackable |
Tests for inequality. Same as |