Home | All Classes | Grouped Classes | Index | Search

CL_LightSource::set_linear_attenuation

Sets linear attenuation of the light.

	void set_linear_attenuation(
		float linear_attenuation);

Detailed description:

The default attenuation factors are (1,0,0), resulting in no attenuation.

See also:

CL_LightSource



Questions or comments, write to the ClanLib mailing list.