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>RgbaColorAnimation</title>
7        <link rel="stylesheet" href="../css/mainpage.css" type="text/css" />
8    </head>
9    <body>
10        <h1>&lt;Vector2Animation&gt; &lt;FloatAnimation&gt;</h1>
11        <h2>Description</h2>
12        <p>
13            The tag for texture SRT animation.<br> <CODE>&lt;Vector2Animation&gt;</CODE> is used for translation animations and scale animations.<br> <CODE>&lt;FloatAnimation&gt;</CODE> is used for rotation animations.
14            </p>
15
16<h2>&lt;Path&gt; element</h2>
17<p>The following values are set to the Path element for texture SRT animation.</p>
18<ul>
19    <li>Materials[&quot;<I>Material name</I>&quot;].TextureCoordinators[<I>Texture coordinator number</I>].Translate (Translation animation)</li>
20    <li>Materials[&quot;<I>Material name</I>&quot;].TextureCoordinators[<I>Texture coordinator number</I>].Translate (Rotation animation)</li>
21    <li>Materials[&quot;<I>Material name</I>&quot;].TextureCoordinators[<I>Texture coordinator number</I>].Translate (Scale animation)</li>
22</ul>
23<p>The texture coordinator (<CODE><a href="../cmdl/cmdl__TextureCoordinatorCtr.html">&lt;TextureCoordinatorCtr&gt;</a></CODE>) number is set to either 0, 1, 2 or 3.</p>
24
25<h2>&lt;Segments&gt; element</h2>
26<p>
27Either <CODE>&lt;LinearFloatSegment&gt;</CODE> or <CODE>&lt;HermiteFloatSegment&gt;</CODE> is set for the child element.<br> A mixture of formats is tolerated, but  there is no track record of this with DCC exporters.
28</p>
29
30
31<h2>Example Output</h2>
32
33<table>
34<tr>
35<td><pre>
36&lt;Animations&gt;<br>
37    &lt;MaterialAnimationData Name=&quot;&quot; FrameSize=&quot;5&quot; LoopMode=&quot;OneTime&quot; IsAdditiveAnimation=&quot;false&quot;&gt;<br>
38        &lt;MemberAnimationDataSet&gt;<br>
39            <strong>&lt;MemberAnimationData&gt;<br></strong>
40                &lt;Path&gt;Materials[&quot;MaterialCtr1&quot;].TextureCoordinators[0].Translate&lt;/Path&gt;<br>
41                &lt;Vector2Animation&gt;<br>
42                    &lt;XSegmentsFloatCurve PreRepeatMethod=&quot;None&quot; PostRepeatMethod=&quot;None&quot; StartFrame=&quot;0&quot; EndFrame=&quot;120&quot;&gt;<br>
43                        &lt;Segments&gt;<br>
44                            &lt;LinearFloatSegment&gt;<br>
45                                &lt;Keys&gt;<br>
46                                    &lt;LinearFloatKey Frame=&quot;0&quot; Value=&quot;0&quot; /&gt;<br>
47                                    &lt;LinearFloatKey Frame=&quot;120&quot; Value=&quot;0.5&quot; /&gt;<br>
48                                &lt;/Keys&gt;<br>
49                            &lt;/LinearFloatSegment&gt;<br>
50                            &lt;HermiteFloatSegment&gt;<br>
51                                :<br>
52                                :<br>
53                            &lt;/HermiteFloatSegment&gt;<br>
54                        &lt;/Segments&gt;<br>
55                    &lt;/XSegmentsFloatCurve&gt;<br>
56                &lt;/Vector2Animation&gt;<br>
57            <strong>&lt;/MemberAnimationData&gt;<br></strong>
58            <strong>&lt;MemberAnimationData&gt;<br></strong>
59                &lt;Path&gt;Materials[&quot;MaterialCtr1&quot;].TextureCoordinators[0].Rotate&lt;/Path&gt;<br>
60                &lt;FloatAnimation&gt;<br>
61                    &lt;SegmentsFloatCurve PreRepeatMethod=&quot;None&quot; PostRepeatMethod=&quot;None&quot; StartFrame=&quot;0&quot; EndFrame=&quot;120&quot;&gt;<br>
62                        &lt;Segments&gt;<br>
63                            &lt;LinearFloatSegment&gt;<br>
64                                :<br>
65                                :<br>
66                            &lt;/LinearFloatSegment&gt;<br>
67                            &lt;HermiteFloatSegment&gt;<br>
68                                &lt;Keys&gt;<br>
69                                    &lt;HermiteFloatKey Frame=&quot;0&quot; Value=&quot;0.87266463&quot; InSlope=&quot;0&quot; OutSlope=&quot;0&quot; /&gt;<br>
70                                    &lt;HermiteFloatKey Frame=&quot;60&quot; Value=&quot;0.6981317&quot; InSlope=&quot;0&quot; OutSlope=&quot;0&quot; /&gt;<br>
71                                    &lt;HermiteFloatKey Frame=&quot;120&quot; Value=&quot;0.87266463&quot; InSlope=&quot;0&quot; OutSlope=&quot;0&quot; /&gt;<br>
72                                &lt;/Keys&gt;<br>
73                            &lt;/HermiteFloatSegment&gt;<br>
74                        &lt;/Segments&gt;<br>
75                    &lt;/SegmentsFloatCurve&gt;<br>
76                &lt;/FloatAnimation&gt;<br>
77            <strong>&lt;/MemberAnimationData&gt;<br></strong>
78            <strong>&lt;MemberAnimationData&gt;<br></strong>
79                &lt;Path&gt;Materials[&quot;MaterialCtr1&quot;].TextureCoordinators[0].Scale&lt;/Path&gt;<br>
80                &lt;Vector2Animation&gt;<br>
81                    &lt;XSegmentsFloatCurve PreRepeatMethod=&quot;None&quot; PostRepeatMethod=&quot;None&quot; StartFrame=&quot;0&quot; EndFrame=&quot;120&quot;&gt;<br>
82                        &lt;Segments&gt;<br>
83                            &lt;LinearFloatSegment&gt;<br>
84                                :<br>
85                                :<br>
86                            &lt;/LinearFloatSegment&gt;<br>
87                            &lt;HermiteFloatSegment&gt;<br>
88                                &lt;Keys&gt;<br>
89                                    &lt;HermiteFloatKey Frame=&quot;0&quot; Value=&quot;0.25&quot; InSlope=&quot;0&quot; OutSlope=&quot;0&quot; /&gt;<br>
90                                    &lt;HermiteFloatKey Frame=&quot;60&quot; Value=&quot;0.14&quot; InSlope=&quot;0&quot; OutSlope=&quot;0&quot; /&gt;<br>
91                                    &lt;HermiteFloatKey Frame=&quot;120&quot; Value=&quot;0.25&quot; InSlope=&quot;0&quot; OutSlope=&quot;0&quot; /&gt;<br>
92                                &lt;/Keys&gt;<br>
93                            &lt;/HermiteFloatSegment&gt;<br>
94                        &lt;/Segments&gt;<br>
95                    &lt;/XSegmentsFloatCurve&gt;<br>
96                &lt;/Vector2Animation&gt;<br>
97            <strong>&lt;/MemberAnimationData&gt;<br></strong>
98        &lt;/MemberAnimationDataSet&gt;<br>
99    &lt;/MaterialAnimationData&gt;<br>
100&lt;/Animations&gt;<br>
101</pre></td>
102</tr></table>
103
104    <hr><p>CONFIDENTIAL</p></body>
105</html>