diff options
Diffstat (limited to 'libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_geometry_creator.html')
-rw-r--r-- | libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_geometry_creator.html | 702 |
1 files changed, 0 insertions, 702 deletions
diff --git a/libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_geometry_creator.html b/libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_geometry_creator.html deleted file mode 100644 index 2f7dc3a..0000000 --- a/libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_geometry_creator.html +++ /dev/null | |||
@@ -1,702 +0,0 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
5 | <title>Irrlicht 3D Engine: irr::scene::IGeometryCreator Class Reference</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('classirr_1_1scene_1_1_i_geometry_creator.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="summary"> | ||
88 | <a href="#pub-methods">Public Member Functions</a> </div> | ||
89 | <div class="headertitle"> | ||
90 | <div class="title">irr::scene::IGeometryCreator Class Reference</div> </div> | ||
91 | </div> | ||
92 | <div class="contents"> | ||
93 | <!-- doxytag: class="irr::scene::IGeometryCreator" --><!-- doxytag: inherits="irr::IReferenceCounted" --> | ||
94 | <p>Helper class for creating geometry on the fly. | ||
95 | <a href="classirr_1_1scene_1_1_i_geometry_creator.html#details">More...</a></p> | ||
96 | |||
97 | <p><code>#include <<a class="el" href="_i_geometry_creator_8h_source.html">IGeometryCreator.h</a>></code></p> | ||
98 | <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | ||
99 | <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::scene::IGeometryCreator:</div> | ||
100 | <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | ||
101 | </div> | ||
102 | <div id="dynsection-0-content" class="dyncontent" style="display:none;"> | ||
103 | <div class="center"> | ||
104 | <img src="classirr_1_1scene_1_1_i_geometry_creator.png" usemap="#irr::scene::IGeometryCreator_map" alt=""/> | ||
105 | <map id="irr::scene::IGeometryCreator_map" name="irr::scene::IGeometryCreator_map"> | ||
106 | <area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="0,0,171,24"/> | ||
107 | </map> | ||
108 | </div></div> | ||
109 | |||
110 | <p><a href="classirr_1_1scene_1_1_i_geometry_creator-members.html">List of all members.</a></p> | ||
111 | <h2><a name="pub-methods"></a> | ||
112 | Public Member Functions</h2> | ||
113 | <ul> | ||
114 | <li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#aba5b1b9a614c211eeb7a9f88d8e3ec50">createArrowMesh</a> (const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> tesselationCylinder=4, const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> tesselationCone=8, const <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> height=1.f, const <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> cylinderHeight=0.6f, const f32 widthCylinder=0.05f, const f32 widthCone=0.3f, const video::SColor colorCylinder=0xFFFFFFFF, const video::SColor colorCone=0xFFFFFFFF) const =0 | ||
115 | <dl class="el"><dd class="mdescRight">Create an arrow mesh, composed of a cylinder and a cone. <a href="#aba5b1b9a614c211eeb7a9f88d8e3ec50"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#af532c8fb5558cf274181eb81220db85b">createConeMesh</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> length, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> tesselation, const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> &colorTop=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0xffffffff), const video::SColor &colorBottom=video::SColor(0xffffffff), f32 oblique=0.f) const =0 | ||
116 | <dl class="el"><dd class="mdescRight">Create a cone mesh. <a href="#af532c8fb5558cf274181eb81220db85b"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#a43a1310362ad8e682c21375b2b9de39b">createCubeMesh</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &size=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(5.f, 5.f, 5.f)) const =0 | ||
117 | <dl class="el"><dd class="mdescRight">Creates a simple cube mesh. <a href="#a43a1310362ad8e682c21375b2b9de39b"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#a87143de278ac305bc37dc905e800f5f8">createCylinderMesh</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> length, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> tesselation, const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> &color=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0xffffffff), bool closeTop=true, f32 oblique=0.f) const =0 | ||
118 | <dl class="el"><dd class="mdescRight">Create a cylinder mesh. <a href="#a87143de278ac305bc37dc905e800f5f8"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#a85cb5d4271a1ef4ba1706b15f70ae391">createHillPlaneMesh</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > &tileSize, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> > &tileCount, <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> *material, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> hillHeight, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > &countHills, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > &textureRepeatCount) const =0 | ||
119 | <dl class="el"><dd class="mdescRight">Create a pseudo-random mesh representing a hilly terrain. <a href="#a85cb5d4271a1ef4ba1706b15f70ae391"></a><br/></dl><li><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#a74015f4a06e078e964ccd2a004aad7d1">createPlaneMesh</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > &tileSize, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> > &tileCount=<a class="el" href="namespaceirr_1_1core.html#ad2e562e3219072e2f7fc7c2bba0ef0cb">core::dimension2du</a>(1, 1), <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> *material=0, const <a class="el" href="namespaceirr_1_1core.html#af6dc5c45ff13e7712758c827ff58676b">core::dimension2df</a> &textureRepeatCount=<a class="el" href="namespaceirr_1_1core.html#af6dc5c45ff13e7712758c827ff58676b">core::dimension2df</a>(1.f, 1.f)) const | ||
120 | <dl class="el"><dd class="mdescRight">Create a simple rectangular textured plane mesh. <a href="#a74015f4a06e078e964ccd2a004aad7d1"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#ab97eb5f80cc08b4611cd56a968a98521">createSphereMesh</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius=5.f, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> polyCountX=16, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> polyCountY=16) const =0 | ||
121 | <dl class="el"><dd class="mdescRight">Create a sphere mesh. <a href="#ab97eb5f80cc08b4611cd56a968a98521"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#a7cf8a80a7d76d91ab9a2a1d5f63d4eea">createTerrainMesh</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">video::IImage</a> *texture, <a class="el" href="classirr_1_1video_1_1_i_image.html">video::IImage</a> *heightmap, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > &stretchSize, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> maxHeight, <a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a> *driver, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> > &defaultVertexBlockSize, bool debugBorders=false) const =0 | ||
122 | <dl class="el"><dd class="mdescRight">Create a terrain mesh from an image representing a heightfield. <a href="#a7cf8a80a7d76d91ab9a2a1d5f63d4eea"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#a4f4e4a3c266698c375d14c1e19a91407">createVolumeLightMesh</a> (const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> subdivideU=32, const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> subdivideV=32, const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> footColor=0xffffffff, const video::SColor tailColor=0xffffffff, const f32 lpDistance=8.f, const core::vector3df &lightDim=core::vector3df(1.f, 1.2f, 1.f)) const =0 | ||
123 | <dl class="el"><dd class="mdescRight">Create a volume light mesh. <a href="#a4f4e4a3c266698c375d14c1e19a91407"></a><br/></dl></ul> | ||
124 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
125 | <div class="textblock"><p>Helper class for creating geometry on the fly. </p> | ||
126 | <p>You can get an instance of this class through <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a9840cfd39b44f238d06b7bc51e6ba1f6" title="Get an instance of a geometry creator.">ISceneManager::getGeometryCreator()</a> </p> | ||
127 | |||
128 | <p>Definition at line <a class="el" href="_i_geometry_creator_8h_source.html#l00025">25</a> of file <a class="el" href="_i_geometry_creator_8h_source.html">IGeometryCreator.h</a>.</p> | ||
129 | </div><hr/><h2>Member Function Documentation</h2> | ||
130 | <a class="anchor" id="aba5b1b9a614c211eeb7a9f88d8e3ec50"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createArrowMesh" ref="aba5b1b9a614c211eeb7a9f88d8e3ec50" args="(const u32 tesselationCylinder=4, const u32 tesselationCone=8, const f32 height=1.f, const f32 cylinderHeight=0.6f, const f32 widthCylinder=0.05f, const f32 widthCone=0.3f, const video::SColor colorCylinder=0xFFFFFFFF, const video::SColor colorCone=0xFFFFFFFF) const =0" --> | ||
131 | <div class="memitem"> | ||
132 | <div class="memproto"> | ||
133 | <table class="memname"> | ||
134 | <tr> | ||
135 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createArrowMesh </td> | ||
136 | <td>(</td> | ||
137 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
138 | <td class="paramname"><em>tesselationCylinder</em> = <code>4</code>, </td> | ||
139 | </tr> | ||
140 | <tr> | ||
141 | <td class="paramkey"></td> | ||
142 | <td></td> | ||
143 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
144 | <td class="paramname"><em>tesselationCone</em> = <code>8</code>, </td> | ||
145 | </tr> | ||
146 | <tr> | ||
147 | <td class="paramkey"></td> | ||
148 | <td></td> | ||
149 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
150 | <td class="paramname"><em>height</em> = <code>1.f</code>, </td> | ||
151 | </tr> | ||
152 | <tr> | ||
153 | <td class="paramkey"></td> | ||
154 | <td></td> | ||
155 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
156 | <td class="paramname"><em>cylinderHeight</em> = <code>0.6f</code>, </td> | ||
157 | </tr> | ||
158 | <tr> | ||
159 | <td class="paramkey"></td> | ||
160 | <td></td> | ||
161 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
162 | <td class="paramname"><em>widthCylinder</em> = <code>0.05f</code>, </td> | ||
163 | </tr> | ||
164 | <tr> | ||
165 | <td class="paramkey"></td> | ||
166 | <td></td> | ||
167 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
168 | <td class="paramname"><em>widthCone</em> = <code>0.3f</code>, </td> | ||
169 | </tr> | ||
170 | <tr> | ||
171 | <td class="paramkey"></td> | ||
172 | <td></td> | ||
173 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> | ||
174 | <td class="paramname"><em>colorCylinder</em> = <code>0xFFFFFFFF</code>, </td> | ||
175 | </tr> | ||
176 | <tr> | ||
177 | <td class="paramkey"></td> | ||
178 | <td></td> | ||
179 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> | ||
180 | <td class="paramname"><em>colorCone</em> = <code>0xFFFFFFFF</code> </td> | ||
181 | </tr> | ||
182 | <tr> | ||
183 | <td></td> | ||
184 | <td>)</td> | ||
185 | <td></td><td> const<code> [pure virtual]</code></td> | ||
186 | </tr> | ||
187 | </table> | ||
188 | </div> | ||
189 | <div class="memdoc"> | ||
190 | |||
191 | <p>Create an arrow mesh, composed of a cylinder and a cone. </p> | ||
192 | <dl><dt><b>Parameters:</b></dt><dd> | ||
193 | <table class="params"> | ||
194 | <tr><td class="paramname">tesselationCylinder</td><td>Number of quads composing the cylinder. </td></tr> | ||
195 | <tr><td class="paramname">tesselationCone</td><td>Number of triangles composing the cone's roof. </td></tr> | ||
196 | <tr><td class="paramname">height</td><td>Total height of the arrow </td></tr> | ||
197 | <tr><td class="paramname">cylinderHeight</td><td>Total height of the cylinder, should be lesser than total height </td></tr> | ||
198 | <tr><td class="paramname">widthCylinder</td><td>Diameter of the cylinder </td></tr> | ||
199 | <tr><td class="paramname">widthCone</td><td>Diameter of the cone's base, should be not smaller than the cylinder's diameter </td></tr> | ||
200 | <tr><td class="paramname">colorCylinder</td><td>color of the cylinder </td></tr> | ||
201 | <tr><td class="paramname">colorCone</td><td>color of the cone </td></tr> | ||
202 | </table> | ||
203 | </dd> | ||
204 | </dl> | ||
205 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
206 | |||
207 | </div> | ||
208 | </div> | ||
209 | <a class="anchor" id="af532c8fb5558cf274181eb81220db85b"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createConeMesh" ref="af532c8fb5558cf274181eb81220db85b" args="(f32 radius, f32 length, u32 tesselation, const video::SColor &colorTop=video::SColor(0xffffffff), const video::SColor &colorBottom=video::SColor(0xffffffff), f32 oblique=0.f) const =0" --> | ||
210 | <div class="memitem"> | ||
211 | <div class="memproto"> | ||
212 | <table class="memname"> | ||
213 | <tr> | ||
214 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createConeMesh </td> | ||
215 | <td>(</td> | ||
216 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
217 | <td class="paramname"><em>radius</em>, </td> | ||
218 | </tr> | ||
219 | <tr> | ||
220 | <td class="paramkey"></td> | ||
221 | <td></td> | ||
222 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
223 | <td class="paramname"><em>length</em>, </td> | ||
224 | </tr> | ||
225 | <tr> | ||
226 | <td class="paramkey"></td> | ||
227 | <td></td> | ||
228 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
229 | <td class="paramname"><em>tesselation</em>, </td> | ||
230 | </tr> | ||
231 | <tr> | ||
232 | <td class="paramkey"></td> | ||
233 | <td></td> | ||
234 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> & </td> | ||
235 | <td class="paramname"><em>colorTop</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0xffffffff)</code>, </td> | ||
236 | </tr> | ||
237 | <tr> | ||
238 | <td class="paramkey"></td> | ||
239 | <td></td> | ||
240 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> & </td> | ||
241 | <td class="paramname"><em>colorBottom</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0xffffffff)</code>, </td> | ||
242 | </tr> | ||
243 | <tr> | ||
244 | <td class="paramkey"></td> | ||
245 | <td></td> | ||
246 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
247 | <td class="paramname"><em>oblique</em> = <code>0.f</code> </td> | ||
248 | </tr> | ||
249 | <tr> | ||
250 | <td></td> | ||
251 | <td>)</td> | ||
252 | <td></td><td> const<code> [pure virtual]</code></td> | ||
253 | </tr> | ||
254 | </table> | ||
255 | </div> | ||
256 | <div class="memdoc"> | ||
257 | |||
258 | <p>Create a cone mesh. </p> | ||
259 | <dl><dt><b>Parameters:</b></dt><dd> | ||
260 | <table class="params"> | ||
261 | <tr><td class="paramname">radius</td><td>Radius of the cone. </td></tr> | ||
262 | <tr><td class="paramname">length</td><td>Length of the cone. </td></tr> | ||
263 | <tr><td class="paramname">tesselation</td><td>Number of quads around the circumference of the cone. </td></tr> | ||
264 | <tr><td class="paramname">colorTop</td><td>The color of the top of the cone. </td></tr> | ||
265 | <tr><td class="paramname">colorBottom</td><td>The color of the bottom of the cone. </td></tr> | ||
266 | <tr><td class="paramname">oblique</td><td>(to be documented) </td></tr> | ||
267 | </table> | ||
268 | </dd> | ||
269 | </dl> | ||
270 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
271 | |||
272 | </div> | ||
273 | </div> | ||
274 | <a class="anchor" id="a43a1310362ad8e682c21375b2b9de39b"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createCubeMesh" ref="a43a1310362ad8e682c21375b2b9de39b" args="(const core::vector3df &size=core::vector3df(5.f, 5.f, 5.f)) const =0" --> | ||
275 | <div class="memitem"> | ||
276 | <div class="memproto"> | ||
277 | <table class="memname"> | ||
278 | <tr> | ||
279 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createCubeMesh </td> | ||
280 | <td>(</td> | ||
281 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> & </td> | ||
282 | <td class="paramname"><em>size</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(5.f, 5.f, 5.f)</code></td><td>)</td> | ||
283 | <td> const<code> [pure virtual]</code></td> | ||
284 | </tr> | ||
285 | </table> | ||
286 | </div> | ||
287 | <div class="memdoc"> | ||
288 | |||
289 | <p>Creates a simple cube mesh. </p> | ||
290 | <dl><dt><b>Parameters:</b></dt><dd> | ||
291 | <table class="params"> | ||
292 | <tr><td class="paramname">size</td><td>Dimensions of the cube. </td></tr> | ||
293 | </table> | ||
294 | </dd> | ||
295 | </dl> | ||
296 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
297 | |||
298 | </div> | ||
299 | </div> | ||
300 | <a class="anchor" id="a87143de278ac305bc37dc905e800f5f8"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createCylinderMesh" ref="a87143de278ac305bc37dc905e800f5f8" args="(f32 radius, f32 length, u32 tesselation, const video::SColor &color=video::SColor(0xffffffff), bool closeTop=true, f32 oblique=0.f) const =0" --> | ||
301 | <div class="memitem"> | ||
302 | <div class="memproto"> | ||
303 | <table class="memname"> | ||
304 | <tr> | ||
305 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createCylinderMesh </td> | ||
306 | <td>(</td> | ||
307 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
308 | <td class="paramname"><em>radius</em>, </td> | ||
309 | </tr> | ||
310 | <tr> | ||
311 | <td class="paramkey"></td> | ||
312 | <td></td> | ||
313 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
314 | <td class="paramname"><em>length</em>, </td> | ||
315 | </tr> | ||
316 | <tr> | ||
317 | <td class="paramkey"></td> | ||
318 | <td></td> | ||
319 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
320 | <td class="paramname"><em>tesselation</em>, </td> | ||
321 | </tr> | ||
322 | <tr> | ||
323 | <td class="paramkey"></td> | ||
324 | <td></td> | ||
325 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> & </td> | ||
326 | <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0xffffffff)</code>, </td> | ||
327 | </tr> | ||
328 | <tr> | ||
329 | <td class="paramkey"></td> | ||
330 | <td></td> | ||
331 | <td class="paramtype">bool </td> | ||
332 | <td class="paramname"><em>closeTop</em> = <code>true</code>, </td> | ||
333 | </tr> | ||
334 | <tr> | ||
335 | <td class="paramkey"></td> | ||
336 | <td></td> | ||
337 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
338 | <td class="paramname"><em>oblique</em> = <code>0.f</code> </td> | ||
339 | </tr> | ||
340 | <tr> | ||
341 | <td></td> | ||
342 | <td>)</td> | ||
343 | <td></td><td> const<code> [pure virtual]</code></td> | ||
344 | </tr> | ||
345 | </table> | ||
346 | </div> | ||
347 | <div class="memdoc"> | ||
348 | |||
349 | <p>Create a cylinder mesh. </p> | ||
350 | <dl><dt><b>Parameters:</b></dt><dd> | ||
351 | <table class="params"> | ||
352 | <tr><td class="paramname">radius</td><td>Radius of the cylinder. </td></tr> | ||
353 | <tr><td class="paramname">length</td><td>Length of the cylinder. </td></tr> | ||
354 | <tr><td class="paramname">tesselation</td><td>Number of quads around the circumference of the cylinder. </td></tr> | ||
355 | <tr><td class="paramname">color</td><td>The color of the cylinder. </td></tr> | ||
356 | <tr><td class="paramname">closeTop</td><td>If true, close the ends of the cylinder, otherwise leave them open. </td></tr> | ||
357 | <tr><td class="paramname">oblique</td><td>(to be documented) </td></tr> | ||
358 | </table> | ||
359 | </dd> | ||
360 | </dl> | ||
361 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
362 | |||
363 | </div> | ||
364 | </div> | ||
365 | <a class="anchor" id="a85cb5d4271a1ef4ba1706b15f70ae391"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createHillPlaneMesh" ref="a85cb5d4271a1ef4ba1706b15f70ae391" args="(const core::dimension2d< f32 > &tileSize, const core::dimension2d< u32 > &tileCount, video::SMaterial *material, f32 hillHeight, const core::dimension2d< f32 > &countHills, const core::dimension2d< f32 > &textureRepeatCount) const =0" --> | ||
366 | <div class="memitem"> | ||
367 | <div class="memproto"> | ||
368 | <table class="memname"> | ||
369 | <tr> | ||
370 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createHillPlaneMesh </td> | ||
371 | <td>(</td> | ||
372 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > & </td> | ||
373 | <td class="paramname"><em>tileSize</em>, </td> | ||
374 | </tr> | ||
375 | <tr> | ||
376 | <td class="paramkey"></td> | ||
377 | <td></td> | ||
378 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> > & </td> | ||
379 | <td class="paramname"><em>tileCount</em>, </td> | ||
380 | </tr> | ||
381 | <tr> | ||
382 | <td class="paramkey"></td> | ||
383 | <td></td> | ||
384 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> * </td> | ||
385 | <td class="paramname"><em>material</em>, </td> | ||
386 | </tr> | ||
387 | <tr> | ||
388 | <td class="paramkey"></td> | ||
389 | <td></td> | ||
390 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
391 | <td class="paramname"><em>hillHeight</em>, </td> | ||
392 | </tr> | ||
393 | <tr> | ||
394 | <td class="paramkey"></td> | ||
395 | <td></td> | ||
396 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > & </td> | ||
397 | <td class="paramname"><em>countHills</em>, </td> | ||
398 | </tr> | ||
399 | <tr> | ||
400 | <td class="paramkey"></td> | ||
401 | <td></td> | ||
402 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > & </td> | ||
403 | <td class="paramname"><em>textureRepeatCount</em> </td> | ||
404 | </tr> | ||
405 | <tr> | ||
406 | <td></td> | ||
407 | <td>)</td> | ||
408 | <td></td><td> const<code> [pure virtual]</code></td> | ||
409 | </tr> | ||
410 | </table> | ||
411 | </div> | ||
412 | <div class="memdoc"> | ||
413 | |||
414 | <p>Create a pseudo-random mesh representing a hilly terrain. </p> | ||
415 | <dl><dt><b>Parameters:</b></dt><dd> | ||
416 | <table class="params"> | ||
417 | <tr><td class="paramname">tileSize</td><td>The size of each tile. </td></tr> | ||
418 | <tr><td class="paramname">tileCount</td><td>The number of tiles in each dimension. </td></tr> | ||
419 | <tr><td class="paramname">material</td><td>The material to apply to the mesh. </td></tr> | ||
420 | <tr><td class="paramname">hillHeight</td><td>The maximum height of the hills. </td></tr> | ||
421 | <tr><td class="paramname">countHills</td><td>The number of hills along each dimension. </td></tr> | ||
422 | <tr><td class="paramname">textureRepeatCount</td><td>The number of times to repeat the material texture along each dimension. </td></tr> | ||
423 | </table> | ||
424 | </dd> | ||
425 | </dl> | ||
426 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
427 | |||
428 | <p>Referenced by <a class="el" href="_i_geometry_creator_8h_source.html#l00061">createPlaneMesh()</a>.</p> | ||
429 | |||
430 | </div> | ||
431 | </div> | ||
432 | <a class="anchor" id="a74015f4a06e078e964ccd2a004aad7d1"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createPlaneMesh" ref="a74015f4a06e078e964ccd2a004aad7d1" args="(const core::dimension2d< f32 > &tileSize, const core::dimension2d< u32 > &tileCount=core::dimension2du(1, 1), video::SMaterial *material=0, const core::dimension2df &textureRepeatCount=core::dimension2df(1.f, 1.f)) const " --> | ||
433 | <div class="memitem"> | ||
434 | <div class="memproto"> | ||
435 | <table class="memname"> | ||
436 | <tr> | ||
437 | <td class="memname"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createPlaneMesh </td> | ||
438 | <td>(</td> | ||
439 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > & </td> | ||
440 | <td class="paramname"><em>tileSize</em>, </td> | ||
441 | </tr> | ||
442 | <tr> | ||
443 | <td class="paramkey"></td> | ||
444 | <td></td> | ||
445 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> > & </td> | ||
446 | <td class="paramname"><em>tileCount</em> = <code><a class="el" href="namespaceirr_1_1core.html#ad2e562e3219072e2f7fc7c2bba0ef0cb">core::dimension2du</a>(1,1)</code>, </td> | ||
447 | </tr> | ||
448 | <tr> | ||
449 | <td class="paramkey"></td> | ||
450 | <td></td> | ||
451 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> * </td> | ||
452 | <td class="paramname"><em>material</em> = <code>0</code>, </td> | ||
453 | </tr> | ||
454 | <tr> | ||
455 | <td class="paramkey"></td> | ||
456 | <td></td> | ||
457 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#af6dc5c45ff13e7712758c827ff58676b">core::dimension2df</a> & </td> | ||
458 | <td class="paramname"><em>textureRepeatCount</em> = <code><a class="el" href="namespaceirr_1_1core.html#af6dc5c45ff13e7712758c827ff58676b">core::dimension2df</a>(1.f,1.f)</code> </td> | ||
459 | </tr> | ||
460 | <tr> | ||
461 | <td></td> | ||
462 | <td>)</td> | ||
463 | <td></td><td> const<code> [inline]</code></td> | ||
464 | </tr> | ||
465 | </table> | ||
466 | </div> | ||
467 | <div class="memdoc"> | ||
468 | |||
469 | <p>Create a simple rectangular textured plane mesh. </p> | ||
470 | <dl><dt><b>Parameters:</b></dt><dd> | ||
471 | <table class="params"> | ||
472 | <tr><td class="paramname">tileSize</td><td>The size of each tile. </td></tr> | ||
473 | <tr><td class="paramname">tileCount</td><td>The number of tiles in each dimension. </td></tr> | ||
474 | <tr><td class="paramname">material</td><td>The material to apply to the mesh. </td></tr> | ||
475 | <tr><td class="paramname">textureRepeatCount</td><td>The number of times to repeat the material texture along each dimension. </td></tr> | ||
476 | </table> | ||
477 | </dd> | ||
478 | </dl> | ||
479 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
480 | |||
481 | <p>Definition at line <a class="el" href="_i_geometry_creator_8h_source.html#l00061">61</a> of file <a class="el" href="_i_geometry_creator_8h_source.html">IGeometryCreator.h</a>.</p> | ||
482 | |||
483 | <p>References <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html#a85cb5d4271a1ef4ba1706b15f70ae391">createHillPlaneMesh()</a>.</p> | ||
484 | |||
485 | </div> | ||
486 | </div> | ||
487 | <a class="anchor" id="ab97eb5f80cc08b4611cd56a968a98521"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createSphereMesh" ref="ab97eb5f80cc08b4611cd56a968a98521" args="(f32 radius=5.f, u32 polyCountX=16, u32 polyCountY=16) const =0" --> | ||
488 | <div class="memitem"> | ||
489 | <div class="memproto"> | ||
490 | <table class="memname"> | ||
491 | <tr> | ||
492 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createSphereMesh </td> | ||
493 | <td>(</td> | ||
494 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
495 | <td class="paramname"><em>radius</em> = <code>5.f</code>, </td> | ||
496 | </tr> | ||
497 | <tr> | ||
498 | <td class="paramkey"></td> | ||
499 | <td></td> | ||
500 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
501 | <td class="paramname"><em>polyCountX</em> = <code>16</code>, </td> | ||
502 | </tr> | ||
503 | <tr> | ||
504 | <td class="paramkey"></td> | ||
505 | <td></td> | ||
506 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
507 | <td class="paramname"><em>polyCountY</em> = <code>16</code> </td> | ||
508 | </tr> | ||
509 | <tr> | ||
510 | <td></td> | ||
511 | <td>)</td> | ||
512 | <td></td><td> const<code> [pure virtual]</code></td> | ||
513 | </tr> | ||
514 | </table> | ||
515 | </div> | ||
516 | <div class="memdoc"> | ||
517 | |||
518 | <p>Create a sphere mesh. </p> | ||
519 | <dl><dt><b>Parameters:</b></dt><dd> | ||
520 | <table class="params"> | ||
521 | <tr><td class="paramname">radius</td><td>Radius of the sphere </td></tr> | ||
522 | <tr><td class="paramname">polyCountX</td><td>Number of quads used for the horizontal tiling </td></tr> | ||
523 | <tr><td class="paramname">polyCountY</td><td>Number of quads used for the vertical tiling </td></tr> | ||
524 | </table> | ||
525 | </dd> | ||
526 | </dl> | ||
527 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
528 | |||
529 | </div> | ||
530 | </div> | ||
531 | <a class="anchor" id="a7cf8a80a7d76d91ab9a2a1d5f63d4eea"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createTerrainMesh" ref="a7cf8a80a7d76d91ab9a2a1d5f63d4eea" args="(video::IImage *texture, video::IImage *heightmap, const core::dimension2d< f32 > &stretchSize, f32 maxHeight, video::IVideoDriver *driver, const core::dimension2d< u32 > &defaultVertexBlockSize, bool debugBorders=false) const =0" --> | ||
532 | <div class="memitem"> | ||
533 | <div class="memproto"> | ||
534 | <table class="memname"> | ||
535 | <tr> | ||
536 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createTerrainMesh </td> | ||
537 | <td>(</td> | ||
538 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">video::IImage</a> * </td> | ||
539 | <td class="paramname"><em>texture</em>, </td> | ||
540 | </tr> | ||
541 | <tr> | ||
542 | <td class="paramkey"></td> | ||
543 | <td></td> | ||
544 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">video::IImage</a> * </td> | ||
545 | <td class="paramname"><em>heightmap</em>, </td> | ||
546 | </tr> | ||
547 | <tr> | ||
548 | <td class="paramkey"></td> | ||
549 | <td></td> | ||
550 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> > & </td> | ||
551 | <td class="paramname"><em>stretchSize</em>, </td> | ||
552 | </tr> | ||
553 | <tr> | ||
554 | <td class="paramkey"></td> | ||
555 | <td></td> | ||
556 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
557 | <td class="paramname"><em>maxHeight</em>, </td> | ||
558 | </tr> | ||
559 | <tr> | ||
560 | <td class="paramkey"></td> | ||
561 | <td></td> | ||
562 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a> * </td> | ||
563 | <td class="paramname"><em>driver</em>, </td> | ||
564 | </tr> | ||
565 | <tr> | ||
566 | <td class="paramkey"></td> | ||
567 | <td></td> | ||
568 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> > & </td> | ||
569 | <td class="paramname"><em>defaultVertexBlockSize</em>, </td> | ||
570 | </tr> | ||
571 | <tr> | ||
572 | <td class="paramkey"></td> | ||
573 | <td></td> | ||
574 | <td class="paramtype">bool </td> | ||
575 | <td class="paramname"><em>debugBorders</em> = <code>false</code> </td> | ||
576 | </tr> | ||
577 | <tr> | ||
578 | <td></td> | ||
579 | <td>)</td> | ||
580 | <td></td><td> const<code> [pure virtual]</code></td> | ||
581 | </tr> | ||
582 | </table> | ||
583 | </div> | ||
584 | <div class="memdoc"> | ||
585 | |||
586 | <p>Create a terrain mesh from an image representing a heightfield. </p> | ||
587 | <dl><dt><b>Parameters:</b></dt><dd> | ||
588 | <table class="params"> | ||
589 | <tr><td class="paramname">texture</td><td>The texture to apply to the terrain. </td></tr> | ||
590 | <tr><td class="paramname">heightmap</td><td>An image that will be interpreted as a heightmap. The brightness (average color) of each pixel is interpreted as a height, with a 255 brightness pixel producing the maximum height. </td></tr> | ||
591 | <tr><td class="paramname">stretchSize</td><td>The size that each pixel will produce, i.e. a 512x512 heightmap and a stretchSize of (10.f, 20.f) will produce a mesh of size 5120.f x 10240.f </td></tr> | ||
592 | <tr><td class="paramname">maxHeight</td><td>The maximum height of the terrain. </td></tr> | ||
593 | <tr><td class="paramname">driver</td><td>The current video driver. </td></tr> | ||
594 | <tr><td class="paramname">defaultVertexBlockSize</td><td>(to be documented) </td></tr> | ||
595 | <tr><td class="paramname">debugBorders</td><td>(to be documented) </td></tr> | ||
596 | </table> | ||
597 | </dd> | ||
598 | </dl> | ||
599 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
600 | |||
601 | </div> | ||
602 | </div> | ||
603 | <a class="anchor" id="a4f4e4a3c266698c375d14c1e19a91407"></a><!-- doxytag: member="irr::scene::IGeometryCreator::createVolumeLightMesh" ref="a4f4e4a3c266698c375d14c1e19a91407" args="(const u32 subdivideU=32, const u32 subdivideV=32, const video::SColor footColor=0xffffffff, const video::SColor tailColor=0xffffffff, const f32 lpDistance=8.f, const core::vector3df &lightDim=core::vector3df(1.f, 1.2f, 1.f)) const =0" --> | ||
604 | <div class="memitem"> | ||
605 | <div class="memproto"> | ||
606 | <table class="memname"> | ||
607 | <tr> | ||
608 | <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a>* irr::scene::IGeometryCreator::createVolumeLightMesh </td> | ||
609 | <td>(</td> | ||
610 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
611 | <td class="paramname"><em>subdivideU</em> = <code>32</code>, </td> | ||
612 | </tr> | ||
613 | <tr> | ||
614 | <td class="paramkey"></td> | ||
615 | <td></td> | ||
616 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
617 | <td class="paramname"><em>subdivideV</em> = <code>32</code>, </td> | ||
618 | </tr> | ||
619 | <tr> | ||
620 | <td class="paramkey"></td> | ||
621 | <td></td> | ||
622 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> | ||
623 | <td class="paramname"><em>footColor</em> = <code>0xffffffff</code>, </td> | ||
624 | </tr> | ||
625 | <tr> | ||
626 | <td class="paramkey"></td> | ||
627 | <td></td> | ||
628 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> | ||
629 | <td class="paramname"><em>tailColor</em> = <code>0xffffffff</code>, </td> | ||
630 | </tr> | ||
631 | <tr> | ||
632 | <td class="paramkey"></td> | ||
633 | <td></td> | ||
634 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
635 | <td class="paramname"><em>lpDistance</em> = <code>8.f</code>, </td> | ||
636 | </tr> | ||
637 | <tr> | ||
638 | <td class="paramkey"></td> | ||
639 | <td></td> | ||
640 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> & </td> | ||
641 | <td class="paramname"><em>lightDim</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.f, 1.2f, 1.f)</code> </td> | ||
642 | </tr> | ||
643 | <tr> | ||
644 | <td></td> | ||
645 | <td>)</td> | ||
646 | <td></td><td> const<code> [pure virtual]</code></td> | ||
647 | </tr> | ||
648 | </table> | ||
649 | </div> | ||
650 | <div class="memdoc"> | ||
651 | |||
652 | <p>Create a volume light mesh. </p> | ||
653 | <dl><dt><b>Parameters:</b></dt><dd> | ||
654 | <table class="params"> | ||
655 | <tr><td class="paramname">subdivideU</td><td>Horizontal patch count. </td></tr> | ||
656 | <tr><td class="paramname">subdivideV</td><td>Vertical patch count. </td></tr> | ||
657 | <tr><td class="paramname">footColor</td><td>Color at the bottom of the light. </td></tr> | ||
658 | <tr><td class="paramname">tailColor</td><td>Color at the mid of the light. </td></tr> | ||
659 | <tr><td class="paramname">lpDistance</td><td>Virtual distance of the light point for normals. </td></tr> | ||
660 | <tr><td class="paramname">lightDim</td><td>Dimensions of the light. </td></tr> | ||
661 | </table> | ||
662 | </dd> | ||
663 | </dl> | ||
664 | <dl class="return"><dt><b>Returns:</b></dt><dd>Generated mesh. </dd></dl> | ||
665 | |||
666 | </div> | ||
667 | </div> | ||
668 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
669 | <li><a class="el" href="_i_geometry_creator_8h_source.html">IGeometryCreator.h</a></li> | ||
670 | </ul> | ||
671 | </div> | ||
672 | </div> | ||
673 | <div id="nav-path" class="navpath"> | ||
674 | <ul> | ||
675 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
676 | <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a> </li> | ||
677 | <li class="navelem"><a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html">IGeometryCreator</a> </li> | ||
678 | <!-- window showing the filter options --> | ||
679 | <div id="MSearchSelectWindow" | ||
680 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
681 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
682 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
683 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
684 | |||
685 | <!-- iframe showing the search results (closed by default) --> | ||
686 | <div id="MSearchResultsWindow"> | ||
687 | <iframe src="javascript:void(0)" frameborder="0" | ||
688 | name="MSearchResults" id="MSearchResults"> | ||
689 | </iframe> | ||
690 | </div> | ||
691 | |||
692 | |||
693 | <li class="footer"> | ||
694 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
695 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Tue Nov 6 2012 11:06:06 for Irrlicht 3D Engine by | ||
696 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
697 | </ul> | ||
698 | </div> | ||
699 | |||
700 | |||
701 | </body> | ||
702 | </html> | ||