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 theTQ3PointLightDatadata 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.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help