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>Update</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../nw/gfx/BillboardUpdater/Overview.html">BillboardUpdater</a>::Update</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14void Update(
15     math::MTX34 * worldMatrix,
16     const math::MTX34 & viewMatrix,
17     const math::MTX34 & inverseViewMatrix,
18     const math::VEC3 & cameraPosition,
19     const <a href="../../../nw/gfx/CalculatedTransform/Overview.html">CalculatedTransform</a> & worldTransform,
20     const <a href="../../../nw/gfx/CalculatedTransform/Overview.html">CalculatedTransform</a> & localTransform,
21     ResBone::BillboardMode billboardMode
22) const;
23</pre>
24    </div>
25    <h2>Arguments</h2>
26    <div class="section">
27      <table class="arguments">
28        <thead>
29          <tr>
30            <td width="15" />
31            <th>Name</th>
32            <td>Description</td>
33          </tr>
34        </thead>
35        <tr>
36          <td>out</td>
37          <th><CODE>worldMatrix</CODE></th>
38          <td>World matrix to update.</td>
39        </tr>
40        <tr>
41          <td>in</td>
42          <th><CODE>viewMatrix</CODE></th>
43          <td>View matrix.</td>
44        </tr>
45        <tr>
46          <td>in</td>
47          <th><CODE>inverseViewMatrix</CODE></th>
48          <td>Inverse matrix of the view matrix.</td>
49        </tr>
50        <tr>
51          <td>in</td>
52          <th><CODE>cameraPosition</CODE></th>
53          <td>Camera coordinates.</td>
54        </tr>
55        <tr>
56          <td>in</td>
57          <th><CODE>worldTransform</CODE></th>
58          <td>World transform of the bone.</td>
59        </tr>
60        <tr>
61          <td>in</td>
62          <th><CODE>localTransform</CODE></th>
63          <td>Local transform of the bone.</td>
64        </tr>
65        <tr>
66          <td>in</td>
67          <th><CODE>billboardMode</CODE></th>
68          <td>Type of billboard to adjust.</td>
69        </tr> </table>
70    </div>
71    <h2>Return Values</h2>
72    <div class="section">
73                None.
74               </div>
75    <h2>Description</h2>
76    <div class="section">
77      <p>Performs billboarding calculations and updates the world matrix.</p>
78    </div>
79  <hr><p>CONFIDENTIAL</p></body>
80</html>
81