6 Managing Shadow-Receiving Styles

6 Q3ReceiveShadowsStyle_New

You can use the Q3ReceiveShadowsStyle_New function to create a new shadow-receiving style object.

TQ3StyleObject Q3ReceiveShadowsStyle_New (TQ3Boolean receives);
receives A Boolean value that determines whether the new style object specifies that objects in the scene receive shadows (kQ3True) or do not receive shadows (kQ3False).

DESCRIPTION


The Q3ReceiveShadowsStyle_New function returns, as its function result, a new style object having the shadow-receiving style specified by the receives parameter.

If a new style object could not be created, Q3ReceiveShadowsStyle_New returns the value NULL.

To change the current shadow-receiving style, you must actually draw the style object. You can call Q3Style_Submit to draw the style in retained mode or Q3ReceiveShadowsStyle_Submit (described next) to draw the style in immediate mode.

SEE ALSO


See "Shadow-Receiving Styles" on page 6-9 for a description of shadow-receiving styles.

DESCRIPTION
SEE ALSO

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