Graphics Manager
C4LightObjects.h

class DepthLightObject

The DepthLightObject class encapsulates data pertaining to an infinite light source having a depth-based shadow map.
Definition

class DepthLightObject : public InfiniteLightObject

Member Functions
DepthLightObject::GetShadowRange Returns the maximum depth of the shadow map.
DepthLightObject::SetShadowRange Sets the maximum depth of the shadow map.
Constructor

DepthLightObject(const ColorRGB& color, float range, float width, float height);

Parameters
color The color of light emitted by the light source.
range The maximum depth of the shadow map.
width The width of the area covered by the shadow map.
height The height of the area covered by the shadow map.
Description
Base Classes
InfiniteLightObject A DepthLightObject is a specific type of InfiniteLightObject.
See Also
DepthLight