Home | All Classes | Grouped Classes | Index | Search

# CL_LightSource::set_spot_exponent

Sets the intensity distribution of the light.

    	void set_spot_exponent(
    		float spot_exponent);

Detailed description:

Only values in the range [0,128] are accepted. The default spot exponent is 0, resulting in uniform light distribution.

See also:

CL_LightSource

Questions or comments, write to the ClanLib mailing list.