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    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nw::gfx::res::ResMesh</title>
51  </head>
52  <body>
53    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/res/Overview.html">res</a>::ResMesh</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class ResMesh : public <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html">nw::gfx::res::ResSceneObject</a></pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>Binary resource class that represents meshes.</p>
61    </div>
62    <a name="enum" id="enum">
63      <h2>Enumerated Types</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67            <td width="100"> </td>
68            <th>
69              <a href="../../../../nw/gfx/res/ResMesh/Flag.html">Flag</a>
70            </th>
71            <td>
72        </td>
73          </tr> </table>
74      </div>
75    </a> <a name="function" id="function">
76      <h2>Member Functions</h2>
77      <div class="section">
78        <table class="members">
79          <tr>
80            <td width="100">  </td>
81            <th>
82              <a href="../../../../nw/gfx/res/ResMesh/ResMesh.html">ResMesh</a>
83            </th>
84            <td>Constructor.</td>
85          </tr>
86          <tr>
87            <td width="100">  </td>
88            <th>
89              <a href="../../../../nw/gfx/res/ResMesh/ptr.html">ptr</a>
90            </th>
91            <td>Gets a pointer to actual data.</td>
92          </tr>
93          <tr>
94            <td width="100">  </td>
95            <th>
96              <a href="../../../../nw/gfx/res/ResMesh/ref.html"><CODE>ref</CODE></a>
97            </th>
98            <td>Gets the reference to the actual data.</td>
99          </tr>
100          <tr>
101            <td width="100">  </td>
102            <th>
103              <a href="../../../../nw/gfx/res/ResMesh/operator==.html"><CODE>operator ==</CODE></a>
104            </th>
105            <td>
106        </td>
107          </tr>
108          <tr>
109            <td width="100">  </td>
110            <th>
111              <a href="../../../../nw/gfx/res/ResMesh/operator!=.html"><CODE>operator!=</CODE></a>
112            </th>
113            <td>
114        </td>
115          </tr>
116          <tr>
117            <td width="100">  </td>
118            <th>
119              <a href="../../../../nw/gfx/res/ResMesh/GetShapeIndex.html">GetShapeIndex</a>
120            </th>
121            <td>Gets the index of the shape to use.</td>
122          </tr>
123          <tr>
124            <td width="100">  </td>
125            <th>
126              <a href="../../../../nw/gfx/res/ResMesh/SetShapeIndex.html">SetShapeIndex</a>
127            </th>
128            <td>Sets the index of the shape to use.</td>
129          </tr>
130          <tr>
131            <td width="100">  </td>
132            <th>
133              <a href="../../../../nw/gfx/res/ResMesh/GetMaterialIndex.html">GetMaterialIndex</a>
134            </th>
135            <td>Gets the index of the material to use.</td>
136          </tr>
137          <tr>
138            <td width="100">  </td>
139            <th>
140              <a href="../../../../nw/gfx/res/ResMesh/SetMaterialIndex.html">SetMaterialIndex</a>
141            </th>
142            <td>Sets the index of the fog to use.</td>
143          </tr>
144          <tr>
145            <td width="100">  </td>
146            <th>
147              <a href="../../../../nw/gfx/res/ResMesh/GetOwnerModel.html"><CODE>GetOwnerModel</CODE></a>
148            </th>
149            <td>Gets the parent model.</td>
150          </tr>
151          <tr>
152            <td width="100">  </td>
153            <th>
154              <a href="../../../../nw/gfx/res/ResMesh/IsVisible.html"><CODE>IsVisible</CODE></a>
155            </th>
156            <td>Gets the visibility flag.</td>
157          </tr>
158          <tr>
159            <td width="100">  </td>
160            <th>
161              <a href="../../../../nw/gfx/res/ResMesh/SetVisible.html"><CODE>SetVisible</CODE></a>
162            </th>
163            <td>Sets the visibility flag.</td>
164          </tr>
165          <tr>
166            <td width="100">  </td>
167            <th>
168              <a href="../../../../nw/gfx/res/ResMesh/GetRenderPriority.html">GetRenderPriority</a>
169            </th>
170            <td>Gets the render priority.</td>
171          </tr>
172          <tr>
173            <td width="100">  </td>
174            <th>
175              <a href="../../../../nw/gfx/res/ResMesh/SetRenderPriority.html">SetRenderPriority</a>
176            </th>
177            <td>Sets the render priority.</td>
178          </tr>
179          <tr>
180            <td width="100">  </td>
181            <th>
182              <a href="../../../../nw/gfx/res/ResMesh/GetCurrentPrimitiveIndex.html">GetCurrentPrimitiveIndex</a>
183            </th>
184            <td>Gets the index number of the currently active primitive.</td>
185          </tr>
186          <tr>
187            <td width="100">  </td>
188            <th>
189              <a href="../../../../nw/gfx/res/ResMesh/SetCurrentPrimitiveIndex.html">SetCurrentPrimitiveIndex</a>
190            </th>
191            <td>Sets the index number of the currently active primitive.</td>
192          </tr>
193          <tr>
194            <td width="100">  </td>
195            <th>
196              <a href="../../../../nw/gfx/res/ResMesh/GetFlags.html"><CODE>GetFlags</CODE></a>
197            </th>
198            <td>Gets the flag value.</td>
199          </tr>
200          <tr>
201            <td width="100">  </td>
202            <th>
203              <a href="../../../../nw/gfx/res/ResMesh/SetFlags.html"><CODE>SetFlags</CODE></a>
204            </th>
205            <td>Sets flag value. Unset flags are disabled.</td>
206          </tr>
207          <tr>
208            <td width="100">  </td>
209            <th>
210              <a href="../../../../nw/gfx/res/ResMesh/EnableFlags.html"><CODE>EnableFlags</CODE></a>
211            </th>
212            <td>Enables the flag value that has been set. Unset flags are not changed.</td>
213          </tr>
214          <tr>
215            <td width="100">  </td>
216            <th>
217              <a href="../../../../nw/gfx/res/ResMesh/DisableFlags.html"><CODE>DisableFlags</CODE></a>
218            </th>
219            <td>Disables the flag value that has been set. Unset flags are not changed.</td>
220          </tr>
221          <tr>
222            <td width="100">  </td>
223            <th>
224              <a href="../../../../nw/gfx/res/ResMesh/GetMeshNodeVisibilityIndex.html">GetMeshNodeVisibilityIndex</a>
225            </th>
226            <td>
227        </td>
228          </tr>
229          <tr>
230            <td width="100">  </td>
231            <th>
232              <a href="../../../../nw/gfx/res/ResMesh/SetMeshNodeVisibilityIndex.html">SetMeshNodeVisibilityIndex</a>
233            </th>
234            <td>
235        </td>
236          </tr>
237          <tr>
238            <td width="100">  </td>
239            <th>
240              <a href="../../../../nw/gfx/res/ResMesh/GetRenderKeyCache.html">GetRenderKeyCache</a>
241            </th>
242            <td>Gets the cached render key value.</td>
243          </tr>
244          <tr>
245            <td width="100">  </td>
246            <th>
247              <a href="../../../../nw/gfx/res/ResMesh/SetRenderKeyCache.html">SetRenderKeyCache</a>
248            </th>
249            <td>Saves the render key value in the cache.</td>
250          </tr>
251          <tr>
252            <td width="100">  </td>
253            <th>
254              <a href="../../../../nw/gfx/res/ResMesh/Setup.html">Setup</a>
255            </th>
256            <td>Sets up a resource.</td>
257          </tr>
258          <tr>
259            <td width="100">  </td>
260            <th>
261              <a href="../../../../nw/gfx/res/ResMesh/Cleanup.html"><CODE>Cleanup</CODE></a>
262            </th>
263            <td>Cleans up a resource.</td>
264          </tr>
265          <tr>
266            <td width="100">  </td>
267            <th>
268              <a href="../../../../nw/gfx/res/ResSceneObject/GetHeader.html"><CODE>GetHeader</CODE></a>
269            </th>
270            <td>Gets the header information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
271          </tr>
272          <tr>
273            <td width="100">  </td>
274            <th>
275              <a href="../../../../nw/gfx/res/ResSceneObject/SetHeader.html">SetHeader</a>
276            </th>
277            <td>Sets the header information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
278          </tr>
279          <tr>
280            <td width="100">  </td>
281            <th>
282              <a href="../../../../nw/gfx/res/ResSceneObject/GetName.html"><CODE>GetName</CODE></a>
283            </th>
284            <td>Gets the name of the resource.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
285          </tr>
286          <tr>
287            <td width="100">  </td>
288            <th>
289              <a href="../../../../nw/gfx/res/ResSceneObject/GetUserDataCount.html"><CODE>GetUserDataCount</CODE></a>
290            </th>
291            <td>Gets the number of instances of user data.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
292          </tr>
293          <tr>
294            <td width="100">  </td>
295            <th>
296              <a href="../../../../nw/gfx/res/ResSceneObject/GetUserData.html"><CODE>GetUserData</CODE></a>
297            </th>
298            <td>Gets user data.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
299          </tr>
300          <tr>
301            <td width="100">  </td>
302            <th>
303              <a href="../../../../nw/gfx/res/ResSceneObject/GetUserDataIndex.html"><CODE>GetUserDataIndex</CODE></a>
304            </th>
305            <td>Gets the index number of user data in the dictionary.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
306          </tr>
307          <tr>
308            <td width="100">  </td>
309            <th>
310              <a href="../../../../nw/gfx/res/ResSceneObject/GetTypeInfo.html"><CODE>GetTypeInfo</CODE></a>
311            </th>
312            <td>Gets instance type information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
313          </tr>
314          <tr>
315            <td width="100">  </td>
316            <th>
317              <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a>
318            </th>
319            <td>Determines whether a pointer to a resource is <CODE>null</CODE>.(Derived from <CODE><a href="../../../../nw/ut/ResCommonBase/Overview.html">ResCommonBase</a></CODE>.)</td>
320          </tr>
321          <tr>
322            <td width="100">
323              <span class="static_style" title="static">S</span> </td>
324            <th>
325              <a href="../../../../nw/gfx/res/ResMesh/GetClassName.html"><CODE>GetClassName</CODE></a>
326            </th>
327            <td>
328        </td>
329          </tr> </table>
330      </div>
331    </a>
332    <h2>Class Hierarchy</h2>
333    <div class="section">
334      <p class="hierarchy"><a href="../../../../nw/ut/ResCommonBase/Overview.html">nw::ut::ResCommonBase</a><br />  <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon</a><br />    <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html">nw::gfx::res::ResSceneObject</a><br />      <b>nw::gfx::res::ResMesh</b>
335      </p>
336    </div>
337  <hr><p>CONFIDENTIAL</p></body>
338</html>