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 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nw::gfx::res::ResMaterialColor</title> 49 </head> 50 <body> 51 <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>::ResMaterialColor</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class ResMaterialColor : public <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon< ResMaterialColorData ></a></pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Binary resource class that represents materials.</p> 59 </div> 60 <a name="function" id="function"> 61 <h2>Member Functions</h2> 62 <div class="section"> 63 <table class="members"> 64 <tr> 65 <th class="category" colspan="3">Set/Get</th> 66 </tr> 67 <tr> 68 <td width="100"> </td> 69 <th> 70 <a href="../../../../nw/gfx/res/ResMaterialColor/GetAmbient.html">GetAmbient</a> 71 </th> 72 <td>Gets the ambient color.</td> 73 </tr> 74 <tr> 75 <td width="100"> </td> 76 <th> 77 <a href="../../../../nw/gfx/res/ResMaterialColor/GetVertexColorScale.html"><CODE>GetVertexColorScale</CODE></a> 78 </th> 79 <td>Gets the scale value for vertex colors.</td> 80 </tr> 81 <tr> 82 <td width="100"> </td> 83 <th> 84 <a href="../../../../nw/gfx/res/ResMaterialColor/SetVertexColorScale.html"><CODE>SetVertexColorScale</CODE></a> 85 </th> 86 <td>Sets the scale value for vertex colors.</td> 87 </tr> 88 <tr> 89 <td width="100"> </td> 90 <th> 91 <a href="../../../../nw/gfx/res/ResMaterialColor/GetAmbientU32.html"><CODE>GetAmbientU32</CODE></a> 92 </th> 93 <td>Gets the ambient color in RGBA8 format.</td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98 <a href="../../../../nw/gfx/res/ResMaterialColor/SetAmbient.html"><CODE>SetAmbient</CODE></a> 99 </th> 100 <td>Sets the ambient color.</td> 101 </tr> 102 <tr> 103 <td width="100"> </td> 104 <th> 105 <a href="../../../../nw/gfx/res/ResMaterialColor/GetEmissionU32.html">GetEmissionU32</a> 106 </th> 107 <td>Gets the emission color in RGBA8 32-bit format.</td> 108 </tr> 109 <tr> 110 <td width="100"> </td> 111 <th> 112 <a href="../../../../nw/gfx/res/ResMaterialColor/SetEmission.html">SetEmission</a> 113 </th> 114 <td>Sets the emission color.</td> 115 </tr> 116 <tr> 117 <td width="100"> </td> 118 <th> 119 <a href="../../../../nw/gfx/res/ResMaterialColor/GetEmission.html">GetEmission</a> 120 </th> 121 <td>Gets the emission color.</td> 122 </tr> 123 <tr> 124 <td width="100"> </td> 125 <th> 126 <a href="../../../../nw/gfx/res/ResMaterialColor/GetDiffuseU32.html">GetDiffuseU32</a> 127 </th> 128 <td>Gets the diffuse color in RGBA8 32-bit format.</td> 129 </tr> 130 <tr> 131 <td width="100"> </td> 132 <th> 133 <a href="../../../../nw/gfx/res/ResMaterialColor/SetDiffuse.html">SetDiffuse</a> 134 </th> 135 <td>Sets the diffuse color.</td> 136 </tr> 137 <tr> 138 <td width="100"> </td> 139 <th> 140 <a href="../../../../nw/gfx/res/ResMaterialColor/GetDiffuse.html">GetDiffuse</a> 141 </th> 142 <td>Gets the diffuse color.</td> 143 </tr> 144 <tr> 145 <td width="100"> </td> 146 <th> 147 <a href="../../../../nw/gfx/res/ResMaterialColor/GetSpecular0U32.html">GetSpecular0U32</a> 148 </th> 149 <td>Gets specular color 0 in RGBA8 32-bit format.</td> 150 </tr> 151 <tr> 152 <td width="100"> </td> 153 <th> 154 <a href="../../../../nw/gfx/res/ResMaterialColor/SetSpecular0.html">SetSpecular0</a> 155 </th> 156 <td>Sets specular color 0.</td> 157 </tr> 158 <tr> 159 <td width="100"> </td> 160 <th> 161 <a href="../../../../nw/gfx/res/ResMaterialColor/GetSpecular0.html">GetSpecular0</a> 162 </th> 163 <td>Gets specular color 0.</td> 164 </tr> 165 <tr> 166 <td width="100"> </td> 167 <th> 168 <a href="../../../../nw/gfx/res/ResMaterialColor/GetSpecular1U32.html">GetSpecular1U32</a> 169 </th> 170 <td>Gets specular color 1 in RGBA8 32-bit format.</td> 171 </tr> 172 <tr> 173 <td width="100"> </td> 174 <th> 175 <a href="../../../../nw/gfx/res/ResMaterialColor/SetSpecular1.html">SetSpecular1</a> 176 </th> 177 <td>Sets specular color 1.</td> 178 </tr> 179 <tr> 180 <td width="100"> </td> 181 <th> 182 <a href="../../../../nw/gfx/res/ResMaterialColor/GetSpecular1.html">GetSpecular1</a> 183 </th> 184 <td>Gets specular color 1.</td> 185 </tr> 186 <tr> 187 <td width="100"> </td> 188 <th> 189 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant0U32.html">GetConstant0U32</a> 190 </th> 191 <td>Gets constant color 0 in RGBA8 32-bit format.</td> 192 </tr> 193 <tr> 194 <td width="100"> </td> 195 <th> 196 <a href="../../../../nw/gfx/res/ResMaterialColor/SetConstant0.html">SetConstant0</a> 197 </th> 198 <td>Sets constant color 0.</td> 199 </tr> 200 <tr> 201 <td width="100"> </td> 202 <th> 203 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant0.html">GetConstant0</a> 204 </th> 205 <td>Gets constant color 0.</td> 206 </tr> 207 <tr> 208 <td width="100"> </td> 209 <th> 210 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant1U32.html">GetConstant1U32</a> 211 </th> 212 <td>Gets constant color 1 in RGBA8 32-bit format.</td> 213 </tr> 214 <tr> 215 <td width="100"> </td> 216 <th> 217 <a href="../../../../nw/gfx/res/ResMaterialColor/SetConstant1.html">SetConstant1</a> 218 </th> 219 <td>Sets constant color 1.</td> 220 </tr> 221 <tr> 222 <td width="100"> </td> 223 <th> 224 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant1.html">GetConstant1</a> 225 </th> 226 <td>Gets constant color 1.</td> 227 </tr> 228 <tr> 229 <td width="100"> </td> 230 <th> 231 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant2U32.html">GetConstant2U32</a> 232 </th> 233 <td>Gets constant color 2 in RGBA8 32-bit format.</td> 234 </tr> 235 <tr> 236 <td width="100"> </td> 237 <th> 238 <a href="../../../../nw/gfx/res/ResMaterialColor/SetConstant2.html">SetConstant2</a> 239 </th> 240 <td>Sets constant color 2.</td> 241 </tr> 242 <tr> 243 <td width="100"> </td> 244 <th> 245 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant2.html">GetConstant2</a> 246 </th> 247 <td>Gets constant color 2.</td> 248 </tr> 249 <tr> 250 <td width="100"> </td> 251 <th> 252 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant3U32.html">GetConstant3U32</a> 253 </th> 254 <td>Gets constant color 3 in RGBA8 32-bit format.</td> 255 </tr> 256 <tr> 257 <td width="100"> </td> 258 <th> 259 <a href="../../../../nw/gfx/res/ResMaterialColor/SetConstant3.html">SetConstant3</a> 260 </th> 261 <td>Sets constant color 3.</td> 262 </tr> 263 <tr> 264 <td width="100"> </td> 265 <th> 266 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant3.html">GetConstant3</a> 267 </th> 268 <td>Gets constant color 3.</td> 269 </tr> 270 <tr> 271 <td width="100"> </td> 272 <th> 273 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant4U32.html">GetConstant4U32</a> 274 </th> 275 <td>Gets constant color 4 in RGBA8 32-bit format.</td> 276 </tr> 277 <tr> 278 <td width="100"> </td> 279 <th> 280 <a href="../../../../nw/gfx/res/ResMaterialColor/SetConstant4.html">SetConstant4</a> 281 </th> 282 <td>Sets constant color 4.</td> 283 </tr> 284 <tr> 285 <td width="100"> </td> 286 <th> 287 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant4.html">GetConstant4</a> 288 </th> 289 <td>Gets constant color 4.</td> 290 </tr> 291 <tr> 292 <td width="100"> </td> 293 <th> 294 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant5U32.html">GetConstant5U32</a> 295 </th> 296 <td>Gets constant color 5 in RGBA8 32-bit format.</td> 297 </tr> 298 <tr> 299 <td width="100"> </td> 300 <th> 301 <a href="../../../../nw/gfx/res/ResMaterialColor/SetConstant5.html">SetConstant5</a> 302 </th> 303 <td>Sets constant color 5.</td> 304 </tr> 305 <tr> 306 <td width="100"> </td> 307 <th> 308 <a href="../../../../nw/gfx/res/ResMaterialColor/GetConstant5.html">GetConstant5</a> 309 </th> 310 <td>Gets constant color 5.</td> 311 </tr> 312 <tr> 313 <th class="category" colspan="3">Other</th> 314 </tr> 315 <tr> 316 <td width="100"> </td> 317 <th> 318 <a href="../../../../nw/gfx/res/ResMaterialColor/ResMaterialColor.html"><CODE>ResMaterialColor</CODE></a> 319 </th> 320 <td>Constructor.</td> 321 </tr> 322 <tr> 323 <td width="100"> </td> 324 <th> 325 <a href="../../../../nw/gfx/res/ResMaterialColor/ref.html"><CODE>ref</CODE></a> 326 </th> 327 <td> 328 </td> 329 </tr> 330 <tr> 331 <td width="100"> </td> 332 <th> 333 <a href="../../../../nw/gfx/res/ResMaterialColor/operator==.html"><CODE>operator==</CODE></a> 334 </th> 335 <td> 336 </td> 337 </tr> 338 <tr> 339 <td width="100"> </td> 340 <th> 341 <a href="../../../../nw/gfx/res/ResMaterialColor/operator!=.html"><CODE>operator!=</CODE></a> 342 </th> 343 <td> 344 </td> 345 </tr> 346 <tr> 347 <td width="100"> </td> 348 <th> 349 <a href="../../../../nw/ut/ResCommon/ptr.html">ptr</a> 350 </th> 351 <td>Returns a pointer to a binary resource structure. (Derived from <CODE><a href="../../../../nw/ut/ResCommon/Overview.html">ResCommon</a></CODE>)</td> 352 </tr> 353 <tr> 354 <td width="100"> </td> 355 <th> 356 <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a> 357 </th> 358 <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> 359 </tr> 360 <tr> 361 <td width="100"> 362 <span class="static_style" title="static">S</span> </td> 363 <th> 364 <a href="../../../../nw/gfx/res/ResMaterialColor/GetClassName.html"><CODE>GetClassName</CODE></a> 365 </th> 366 <td> 367 </td> 368 </tr> </table> 369 </div> 370 </a> 371 <h2>Class Hierarchy</h2> 372 <div class="section"> 373 <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 /> <b>nw::gfx::res::ResMaterialColor</b> 374 </p> 375 </div> 376 <hr><p>CONFIDENTIAL</p></body> 377</html> 378