Defined in:Returns the base type of a light.
LightType GetBaseLightType(void) const;
DescriptionAll of the light types are divided into two categories, lights that are directional and have infinite range and lights that are localized and have finite range. The
GetBaseLightTypefunction returns the base light type, which can only be
kLightPoint. This represents which general category the light object falls into. The more specific type of light can be determined by calling the
InfiniteLightObjectclass has the
kLightInfinitebase type, and the
SpotLightObjectclasses have the