C4 Engine
C4 Engine API Documentation

class InfiniteLightObject

Defined in:  C4LightObjects.h
The InfiniteLightObject class encapsulates data pertaining to an infinite light source.

class InfiniteLightObject final : public LightObject

Member Functions
InfiniteLightObject::GetCascadeRangeArray Returns the cascade range array for shadow mapping.

InfiniteLightObject(const ColorRGB& color);

color The color of light emitted by the light source.
An infinite light source illuminates a world with parallel rays of light having no distance attenuation, and it casts shadows using cascaded shadow maps. The InfiniteLightObject class contains information specific to the infinite light type.
Base Classes
LightObject An InfiniteLightObject is a specific type of light object.
See Also


Wiki Articles

Infinite Light