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