1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>GXGetLightColor</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetLightColor</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><CODE>#include &lt;revolution/gx.h&gt;</CODE></pre></dd>
21<dd><pre><CODE>void GXGetLightColor(
22const <A href="../Structures/GXLightObj.html">GXLightObj</A>*   lt_obj,
23<A href="../Structures/GXColor.html">GXColor</A>*            color );</CODE></pre></dd>
24</dl>
25<h2>Arguments</h2>
26<TABLE border="1" cellpadding="3" cellspacing="0.1">
27  <tr>
28<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>lt_obj</CODE></strong></em></TD>
29<TD width="520">Pointer to a light object</TD>
30    </tr>
31  <tr>
32<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>color</CODE></strong></em></TD>
33<TD width="520">Color of the light</TD>
34    </tr>
35</TABLE>
36<h2>Return Values</h2>
37
38<p>None.</p>
39<H2>Description</H2>
40<P>This function returns the color of the light from a light object.&nbsp;Use <a href="GXInitLightColor.html"><code>GXInitLightColor</code></a> to set the light color.</P>
41
42<h2>See Also</h2>
43
44<p><code><a href="GXInitLightColor.html">GXInitLightColor</a></code></p>
45<H2>Revision History</H2>
46<P>03/01/2006 Initial version.</P></body>
47</html>