18 Creating and Managing Controllers

18 Q3Controller_GetTrackerPosition

You can use the Q3Controller_GetTrackerPosition function to get the position of a controller's tracker.

TQ3Status Q3Controller_GetTrackerPosition (
TQ3ControllerRef controllerRef, 
TQ3Point3D *position);
controllerRef
A reference to a controller.
position On exit, the current position of the tracker associated with the specified controller.

DESCRIPTION


The Q3Controller_GetTrackerPosition function returns, in the position parameter, the current position of the tracker associated with the controller specified by the controllerRef parameter. If no tracker is currently associated with that controller, Q3Controller_GetTrackerPosition returns the position of the system cursor's tracker. Q3Controller_GetTrackerPosition 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