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_SetTrackerPosition

You can use the Q3Controller_SetTrackerPosition function to set the position of a controller's tracker.

TQ3Status Q3Controller_SetTrackerPosition (
TQ3ControllerRef controllerRef, 
const TQ3Point3D *position);
controllerRef
A reference to a controller.
position
The desired position of the tracker associated with the specified controller.
DESCRIPTION
The Q3Controller_SetTrackerPosition function changes the position of the tracker currently associated with the controller specified by the controllerRef parameter to the position specified in the position parameter. If no tracker is currently associated with that controller, Q3Controller_SetTrackerPosition changes the position of the system cursor's tracker. Q3Controller_SetTrackerPosition has no effect if the controller is inactive.

Note
Calling Q3Controller_SetTrackerPosition might cause the notify function of the controller's tracker to be called.

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