classvtmaterialdescriptor.html
来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 233 行 · 第 1/2 页
HTML
233 行
<td class="md" nowrap>const vtMaterialColorEnum </td> <td class="mdname" nowrap> <em>Colorable</em> = <code>VT_MATERIAL_SELFCOLOURED_TEXTURE</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const float </td> <td class="mdname" nowrap> <em>fUVScaleX</em> = <code>-1</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const float </td> <td class="mdname" nowrap> <em>fUVScaleY</em> = <code>-1</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const bool </td> <td class="mdname" nowrap> <em>bTwoSided</em> = <code>false</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const bool </td> <td class="mdname" nowrap> <em>bAmbient</em> = <code>false</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const bool </td> <td class="mdname" nowrap> <em>bBlending</em> = <code>false</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="classRGBi.html">RGBi</a> & </td> <td class="mdname" nowrap> <em>Color</em> = <code><a class="el" href="classRGBi.html">RGBi</a>(0,0,0)</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Create a high-level description of a material.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>Name</em> </td><td>Name of the new material. </td></tr> <tr><td valign="top"></td><td valign="top"><em>SourceName</em> </td><td>Filename of the source imagery, for a textured material, or "" otherwise. </td></tr> <tr><td valign="top"></td><td valign="top"><em>Colorable</em> </td><td>Enumeration, one of:<ul><li>VT_MATERIAL_COLOUR A plain surface of a single color.</li><li>VT_MATERIAL_COLOURABLE A plain surface that can be any color.</li><li>VT_MATERIAL_SELFCOLOURED_TEXTURE A textured surface.</li><li>VT_MATERIAL_COLOURABLE_TEXTURE A textured surface which can be made any color. </li></ul></td></tr> <tr><td valign="top"></td><td valign="top"><em>fUVScaleX,fUVScaleY</em> </td><td>For textured materials, this is the size of the provided texture, in meters. For example, if the texture is of a row of bricks that is 50x50 cm, then the scale factors are (.5, .5). If a texture should not be tiled (for example, a door or window which always exactly fits its surface) then scale factor is -1. </td></tr> <tr><td valign="top"></td><td valign="top"><em>bTwoSided</em> </td><td>True for surfaces which should be visible from both sides. </td></tr> <tr><td valign="top"></td><td valign="top"><em>bAmbient</em> </td><td>True for surfaces which are only affected by ambient light. </td></tr> <tr><td valign="top"></td><td valign="top"><em>bBlending</em> </td><td>True for textures with transparency. </td></tr> <tr><td valign="top"></td><td valign="top"><em>Color</em> </td><td>For VT_MATERIAL_COLOUR only, the single color. </td></tr> </table></dl> </td> </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="7abdf3f83b938bd99ecccd22d9f79a67"></a><!-- doxytag: member="vtMaterialDescriptor::SetMatType" ref="7abdf3f83b938bd99ecccd22d9f79a67" args="(int type)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void vtMaterialDescriptor::SetMatType </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>type</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>One of:<ul><li>0: A surface material, such as brick, siding, or stucco.</li><li>1: An element of a strcture edge, such as a door or window.</li><li>2: Reserved for "Window Wall", an efficiency optimization material which contains both a window and a wall.</li><li>3: A post material, for linear structures, such as a fencepost. </li></ul></td></tr> </table></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:40:55 2008 for vtdata library by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?