Class XRTrackableItem
The trackable item could be planes, images, QR codes, or faces.
Namespace: Evergine.Framework.XR.TrackableItems
Assembly: Evergine.Framework.dll
Syntax
public class XRTrackableItem
Constructors
XRTrackableItem(Guid)
Initializes a new instance of the XRTrackableItem class.
Declaration
public XRTrackableItem(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | The trackable item ID. |
Fields
Transform
Gets or sets the world transform matrix of the trackable item.
Declaration
public Matrix4x4 Transform
Field Value
Type | Description |
---|---|
Matrix4x4 |
Properties
ID
Gets the trackable item ID (unique identification).
Declaration
public Guid ID { get; }
Property Value
Type | Description |
---|---|
Guid |
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |