Q3DirectionalLight_SetCastShadowsState
You can use theQ3DirectionalLight_SetCastShadowsStatefunction to set the shadow-casting state of a directional light.
TQ3Status Q3DirectionalLight_SetCastShadowsState ( TQ3LightObject light, TQ3Boolean castsShadows);
light- A directional light object.
castsShadows- A Boolean value that indicates whether the specified light casts shadows (
kQ3True) or does not cast shadows (kQ3False).DESCRIPTION
TheQ3DirectionalLight_SetCastShadowsStatefunction sets the shadow-casting state of the directional light specified by thelightparameter to the Boolean value specified in thecastsShadowsparameter.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help