C4 Engine
C4 Engine API Documentation

class InfiniteLightObject

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

class InfiniteLightObject final : public LightObject

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

InfiniteLightObject(const ColorRGB& color);

Parameters
color The color of light emitted by the light source.
Description
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

InfiniteLight

Wiki Articles

Infinite Light