8 Managing Directional Lights

8 Q3DirectionalLight_GetCastShadowsState

You can use the Q3DirectionalLight_GetCastShadowsState function to get the shadow-casting state of a directional light.

TQ3Status Q3DirectionalLight_GetCastShadowsState (
TQ3LightObject light, 
TQ3Boolean *castsShadows);
light A directional light object.
castsShadows
On exit, a Boolean value that indicates whether the specified light casts shadows (kQ3True) or does not cast shadows (kQ3False).

DESCRIPTION


The Q3DirectionalLight_GetCastShadowsState function returns, in the castsShadows parameter, a Boolean value that indicates whether the light specified by the light parameter casts shadows (kQ3True) or does not cast shadows (kQ3False).

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