8 Managing Point Lights

8 Q3PointLight_GetAttenuation

You can use the Q3PointLight_GetAttenuation function to get the attenuation of a point light.

TQ3Status Q3PointLight_GetAttenuation (
TQ3LightObject light, 
TQ3AttenuationType *attenuation);
light A point light object.
attenuation On exit, the type of attenuation of the light. See "Light Attenuation Values" on page 8-10 for a description of the constants that can be returned in this parameter.

DESCRIPTION


The Q3PointLight_GetAttenuation function returns, in the attenuation parameter, the current attenuation value of the point light specified by the light 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