8 Managing Directional Lights

8 Q3DirectionalLight_SetDirection

You can use the Q3DirectionalLight_SetDirection function to set the direction of a directional light.

TQ3Status Q3DirectionalLight_SetDirection (
TQ3LightObject light, 
const TQ3Vector3D *direction);
light A directional light object.
direction The desired direction of the specified light.

DESCRIPTION


The Q3DirectionalLight_SetDirection function sets the direction of the directional light specified by the light parameter to the value passed in the direction 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