Enumerations



TQ3AttenuationType


typedef enum {
    kQ3AttenuationTypeNone                      = 0,
    kQ3AttenuationTypeInverseDistance           = 1,
    kQ3AttenuationTypeInverseDistanceSquared    = 2,
    kQ3AttenuationTypeSize32                    = 0xFFFFFFFF
} TQ3AttenuationType;
Discussion

Light attenuation methods.

The attenuation of a light controls how the intensity of the light is diminished over distance. In the real world, the itensity of a light source is attenuated as 1/(d*d).

Constants

kQ3AttenuationTypeNone
Intensity is not attenuated.
kQ3AttenuationTypeInverseDistance
Intensity is attenuated as 1/d.
kQ3AttenuationTypeInverseDistanceSquared
Intensity is attenuated as 1/(d*d).

TQ3FallOffType


typedef enum {
    kQ3FallOffTypeNone                          = 0,
    kQ3FallOffTypeLinear                        = 1,
    kQ3FallOffTypeExponential                   = 2,
    kQ3FallOffTypeCosine                        = 3,
    kQ3FallOffSize32                            = 0xFFFFFFFF
} TQ3FallOffType;
Discussion

Light fall-off methods.

The fall-off value of a light controls how the intensity of the light varies from the edge of the hot angle (where the light is at full intensity) to the outer angle (where the light intensity falls to zero).

Constants

kQ3FallOffTypeNone
Intensity does not fall off.
kQ3FallOffTypeLinear
Intensity falls off linearly.
kQ3FallOffTypeExponential
Intensity falls off exponentially.
kQ3FallOffTypeCosine
Intensity falls off as the cosine of the angle.

© 1999-2008 Quesa Developers (Last Updated 5/10/2008)