1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]> 2<html xml:lang="en-US" lang="en-US"> 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 <link rel="stylesheet" href="../../../css/document.css" type="text/css" /> 7 <title>Graphix Library (gfx) Sample Demos</title> 8 </head> 9 <body> 10 <h1>AnimationChangeDemo</h1> 11 12 <div class="section"><img src="images/AnimationChangeDemo1.png" border="0" width="400" height="240" /> <img src="images/AnimationChangeDemo2.png" border="0" width="400" height="240" /></div> 13 14 <h2>Overview</h2> 15 <p> 16 This demo switches animations without recreating an animation evaluation class. 17 </p> 18 19 <h2>How to Use</h2> 20 <p> 21 <ul> 22 <li>Demo-specific operations</li> 23 <ul> 24 <li>+Control pad Right ... Switch animations</li> 25 <li>L Button ... Switch to empty animation</li> 26 <li>R Button ... Restores the specified animation target member to its state at time of creation</li> 27 </ul> 28 <li>Common Operations</li> 29 <ul> 30 <li>Slide pad: Rotate the camera</li> 31 <li>Slide pad + A Button: Move the camera back and forth</li> 32 <li>Slide pad + B Button: Move the camera in parallel</li> 33 <li>Slide pad + Y Button: Move the camera up and down</li> 34 <li>X Button: Reset the camera position</li> 35 <li>START Button: Restart the demo.</li> 36 </ul> 37 </ul> 38 </p> 39 40 <h2>Description</h2> 41 <p> 42 Using <a href="../../../nw/gfx/BaseAnimEvaluator/ChangeAnim.html">ChangeAnim</a> to switch animation data is faster than destroying and creating animation evaluation classes to switch animations. 43 </p> 44 <p> 45 The value of <a href="../../../nw/gfx/AnimEvaluator/Builder/MaxAnimMembers.html">MaxAnimMembers</a> must be set correctly when creating an animation evaluation class to switch animations using ChangeAnim. The maximum number of members among all animations being switched must be set. This demo gets the number of members from all animation data and sets the largest value found. 46 </p> 47 48 <hr><p>CONFIDENTIAL</p></body> 49</html> 50 51