18 Creating and Managing Controllers

18 Q3Controller_MoveTrackerPosition

You can use the Q3Controller_MoveTrackerPosition function to move a controller's tracker relative to its current position.

TQ3Status Q3Controller_MoveTrackerPosition (
TQ3ControllerRef controllerRef, 
const TQ3Vector3D *delta);
controllerRef
A reference to a controller.
delta A three-dimensional vector specifying a relative change in the position of the tracker associated with the specified controller.

DESCRIPTION


The Q3Controller_MoveTrackerPosition function changes the position of the tracker currently associated with the controller specified by the controllerRef parameter by the relative amount specified in the delta parameter. If no tracker is currently associated with that controller, Q3Controller_MoveTrackerPosition changes the position of the system cursor's tracker relative to its current position. Q3Controller_MoveTrackerPosition has no effect if the controller is inactive.

Calling Q3Controller_MoveTrackerPosition 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