8 Data Structures
TQ3DirectionalLightData
data type.
typedef struct TQ3DirectionalLightData { TQ3LightData lightData; TQ3Boolean castsShadows; TQ3Vector3D direction; } TQ3DirectionalLightData;lightData
A light data structure specifying basic information about the directional light.castsShadows
A Boolean value that indicates whether the directional light casts shadows (kQ3True
) or not (kQ3False
).direction
The direction of the directional light. Note that the direction is defined as a world-space vector away from the light source. This vector does not need to be normalized, but its length must be greater than 0.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker