C4 Engine
C4 Engine API Documentation

class CubeLightObject

Defined in:  C4LightObjects.h
The CubeLightObject class encapsulates data pertaining to a point light source having a projected cube texture map.
Definition

class CubeLightObject final : public ProjectionLightObject

Constructor

CubeLightObject(const ColorRGB& color, float range, const char *name);

Parameters
color The color of light emitted by the light source.
range The spherical range of the light source.
name The name of the projected texture map.
Description
A cube light source is a special type of point light that projects a cube texture onto the world in all directions. The CubeLightObject class contains information specific to the cube light type.
Base Classes
ProjectionLightObject A CubeLightObject is a specific type of projection light object.
See Also

CubeLight