1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>GXSpotFn</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GXSpotFn</H1> 12 13<H2>Enumerated Types</H2> 14<DIV align="left"> 15<TABLE border="0" width="100%"> 16 <TBODY> 17 <TR> 18 <TD width="100%"><CODE>GX_SP_OFF</CODE></TD> 19 </TR> 20 <TR> 21 <TD width="100%"><CODE>GX_SP_FLAT</CODE></TD> 22 </TR> 23 <TR> 24 <TD width="100%"><CODE>GX_SP_COS</CODE></TD> 25 </TR> 26 <TR> 27 <TD width="100%"><CODE>GX_SP_COS2</CODE></TD> 28 </TR> 29 <TR> 30 <TD width="100%"><CODE>GX_SP_SHARP</CODE></TD> 31 </TR> 32 <TR> 33 <TD width="100%"><CODE>GX_SP_RING1</CODE></TD> 34 </TR> 35 <TR> 36 <TD width="100%"><CODE>GX_SP_RING2</CODE></TD> 37 </TR> 38 </TBODY> 39</TABLE> 40</DIV> 41 42<H2>Description</H2> 43<P>Function type for the illumination distribution of the spotlight.</P> 44<TABLE class="arguments" border="1" > 45 <TBODY> 46 <TR> 47<TH>GX_SP_OFF</TH> 48<TD>No spotlight.</TD> 49 </TR> 50 <TR> 51<TH>GX_SP_FLAT</TH> 52<TD>Use flat illumination distribution function.<BR> <IMG src="../Lighting/SpotFn1.gif" border="0" width="128" height="128"></TD> 53 </TR> 54 <TR> 55<TH>GX_SP_COS</TH> 56<TD>Use cosine illumination distribution function.<BR> <IMG src="../Lighting/SpotFn2.gif" border="0" width="128" height="128"></TD> 57 </TR> 58 <TR> 59<TH>GX_SP_COS2</TH> 60<TD>Use cosine-squared illumination distribution function.<BR> <IMG src="../Lighting/SpotFn3.gif" border="0" width="128" height="128"></TD> 61 </TR> 62 <TR> 63<TH>GX_SP_SHARP</TH> 64<TD>Use somewhat sharp-shaped illumination distribution function.<BR> <IMG src="../Lighting/SpotFn4.gif" border="0" width="128" height="128"></TD> 65 </TR> 66 <TR> 67<TH>GX_SP_RING1</TH> 68<TD>Use ring-shaped illumination distribution function.<BR> <IMG src="../Lighting/SpotFn5.gif" border="0" width="128" height="128"></TD> 69 </TR> 70 <TR> 71<TH>GX_SP_RING2</TH> 72<TD>Use ring-shaped illumination distribution function with different cutoff values.<BR> <IMG src="../Lighting/SpotFn6.gif" border="0" width="128" height="128"></TD> 73 </TR> 74 </TBODY> 75</TABLE> 76 77<H2>Functions Using This Type</H2> 78<P class="reference"> 79<A href="../Lighting/GXInitLightSpot.html">GXInitLightSpot</A> 80</P> 81 82<H2>Revision History</H2> 83<P> 842006/03/01 Initial version.<br> 85</P> 86 87<hr><p>CONFIDENTIAL</p></body> 88</HTML>