C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class PointLightObject

Defined in:  C4LightObjects.h
The PointLightObject class encapsulates data pertaining to a point light source.
Definition

class PointLightObject : public LightObject

Member Functions
PointLightObject::GetLightRange Returns the spherical range of the light source.
PointLightObject::SetLightRange Sets the spherical range of the light source.
Constructor

PointLightObject(const ColorRGB& color, float range);

Parameters
color The color of light emitted by the light source.
range The spherical range of the light source.
Description
Base Classes
LightObject A PointLightObject is a specific type of LightObject.
See Also

PointLight