Struct MRReferencePoint
Provides a template for tracked reference point data
Inherited Members
Namespace: Unity.MARS.Data
Assembly: Unity.MARS.Interfaces.dll
Syntax
[MovedFrom("Unity.MARS")]
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 = MARSTrackingState.Unknown)
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 { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| MarsTrackableId |
pose
The pose of this reference point
Declaration
public Pose pose { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Pose |
trackingState
The tracking state of this tracked object
Declaration
public MARSTrackingState trackingState { readonly 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 |
|---|---|
| bool |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |