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" 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    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <title>BindAnimationBlender</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/demo/Overview.html">demo</a>::<a href="../../../nw/demo/Utility/Overview.html">Utility</a>::BindAnimationBlender</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14template &lt;typename TAnimObject&gt;
15static TAnimObject * BindAnimationBlender(
16     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator,
17     <a href="../../../nw/gfx/SceneObject/Overview.html">nw::gfx::SceneObject</a> * object,
18     int maxAnimObjects,
19     <a href="../../../nw/demo/Utility/AnimationType.html">AnimationType</a> animationType
20);
21</pre>
22    </div>
23    <h2>Template Arguments</h2>
24    <div class="section">
25      <table class="arguments">
26        <thead>
27          <tr>
28            <th>Name</th>
29            <td>Description</td>
30          </tr>
31        </thead>
32        <tr>
33          <th>TAnimObject</th>
34          <td>Animation object class to generate.</td>
35        </tr> </table>
36    </div>
37    <h2>Arguments</h2>
38    <div class="section">
39      <table class="arguments">
40        <thead>
41          <tr>
42            <td width="15" />
43            <th>Name</th>
44            <td>Description</td>
45          </tr>
46        </thead>
47        <tr>
48          <td>in</td>
49          <th>allocator</th>
50          <td>Allocator to use for generation of animation objects.</td>
51        </tr>
52        <tr>
53          <td>in</td>
54          <th>object</th>
55          <td>Scene object.</td>
56        </tr>
57        <tr>
58          <td>in</td>
59          <th><CODE>maxAnimObjects</CODE></th>
60          <td>Maximum number of animation objects for blender being generated.</td>
61        </tr>
62        <tr>
63          <td>in</td>
64          <th>animationType</th>
65          <td>The animation type.</td>
66        </tr> </table>
67    </div>
68    <h2>Return Values</h2>
69    <div class="section">Returns the generated animation blender object. </div>
70    <h2>Description</h2>
71    <div class="section">
72      <p>Binds an animation blender.</p><p>Creates an animation blender and binds it to the specified scene object.</p><p>The function fails and returns <CODE>NULL</CODE> if the specified type of animation group does not exist in the scene object, or if binding has failed.</p></div>
73    <h2>See Also</h2>
74    <div class="section">
75      <p class="reference"><a href="../../../nw/demo/Utility/BindAnimation.html">BindAnimation</a><br /><a href="../../../nw/demo/Utility/BindAnimationByName.html">BindAnimationByName</a><br /> </p>
76    </div>
77  <hr><p>CONFIDENTIAL</p></body>
78</html>
79