Light::GetLightType
Defined in:
Returns the specific type of a light.
C4Lights.h
Prototype
LightType GetLightType(void) const;
Description
The GetLightType
function returns the specific light type, which can be one of the following constants.
kLightInfinite |
Infinite light with parallel rays and no attenuation. |
kLightPoint |
Point light with omnidirectional rays and distance attenuation. |
kLightCube |
Point light with a projected cube texture. |
kLightSpot |
Spot light with a projected 2D texture. |
Light::GetBaseLightType
function.
See Also