8 Data Structures
TQ3PointLightData
data type.
typedef struct TQ3PointLightData { TQ3LightData lightData; TQ3Boolean castsShadows; TQ3AttenuationType attenuation; TQ3Point3D location; } TQ3PointLightData;lightData
A light data structure specifying basic information about the point light.castsShadows
A Boolean value that indicates whether the point light casts shadows (kQ3True
) or not (kQ3False
).attenuation
The type of attenuation of the point light. See "Light Attenuation Values" on page 8-10 for a description of the constants this field can contain.location
The location of the point light, in world coordinates.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker