8 Managing Spot Lights

8 Q3SpotLight_SetAttenuation

You can use the Q3SpotLight_SetAttenuation function to set the attenuation of a spot light.

TQ3Status Q3SpotLight_SetAttenuation (
TQ3LightObject light, 
TQ3AttenuationType attenuation);
light A spot light object.
attenuation The desired type of attenuation of the light. See "Light Attenuation Values" on page 8-10 for a description of the constants that can be passed in this parameter.

DESCRIPTION


The Q3SpotLight_SetAttenuation function sets the attenuation value of the spot light specified by the light parameter to the value passed in the attenuation parameter.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 16 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker