Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > a2116f36018873d572acbcadddb8e994 > files > 2251

clanlib0.8-docs-0.8.1-22.mga7.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_LightSource - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>Class CL_LightSource</h1>
<p>  OpenGL glLight container. <a href="#description">More...</a></p>
<p>Derived from:
<i>none</i>
<br>
Derived by:
<i>none</i>
<br>Group: GL (Display 3D)</p>
<p>
#include &lt;ClanLib/gl.h&gt;
<p>
<table border=0 width=100%>
</table>
<p><b>Construction:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_LightSource__CL_LightSource.html">CL_LightSource</a></p></td><td valign=top><p>  Constructs a light source container.</p></td></tr></table>
<p><b>Attributes:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_LightSource__get_spot_exponent.html">get_spot_exponent</a></p></td><td valign=top><p>  Returns the intensity distribution of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_spot_cutoff.html">get_spot_cutoff</a></p></td><td valign=top><p>  Returns the spot cutoff angle (the maximum spread angle of a light source).</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_constant_attenuation.html">get_constant_attenuation</a></p></td><td valign=top><p>  Returns constant attenuation of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_linear_attenuation.html">get_linear_attenuation</a></p></td><td valign=top><p>  Returns linear attenuation of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_quadratic_attenuation.html">get_quadratic_attenuation</a></p></td><td valign=top><p>  Returns quadratic attenuation of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_ambient_intensity.html">get_ambient_intensity</a></p></td><td valign=top><p>  Returns the ambient (global light) intensity of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_diffuse_intensity.html">get_diffuse_intensity</a></p></td><td valign=top><p>  Returns the diffuse (spread over wide area) intensity of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_specular_intensity.html">get_specular_intensity</a></p></td><td valign=top><p>  Returns the specular (mirror reflective) intensity of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_position.html">get_position</a></p></td><td valign=top><p>  Returns the light position.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__get_spot_direction.html">get_spot_direction</a></p></td><td valign=top><p>  Returns the light spot direction.</p></td></tr></table>
<p><b>Operations:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_LightSource__set_spot_exponent.html">set_spot_exponent</a></p></td><td valign=top><p>  Sets the intensity distribution of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_spot_cutoff.html">set_spot_cutoff</a></p></td><td valign=top><p>  Sets the spot cutoff angle (the maximum spread angle of a light source).</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_constant_attenuation.html">set_constant_attenuation</a></p></td><td valign=top><p>  Sets the constant attenuation of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_linear_attenuation.html">set_linear_attenuation</a></p></td><td valign=top><p>  Sets linear attenuation of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_quadratic_attenuation.html">set_quadratic_attenuation</a></p></td><td valign=top><p>  Sets quadratic attenuation of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_ambient_intensity.html">set_ambient_intensity</a></p></td><td valign=top><p>  Sets the ambient (global light) intensity of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_diffuse_intensity.html">set_diffuse_intensity</a></p></td><td valign=top><p>  Sets the diffuse (spread over wide area) intensity of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_specular_intensity.html">set_specular_intensity</a></p></td><td valign=top><p>  Sets the specular (mirror reflective) intensity of the light.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_position.html">set_position</a></p></td><td valign=top><p>  Sets the light position.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_spot_direction.html">set_spot_direction</a></p></td><td valign=top><p>  Sets the light spot direction.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__set_viewpoint.html">set_viewpoint</a></p></td><td valign=top><p>  Sets position and spot direction as a viewpoint.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_LightSource__setup_light.html">setup_light</a></p></td><td valign=top><p>  Sends the light configuration to OpenGL.</p></td></tr></table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=GL/Display 3D!
  !header=gl.h!


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->