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>ForeachRootNodes</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/SceneHelper/Overview.html">SceneHelper</a>::ForeachRootNodes</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14template &lt;typename TIterator, typename TFunction&gt;
15static void ForeachRootNodes(
16     TIterator begin,
17     TIterator end,
18     TFunction function
19);
20</pre>
21    </div>
22    <h2>Template Arguments</h2>
23    <div class="section">
24      <table class="arguments">
25        <thead>
26          <tr>
27            <th>Name</th>
28            <td>Description</td>
29          </tr>
30        </thead>
31        <tr>
32          <th>TIterator</th>
33          <td>Iterator for collection of scene nodes.</td>
34        </tr>
35        <tr>
36          <th><CODE>TFunction</CODE></th>
37          <td>The process run on scene nodes with NULL parent.</td>
38        </tr> </table>
39    </div>
40    <h2>Arguments</h2>
41    <div class="section">
42      <table class="arguments">
43        <thead>
44          <tr>
45            <td width="15" />
46            <th>Name</th>
47            <td>Description</td>
48          </tr>
49        </thead>
50        <tr>
51          <td />
52          <th>begin</th>
53          <td>The beginning of the scene node collection.</td>
54        </tr>
55        <tr>
56          <td />
57          <th>end</th>
58          <td>The end of the scene node collection.</td>
59        </tr>
60        <tr>
61          <td />
62          <th>function</th>
63          <td>The process run on scene nodes.</td>
64        </tr> </table>
65    </div>
66    <h2>Return Values</h2>
67    <div class="section">
68                None.
69               </div>
70    <h2>Description</h2>
71    <div class="section">
72      <p>Runs a process on those nodes with NULL parent from a collection of scene nodes.</p>
73    </div>
74  <hr><p>CONFIDENTIAL</p></body>
75</html>
76