
Light Source description. More...
Derived from: | None |
Derived by: | None |
Group: | Display (GL1) |
#include <ClanLib/gl1.h>
Class Members:
Constructs a light source container. | |
Attributes Returns the intensity distribution of the light. | |
Returns the spot cutoff angle (the maximum spread angle of a light source). | |
Returns constant attenuation of the light. | |
Returns linear attenuation of the light. | |
Returns quadratic attenuation of the light. | |
Returns the ambient (global light) intensity of the light. | |
Returns the diffuse (spread over wide area) intensity of the light. | |
Returns the specular (mirror reflective) intensity of the light. | |
Returns the light position. | |
Returns the light spot direction. | |
Operations Sets the intensity distribution of the light. | |
Sets the spot cutoff angle (the maximum spread angle of a light source). | |
Sets the constant attenuation of the light. | |
Sets linear attenuation of the light. | |
Sets quadratic attenuation of the light. | |
Sets the ambient (global light) intensity of the light. | |
Sets the diffuse (spread over wide area) intensity of the light. | |
Sets the specular (mirror reflective) intensity of the light. | |
Sets the light position. | |
Sets the light spot direction. |