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>GXGetLightPos</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetLightPos</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXGetLightPos(
21    const <A href="../Structures/GXLightObj.html">GXLightObj</A>*   lt_obj,
22    f32*                x,
23    f32*                y,
24    f32*                z );
25</pre></dd></dl>
26
27<h2>Arguments</h2>
28<TABLE class="arguments" border="1" >
29  <tr>
30<TH>lt_obj</TH>
31<TD>Pointer to a light object.</TD>
32  </tr>
33  <tr>
34<TH>x</TH>
35<TD>X-coordinate of the position.</TD>
36  </tr>
37  <tr>
38<TH>y</TH>
39<TD>Y-coordinate of the position.</TD>
40  </tr>
41  <tr>
42<TH>z</TH>
43<TD>Z-coordinate of the position.</TD>
44  </tr>
45</TABLE>
46
47<h2>Return Values</h2>
48<p>None.</p>
49
50<H2>Description</H2>
51<P>This function returns the position of the light from a light object.&nbsp;The light position may be set using the <A href="GXInitLightPos.html"><CODE>GXInitLightPos</CODE></A>, <A href="GXInitLightPosv.html"><CODE>GXInitLightPosv</CODE></A>, <A href="GXInitSpecularDir.html"><CODE>GXInitSpecularDir</CODE></A>, or <A href="GXInitSpecularDirv.html"><CODE>GXInitSpecularDirv</CODE></A> function.</P>
52
53<h2>See Also</h2>
54<p class="reference">
55<a href="GXInitLightPos.html">GXInitLightPos</a>
56</p>
57
58<H2>Revision History</H2>
59<P>
602006/03/01 Initial version.<br>
61</P>
62
63<hr><p>CONFIDENTIAL</p></body>
64</html>