Facebook Twitter YouTube

class SpotLight

Defined in:  TSLights.h
The SpotLight class represents a spot light node in a world.
Definition

class SpotLight final : public PointLight

Constructor

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

Parameters
color The color of light emitted by the light source.
range The spherical range of the light source.
apex The tangent of half the apex angle for the spot light. This determines the light's angle of illumination.
name The name of the projected shadow texture map.
Description


Base Classes
PointLight A spot light is a special type of point light.
See Also

SpotLightObject