Point Light Data Structure
You use a point light data structure to get or set information about a point light source. A point light data structure is defined by the TQ3PointLightData data type.
typedef struct TQ3PointLightData {
TQ3LightData lightData;
TQ3Boolean castsShadows;
TQ3AttenuationType attenuation;
TQ3Point3D location;
} TQ3PointLightData;
Field Description
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-9 for a description of the constants this field can contain.
location
- The location of the point light, in world coordinates.