1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3	<head>
4		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5		<meta http-equiv="Content-Style-Type" content="text/css" />
6		<title>AngleSampler</title>
7		<link rel="stylesheet" href="../css/mainpage.css" type="text/css" />
8	</head>
9	<body>
10		<h1>&lt;AngleSampler&gt;</h1>
11		<h2>Description</h2>
12		<p>
13            Tag representing the attenuation of the spotlight cone. Includes <CODE>&lt;LookupTableSetContentReferenceCtr&gt;</CODE> representing the reference to the lookup table in the child hierarchy.
14            </p>
15		<h2>Attributes</h2>
16		<table class="arguments">
17<thead><tr><td>Type</td><td>Attributes</td><td>Description</td></tr></thead><tr><td>LightingLookupTableInput</td><th>Input</th><td>
18            Input value for accessing lookup table.
19            </td></tr><tr><td /><th>IsAbs</th><td>
20            Flag for making an absolute value of the input value for accessing lookup table.
21            </td></tr><tr><td>LightingLookupTableScale</td><th>Scale</th><td>
22            Scale value by which to multiply the value output from the lookup table.
23            </td></tr></table>
24		<h2><CODE>LightingLookupTableInput</CODE> Enumerated Type</h2>
25		<table class="arguments">
26<thead><tr><td>Value</td><td>Description</td></tr></thead><tr><th>CosNormalHalf</th><td>The cosine of the angle formed from the normal and the half vector.</td></tr><tr><th>CosViewHalf</th><td>The cosine value of the angle formed from the normal vector and the half vector.</td></tr><tr><th>CosNormalView</th><td>The cosine value of the angle formed from the normal and the view vector.</td></tr><tr><th>CosLightNormal</th><td>The cosine value of the angle formed from the light vector and the normal.</td></tr><tr><th>CosLightSpot</th><td>The cosine value of the angle formed from the light vector and the spot direction vector.</td></tr><tr><th>CosPhi</th><td>The cosine value of the angle formed from the half vector's tangent projection vector and the tangent vector.</td></tr></table>
27		<h2><CODE>LightingLookupTableScale</CODE> Enumerated Type</h2>
28		<table class="arguments">
29<thead><tr><td>Value</td><td>Description</td></tr></thead><tr><th>Quarter</th><td>0.25x scale.</td></tr><tr><th>Half</th><td>0.5x scale.</td></tr><tr><th>One</th><td>1x scale.</td></tr><tr><th>Two</th><td>2x scale.</td></tr><tr><th>Four</th><td>4x scale.</td></tr><tr><th>Eight</th><td>8x scale.</td></tr></table>
30
31<h2>Example Output</h2>
32
33<table>
34<tr>
35<td><pre>
36<strong>&lt;AngleSampler IsAbs=&quot;true&quot; Input=&quot;CosLightSpot&quot; Scale=&quot;One&quot;&gt;</strong><br>
37  &lt;ReferenceLookupTableCtr TableName=&quot;Spot&quot;&gt;<br>
38    &lt;LookupTableSetContentReferenceCtr&gt;LookupTableSetContents[&quot;*&quot;]&lt;/LookupTableSetContentReferenceCtr&gt;<br>
39  &lt;/ReferenceLookupTableCtr&gt;<br>
40<strong>&lt;/AngleSampler&gt;</strong><br>
41</pre></td>
42</tr></table>
43
44	<hr><p>CONFIDENTIAL</p></body>
45</html>