Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 18 - QuickDraw 3D Pointing Device Manager / QuickDraw 3D Pointing Device Manager Reference
QuickDraw 3D Pointing Device Manager Routines / Creating and Managing Controllers


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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help