8 Managing Point Lights
Q3PointLight_SetCastShadowsState
function to set the shadow-casting state of a point light.
TQ3Status Q3PointLight_SetCastShadowsState ( TQ3LightObject light, TQ3Boolean castsShadows);light
A point light object.castsShadows
A Boolean value that indicates whether the specified light casts shadows (kQ3True
) or does not cast shadows (kQ3False
).
Q3PointLight_SetCastShadowsState
function sets the shadow-casting state of the point light specified by the light
parameter to the Boolean value specified in the castsShadows
parameter.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker