Q3Tracker_SetOrientation
You can use the Q3Tracker_SetOrientation function to set the orientation of a tracker.
TQ3Status Q3Tracker_SetOrientation (
TQ3TrackerObject trackerObject,
TQ3ControllerRef controllerRef,
const TQ3Quaternion *orientation);
trackerObject
- A tracker object.
controllerRef
- A reference to a controller.
orientation
- The desired orientation (in radians) of the specified tracker, or
NULL.
DESCRIPTION
The Q3Tracker_SetOrientation function sets the orientation of the tracker specified by the trackerObject and controllerRef parameters to the value specified in the orientation parameter. If the specified tracker is inactive, Q3Tracker_SetOrientation has no effect.
- Note
- Calling
Q3Tracker_SetOrientation might cause the notify function of the tracker to be called.