18 Creating and Managing Trackers

18 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.

Calling Q3Tracker_SetOrientation might cause the notify function of the tracker to be called.<8bat>u

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker