Rhinox Unity SDK
Static Public Member Functions | List of all members
Ximmerse.RhinoX.ObjectTracking Class Reference

Object tracking : access tag tracking interface. More...

Static Public Member Functions

static bool GetTrackableRawData (int TrackableID, ref Vector3 Position, ref Quaternion Rotation, ref ulong timestamp)
 Gets the raw tracked data from low level tracking system, the coordination system's orign point is the hardware camera's position and rotation. Return false if the object is not being tracked. More...
 
static bool GetTrackableWorldSpaceData (int TrackableID, ref Vector3 WorldPosition, ref Quaternion WorldRotation)
 Gets the tracked position and rotation in world space. Return false if the object is not being tracked. More...
 

Detailed Description

Object tracking : access tag tracking interface.

Member Function Documentation

◆ GetTrackableRawData()

static bool Ximmerse.RhinoX.ObjectTracking.GetTrackableRawData ( int  TrackableID,
ref Vector3  Position,
ref Quaternion  Rotation,
ref ulong  timestamp 
)
inlinestatic

Gets the raw tracked data from low level tracking system, the coordination system's orign point is the hardware camera's position and rotation. Return false if the object is not being tracked.

Returns
true, if trackable object is currently being tracked, false otherwise.
Parameters
TrackableIDTrackable ID.
PositionTracked position, based on tracking camera space.
RotationTracked rotation, based on tracking camera space.
timestampHardware timestamp.

◆ GetTrackableWorldSpaceData()

static bool Ximmerse.RhinoX.ObjectTracking.GetTrackableWorldSpaceData ( int  TrackableID,
ref Vector3  WorldPosition,
ref Quaternion  WorldRotation 
)
inlinestatic

Gets the tracked position and rotation in world space. Return false if the object is not being tracked.

Returns
true, if trackable world space data was gotten, false otherwise.
Parameters
TrackableIDTrackable identifier.
WorldPositionPosition.
WorldRotationRotation.

The documentation for this class was generated from the following file: