Struct MRReferencePoint
Provides a template for tracked reference point data
Namespace: Unity.MARS.Data
Syntax
public struct MRReferencePoint : IMRTrackable, IEquatable<MRReferencePoint>
Constructors
MRReferencePoint(Pose, MARSTrackingState)
Create MRReferencePoint used for tracked reference point data
Declaration
public MRReferencePoint(Pose pose, MARSTrackingState state = default(MARSTrackingState))
Parameters
| Type | Name | Description |
|---|---|---|
| Pose | pose | Pose of point |
| MARSTrackingState | state | Point's tracking state |
Properties
id
The id of this reference point as determined by the provider
Declaration
public MarsTrackableId id { get; set; }
Property Value
| Type | Description |
|---|---|
| MarsTrackableId |
Implements
pose
The pose of this reference point
Declaration
public Pose pose { get; set; }
Property Value
| Type | Description |
|---|---|
| Pose |
Implements
trackingState
The tracking state of this tracked object
Declaration
public MARSTrackingState trackingState { get; set; }
Property Value
| Type | Description |
|---|---|
| MARSTrackingState |
Methods
Equals(MRReferencePoint)
Declaration
public bool Equals(MRReferencePoint other)
Parameters
| Type | Name | Description |
|---|---|---|
| MRReferencePoint | other |
Returns
| Type | Description |
|---|---|
| Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 |