18 Creating and Managing Controllers

18 Q3Controller_SetTrackerOrientation

You can use the Q3Controller_SetTrackerOrientation function to set the orientation of a controller's tracker.

TQ3Status Q3Controller_SetTrackerOrientation (
TQ3ControllerRef controllerRef, 
const TQ3Quaternion *orientation);
controllerRef
A reference to a controller.
orientation The desired orientation of the tracker associated with the specified controller.

DESCRIPTION


The Q3Controller_SetTrackerOrientation function changes the orientation of the tracker currently associated with the controller specified by the controllerRef parameter to the orientation specified in the orientation parameter. If no tracker is currently associated with that controller, Q3Controller_SetTrackerOrientation changes the orientation of the system cursor's tracker. Q3Controller_SetTrackerOrientation has no effect if the controller is inactive.

Calling Q3Controller_SetTrackerOrientation might cause the notify function of the controller's 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