1<html>
2<head>
3<title>Defining Light Animations</title>
4<link rel="stylesheet" href="../css/mainpage.css" type="text/css">
5<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6</head>
7
8<body>
9
10<h1>Defining Light Animations</h1>
11
12<h2>Overview</h2>
13<p>
14Light animations are described as multiple <CODE>&lt;LightAnimationData&gt;</CODE> under the <CODE>&lt;Animations&gt;</CODE> tag.   Each <CODE>&lt;LightAnimationData&gt;</CODE> contains the data for the animation of a single light. The light that is the animation target is specified  by the <CODE>Name</CODE> attribute of the <CODE>&lt;LightAnimationData&gt;</CODE> tag, and takes the form: <CODE>light name</CODE> + <CODE>.LightAnimation</CODE>.
15</p>
16
17<table>
18<tr><td>
19<pre>
20&lt;NintendoWareIntermediateFile&gt;<br>
21  &lt;GraphicsContentCtr&gt;<br>
22    &lt;Animations&gt;<br>
23      &lt;LightAnimationData&gt;<br>
24</pre>
25</td></tr>
26</table>
27
28<p>
29The animation data is expressed as a collection of animations of individual light parameters.  Each parameter animation is defined individually in the form of <CODE>target parameter path </CODE>+ <CODE>animation data</CODE> below the <CODE>&lt;MemberAnimationData&gt;</CODE> tag.  A collection of individual parameter animations exist together in the form of a <CODE>&lt;MemberAnimationDataSet&gt;</CODE>. If multiple parameters are being animated for a single light, then multiple <CODE>&lt;MemberAnimationData&gt;</CODE> tags are defined below the <CODE>&lt;MemberAnimationDataSet&gt;</CODE> tag.
30</p>
31
32<table>
33<tr><td>
34<pre>
35&lt;NintendoWareIntermediateFile&gt;<br>
36  &lt;GraphicsContentCtr&gt;<br>
37    &lt;Animations&gt;<br>
38      &lt;LightAnimationData&gt;<br>
39        &lt;MemberAnimationDataSet&gt;<br>
40          &lt;MemberAnimationData&gt;<br>
41</pre>
42</td></tr>
43</table>
44
45<p>
46In the example below, animation data are configured for the <CODE>&lt;Diffuse&gt;</CODE> tag of the camera named <I>PointLight</I>.
47</p>
48
49<table>
50<tr><td>
51<pre>
52&lt;NintendoWareIntermediateFile&gt;<br>
53  &lt;GraphicsContentCtr&gt;<br>
54    &lt;Animations&gt;<br>
55      &lt;LightAnimationData Name=&quot;PointLight.LightAnimation&quot;&gt;<br>
56        &lt;MemberAnimationDataSet&gt;<br>
57          &lt;MemberAnimationData&gt;<br>
58            &lt;Path&gt;Diffuse&lt;/Path&gt;<br>
59              &lt;RgbaColorAnimation&gt;<br>
60                  ...
61</pre>
62</td></tr>
63</table>
64
65<hr><p>CONFIDENTIAL</p></body>
66</html>
67