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::lyt::res::Picture</title>
51  </head>
52  <body>
53    <h1>nw::lyt::res::Picture Structure</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">struct Picture : public <a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a>
57{
58   <a href="../../../../nw/lyt/res/Color/Overview.html">Color</a> vtxCols[VERTEXCOLOR_MAX];
59   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> materialIdx;
60   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> texCoordNum;
61   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> padding[1];
62   <a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a> blockHeader;
63   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> flag;
64   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> basePosition;
65   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> alpha;
66   char name[ResourceNameStrMax];
67   char userData[UserDataStrMax];
68   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> translate;
69   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> rotate;
70   <a href="../../../../nw/lyt/res/Vec2/Overview.html">Vec2</a> scale;
71   <a href="../../../../nw/lyt/Size/Overview.html">Size</a>            size;
72};
73</pre>
74    </div>
75    <h2>Description</h2>
76    <div class="section">
77      <p>Data block for defining a picture pane.</p><p><a href="../../../../nw/lyt/res/DATABLOCKKIND_PICTURE.html">res::DATABLOCKKIND_PICTURE</a> is specified for <CODE>kind</CODE> in <CODE>blockHeader</CODE>. </p><p>The following data structure follows this structure.</p><p>・ <a href="../../../../nw/lyt/res/Vec2/Overview.html">res::Vec2</a> texCoords[texCoordNum][VERTEX_MAX];</p></div>
78    <a name="variable" id="variable">
79      <h2>Member Variables</h2>
80      <div class="section">
81        <table class="members">
82          <tr>
83            <td width="100"> </td>
84            <th>
85              <span class="argument">vtxCols</span>
86            </th>
87            <td>Vertex color.</td>
88          </tr>
89          <tr>
90            <td width="100"> </td>
91            <th>
92              <span class="argument">materialIdx</span>
93            </th>
94            <td>Material index.</td>
95          </tr>
96          <tr>
97            <td width="100"> </td>
98            <th>
99              <span class="argument">texCoordNum</span>
100            </th>
101            <td>The number of texture coordinates.</td>
102          </tr>
103          <tr>
104            <td width="100"> </td>
105            <th>
106              <span class="argument">padding</span>
107            </th>
108            <td>(Not used.)</td>
109          </tr>
110          <tr>
111            <td width="100"> </td>
112            <th>
113              <span class="argument">blockHeader</span>
114            </th>
115            <td>Header.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
116          </tr>
117          <tr>
118            <td width="100"> </td>
119            <th>
120              <span class="argument">flag</span>
121            </th>
122            <td>A flag. (<a href="../../../../nw/lyt/PaneFlag.html">lyt::PaneFlag</a>)(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
123          </tr>
124          <tr>
125            <td width="100"> </td>
126            <th>
127              <span class="argument">basePosition</span>
128            </th>
129            <td>Base position. (<a href="../../../../nw/lyt/HorizontalPosition.html">lyt::HorizontalPosition</a> * HORIZONTALPOSITION_MAX + <a href="../../../../nw/lyt/VerticalPosition.html">lyt::VerticalPosition</a>)。(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
130          </tr>
131          <tr>
132            <td width="100"> </td>
133            <th>
134              <span class="argument">alpha</span>
135            </th>
136            <td>Alpha value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
137          </tr>
138          <tr>
139            <td width="100"> </td>
140            <th>
141              <span class="argument">name</span>
142            </th>
143            <td>Pane name.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
144          </tr>
145          <tr>
146            <td width="100"> </td>
147            <th>
148              <span class="argument">userData</span>
149            </th>
150            <td>User data.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
151          </tr>
152          <tr>
153            <td width="100"> </td>
154            <th>
155              <span class="argument">translate</span>
156            </th>
157            <td>Translation value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
158          </tr>
159          <tr>
160            <td width="100"> </td>
161            <th>
162              <span class="argument">rotate</span>
163            </th>
164            <td>Rotation value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
165          </tr>
166          <tr>
167            <td width="100"> </td>
168            <th>
169              <span class="argument">scale</span>
170            </th>
171            <td>The scale value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
172          </tr>
173          <tr>
174            <td width="100"> </td>
175            <th>
176              <span class="argument"><CODE>size</CODE></span>
177            </th>
178            <td>Size.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
179          </tr> </table>
180      </div>
181    </a>
182    <h2>Inheritance Hierarchy</h2>
183    <div class="section">
184      <p class="hierarchy"><a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a><br />  <b>nw::lyt::res::Picture</b>
185      </p>
186    </div>
187    <h2>See Also</h2>
188    <div class="section">
189      <p class="reference"><a href="../../../../nw/lyt/res/Lyt/Overview.html">Lyt</a><br /><a href="../../../../nw/lyt/res/PaneBegin/Overview.html">PaneBegin</a><br /> </p>
190    </div>
191    <h2>Revision History</h2>
192    <div class="section">
193      <dl class="history">
194        <dt>2010/01/26</dt>
195        <dd>Initial version.<br />
196        </dd>
197      </dl>
198    </div>
199  <hr><p>CONFIDENTIAL</p></body>
200</html>