All Classes |Grouped Classes |Index

Class CL_LightSource_GL1

Light Source description. More...

Derived from:

None

Derived by:

None

Group:

Display (GL1)

#include <ClanLib/gl1.h>

Class Members:

CL_LightSource_GL1

Construction.

get_ambient_intensity

Returns the ambient (global light) intensity of the light.

get_constant_attenuation

Returns constant attenuation of the light.

get_diffuse_intensity

Returns the diffuse (spread over wide area) intensity of the light.

get_linear_attenuation

Returns linear attenuation of the light.

get_position

Returns the light position.

get_quadratic_attenuation

Returns quadratic attenuation of the light.

get_specular_intensity

Returns the specular (mirror reflective) intensity of the light.

get_spot_cutoff

Returns the spot cutoff angle (the maximum spread angle of a light source).

get_spot_direction

Returns the light spot direction.

get_spot_exponent

Attributes.

set_ambient_intensity

Sets the ambient (global light) intensity of the light.

set_constant_attenuation

Sets the constant attenuation of the light.

set_diffuse_intensity

Sets the diffuse (spread over wide area) intensity of the light.

set_linear_attenuation

Sets linear attenuation of the light.

set_position

Sets the light position.

set_quadratic_attenuation

Sets quadratic attenuation of the light.

set_specular_intensity

Sets the specular (mirror reflective) intensity of the light.

set_spot_cutoff

Sets the spot cutoff angle (the maximum spread angle of a light source).

set_spot_direction

Sets the light spot direction.

set_spot_exponent

Operations.