Class Marker
Helper class containing data related to detected markers
Inherited Members
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class Marker
Constructors
Marker(Int32, Vector3, Quaternion)
Contructor for the Marker class
Declaration
public Marker(int id, Vector3 position, Quaternion rotation)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | Detected marker id |
Vector3 | position | Position of the detected marker relative to the application origin |
Quaternion | rotation | Rotation of the detected marker relative to the application origin |
Fields
Id
Id of the detected marker
Declaration
public int Id
Field Value
Type | Description |
---|---|
Int32 |
Position
Position of the detected marker relative to the application origin
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
Rotation
Rotation of the marker relative to the application origin. X-Axis is reported horizontal with the marker. Y-Axis positive direction is upward along the marker. Z-Axis positive direction is outward from the marker compared to into the marker.
Declaration
public Quaternion Rotation
Field Value
Type | Description |
---|---|
Quaternion |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |