18 Creating and Managing Controllers

18 Q3Controller_GetTrackerOrientation

You can use the Q3Controller_GetTrackerOrientation function to get the current orientation of a controller's tracker.

TQ3Status Q3Controller_GetTrackerOrientation (
TQ3ControllerRef controllerRef, 
TQ3Quaternion *orientation);
controllerRef
A reference to a controller.
orientation On exit, the current orientation of the tracker associated with the specified controller.

DESCRIPTION


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

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