18 Creating and Managing Controllers

18 Q3Controller_SetValues

You can use the Q3Controller_SetValues function to set the list of values of a controller.

TQ3Status Q3Controller_SetValues (
TQ3ControllerRef controllerRef, 
const float *values, 
unsigned long valueCount);
controllerRef
A reference to a controller.
values A pointer to an array of controller values. The size of the array is determined by the number of elements in the array (as specified by the valueCount parameter) and the size of a controller value (which is controller-dependent).
valueCount The number of elements in the array pointed to by the values parameter.

DESCRIPTION


The Q3Controller_SetValues function copies the data specified in the values parameter into the value list of the controller specified by the controllerRef parameter. Q3Controller_SetValues copies the number of elements specified by the valueCount parameter.

SPECIAL CONSIDERATIONS


In general, you need to use this function only if you are writing a device driver for a controller.

DESCRIPTION
SPECIAL CONSIDERATIONS

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