aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_manager.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_manager.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_manager.html4324
1 files changed, 4324 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_manager.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_manager.html
new file mode 100644
index 0000000..4375571
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_manager.html
@@ -0,0 +1,4324 @@
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::ISceneManager 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">
69var 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_scene_manager.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::ISceneManager Class Reference</div> </div>
91</div>
92<div class="contents">
93<!-- doxytag: class="irr::scene::ISceneManager" --><!-- doxytag: inherits="irr::IReferenceCounted" -->
94<p>The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.
95 <a href="classirr_1_1scene_1_1_i_scene_manager.html#details">More...</a></p>
96
97<p><code>#include &lt;<a class="el" href="_i_scene_manager_8h_source.html">ISceneManager.h</a>&gt;</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::ISceneManager:</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_scene_manager.png" usemap="#irr::scene::ISceneManager_map" alt=""/>
105 <map id="irr::scene::ISceneManager_map" name="irr::scene::ISceneManager_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,161,24"/>
107</map>
108 </div></div>
109
110<p><a href="classirr_1_1scene_1_1_i_scene_manager-members.html">List of all members.</a></p>
111<h2><a name="pub-methods"></a>
112Public Member Functions</h2>
113<ul>
114<li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_scene_node.html">IAnimatedMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a8e2e0cd3a27e85b4116855dd2f3365b8">addAnimatedMeshSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;rotation=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;scale=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f, 1.0f, 1.0f), bool alsoAddIfMeshPointerZero=false)=0
115<dl class="el"><dd class="mdescRight">Adds a scene node for rendering an animated mesh model. <a href="#a8e2e0cd3a27e85b4116855dd2f3365b8"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac1bca43a6301e6c9daf09806ea46309a">addArrowMesh</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;name, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> vtxColorCylinder=0xFFFFFFFF, video::SColor vtxColorCone=0xFFFFFFFF, u32 tesselationCylinder=4, u32 tesselationCone=8, f32 height=1.f, f32 cylinderHeight=0.6f, f32 widthCylinder=0.05f, f32 widthCone=0.3f)=0
116<dl class="el"><dd class="mdescRight">add a static arrow mesh to the meshpool <a href="#ac1bca43a6301e6c9daf09806ea46309a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_billboard_scene_node.html">IBillboardSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a00266a58b97e827acd9e105806a99c3a">addBillboardSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;size=<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt;(10.0f, 10.0f), const core::vector3df &amp;position=core::vector3df(0, 0, 0), s32 id=-1, video::SColor colorTop=0xFFFFFFFF, video::SColor colorBottom=0xFFFFFFFF)=0
117<dl class="el"><dd class="mdescRight">Adds a billboard scene node to the scene graph. <a href="#a00266a58b97e827acd9e105806a99c3a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_billboard_text_scene_node.html">IBillboardTextSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a82e91e414ac6ad4f4c0eaa5b17ce3a44">addBillboardTextSceneNode</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">gui::IGUIFont</a> *font, const wchar_t *text, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;size=<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt;(10.0f, 10.0f), const core::vector3df &amp;position=core::vector3df(0, 0, 0), s32 id=-1, video::SColor colorTop=0xFFFFFFFF, video::SColor colorBottom=0xFFFFFFFF)=0
118<dl class="el"><dd class="mdescRight">Adds a text scene node, which uses billboards. The node, and the text on it, will scale with distance. <a href="#a82e91e414ac6ad4f4c0eaa5b17ce3a44"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#afc3733849319078d5d22d94f58c7d1f2">addCameraSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;lookat=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 100), <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, bool makeActive=true)=0
119<dl class="el"><dd class="mdescRight">Adds a camera scene node to the scene graph and sets it as active camera. <a href="#afc3733849319078d5d22d94f58c7d1f2"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac312cbc85161678d00192880f2cdddbb">addCameraSceneNodeFPS</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> rotateSpeed=100.0f, f32 moveSpeed=0.5f, s32 id=-1, SKeyMap *keyMapArray=0, s32 keyMapSize=0, bool noVerticalMovement=false, f32 jumpSpeed=0.f, bool invertMouse=false, bool makeActive=true)=0
120<dl class="el"><dd class="mdescRight">Adds a camera scene node with an animator which provides mouse and keyboard control appropriate for first person shooters (FPS). <a href="#ac312cbc85161678d00192880f2cdddbb"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a18e81a59e02231567ac938ea287fe523">addCameraSceneNodeMaya</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> rotateSpeed=-1500.f, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zoomSpeed=200.f, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> translationSpeed=1500.f, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> distance=70.f, bool makeActive=true)=0
121<dl class="el"><dd class="mdescRight">Adds a maya style user controlled camera scene node to the scene graph. <a href="#a18e81a59e02231567ac938ea287fe523"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a23d1328c68b1585f613108f386fabc1c">addCubeSceneNode</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> size=10.0f, ISceneNode *parent=0, s32 id=-1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0
122<dl class="el"><dd class="mdescRight">Adds a cube scene node. <a href="#a23d1328c68b1585f613108f386fabc1c"></a><br/></dl><li>virtual <br class="typebreak"/>
123<a class="el" href="classirr_1_1scene_1_1_i_dummy_transformation_scene_node.html">IDummyTransformationSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ad7aa119894aa960f428b7baefcedc58a">addDummyTransformationSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0
124<dl class="el"><dd class="mdescRight">Adds a dummy transformation scene node to the scene graph. <a href="#ad7aa119894aa960f428b7baefcedc58a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a3811d3d2a092474e2c5613d550678187">addEmptySceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0
125<dl class="el"><dd class="mdescRight">Adds an empty scene node to the scene graph. <a href="#a3811d3d2a092474e2c5613d550678187"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a808972cc001db86c0576c38b3b3fbbf7">addExternalMeshLoader</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh_loader.html">IMeshLoader</a> *externalLoader)=0
126<dl class="el"><dd class="mdescRight">Adds an external mesh loader for extending the engine with new file formats. <a href="#a808972cc001db86c0576c38b3b3fbbf7"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a8f0bc0221c4faaca80ac8f560ee424ef">addExternalSceneLoader</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_loader.html">ISceneLoader</a> *externalLoader)=0
127<dl class="el"><dd class="mdescRight">Adds an external scene loader for extending the engine with new file formats. <a href="#a8f0bc0221c4faaca80ac8f560ee424ef"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2eb986c6975ebc1aa1f68c878ac8dcda">addHillPlaneMesh</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;name, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;tileSize, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;tileCount, <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> *material=0, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> hillHeight=0.0f, const core::dimension2d&lt; f32 &gt; &amp;countHills=core::dimension2d&lt; f32 &gt;(0.0f, 0.0f), const core::dimension2d&lt; f32 &gt; &amp;textureRepeatCount=core::dimension2d&lt; f32 &gt;(1.0f, 1.0f))=0
128<dl class="el"><dd class="mdescRight">Adds a Hill Plane mesh to the mesh pool. <a href="#a2eb986c6975ebc1aa1f68c878ac8dcda"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html">ILightSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2e6442f8c95a544c355bd137ccdb7095">addLightSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), <a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a> color=<a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a>(1.0f, 1.0f, 1.0f), f32 radius=100.0f, s32 id=-1)=0
129<dl class="el"><dd class="mdescRight">Adds a dynamic light scene node to the scene graph. <a href="#a2e6442f8c95a544c355bd137ccdb7095"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aa0a32f9f5b13d94e24eed80bdb999919">addMeshSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;rotation=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;scale=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f, 1.0f, 1.0f), bool alsoAddIfMeshPointerZero=false)=0
130<dl class="el"><dd class="mdescRight">Adds a scene node for rendering a static mesh. <a href="#aa0a32f9f5b13d94e24eed80bdb999919"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a503339385ca2b33d7e8035a61c4eca84">addOctreeSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> minimalPolysPerNode=512, bool alsoAddIfMeshPointerZero=false)=0
131<dl class="el"><dd class="mdescRight">Adds a scene node for rendering using a octree to the scene graph. <a href="#a503339385ca2b33d7e8035a61c4eca84"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#abfa8d1ebb1ff681d588aea98e6e2b193">addOctreeSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false)=0
132<dl class="el"><dd class="mdescRight">Adds a scene node for rendering using a octree to the scene graph. <a href="#abfa8d1ebb1ff681d588aea98e6e2b193"></a><br/></dl><li>_IRR_DEPRECATED_ <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ad976720f7b110b47374e129b29e4e572">addOctTreeSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> minimalPolysPerNode=512, bool alsoAddIfMeshPointerZero=false)
133<dl class="el"><dd class="mdescRight">Adds a scene node for rendering using a octree to the scene graph. <a href="#ad976720f7b110b47374e129b29e4e572"></a><br/></dl><li>_IRR_DEPRECATED_ <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#af2f5dfc8d5d0f525aee59058fd7457cd">addOctTreeSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false)
134<dl class="el"><dd class="mdescRight">Adds a scene node for rendering using a octree to the scene graph. <a href="#af2f5dfc8d5d0f525aee59058fd7457cd"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_particle_system_scene_node.html">IParticleSystemSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a1c1c2b024a01bd1d6d56518926e37fa8">addParticleSystemSceneNode</a> (bool withDefaultEmitter=true, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;rotation=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;scale=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f, 1.0f, 1.0f))=0
135<dl class="el"><dd class="mdescRight">Adds a particle system scene node to the scene graph. <a href="#a1c1c2b024a01bd1d6d56518926e37fa8"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a58642d304110532988d27cebbe76ed41">addQuake3SceneNode</a> (const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> *meshBuffer, const <a class="el" href="structirr_1_1scene_1_1quake3_1_1_i_shader.html">quake3::IShader</a> *shader, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0
136<dl class="el"><dd class="mdescRight">Adds a <a class="el" href="namespaceirr_1_1scene_1_1quake3.html">quake3</a> scene node to the scene graph. <a href="#a58642d304110532988d27cebbe76ed41"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a22ea17e8c06a773af9828f7bb70cdc40">addSceneNode</a> (const char *sceneNodeTypeName, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0)=0
137<dl class="el"><dd class="mdescRight">Adds a scene node to the scene by name. <a href="#a22ea17e8c06a773af9828f7bb70cdc40"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2b08b9f20ec62faeffc02b9fed9fd683">addSkyBoxSceneNode</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *top, <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *bottom, <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *left, <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *right, <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *front, <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *back, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0
138<dl class="el"><dd class="mdescRight">Adds a skybox scene node to the scene graph. <a href="#a2b08b9f20ec62faeffc02b9fed9fd683"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aadf84a7a18a5ed92d9868f90c506daa7">addSkyDomeSceneNode</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> horiRes=16, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertRes=8, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> texturePercentage=0.9, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> spherePercentage=2.0, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius=1000.f, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0
139<dl class="el"><dd class="mdescRight">Adds a skydome scene node to the scene graph. <a href="#aadf84a7a18a5ed92d9868f90c506daa7"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a9e9e8524055ca841c0bb16316f4b8212">addSphereMesh</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;name, <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)=0
140<dl class="el"><dd class="mdescRight">add a static sphere mesh to the meshpool <a href="#a9e9e8524055ca841c0bb16316f4b8212"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#acd6454347276ff8c74e46063970cfc04">addSphereSceneNode</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius=5.0f, s32 polyCount=16, ISceneNode *parent=0, s32 id=-1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0
141<dl class="el"><dd class="mdescRight">Adds a sphere scene node of the given radius and detail. <a href="#acd6454347276ff8c74e46063970cfc04"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac56c56d5ec02bfe7cfb35db7afc19b50">addTerrainMesh</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;meshname, <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>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;stretchSize=<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt;(10.0f, 10.0f), f32 maxHeight=200.0f, const core::dimension2d&lt; u32 &gt; &amp;defaultVertexBlockSize=core::dimension2d&lt; u32 &gt;(64, 64))=0
142<dl class="el"><dd class="mdescRight">Adds a static terrain mesh to the mesh pool. <a href="#ac56c56d5ec02bfe7cfb35db7afc19b50"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_terrain_scene_node.html">ITerrainSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2188fb0443c7e0b6b69a673ca1d9ca5c">addTerrainSceneNode</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;heightMapFileName, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.0f, 0.0f, 0.0f), const core::vector3df &amp;rotation=core::vector3df(0.0f, 0.0f, 0.0f), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f), video::SColor vertexColor=video::SColor(255, 255, 255, 255), s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0, bool addAlsoIfHeightmapEmpty=false)=0
143<dl class="el"><dd class="mdescRight">Adds a terrain scene node to the scene graph. <a href="#a2188fb0443c7e0b6b69a673ca1d9ca5c"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_terrain_scene_node.html">ITerrainSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ae89a0a2d162a86f087eec66ddcd801b6">addTerrainSceneNode</a> (<a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *heightMapFile, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.0f, 0.0f, 0.0f), const core::vector3df &amp;rotation=core::vector3df(0.0f, 0.0f, 0.0f), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f), video::SColor vertexColor=video::SColor(255, 255, 255, 255), s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0, bool addAlsoIfHeightmapEmpty=false)=0
144<dl class="el"><dd class="mdescRight">Adds a terrain scene node to the scene graph. <a href="#ae89a0a2d162a86f087eec66ddcd801b6"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_text_scene_node.html">ITextSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ae3a173f0b0dd97e69251a22b5e4fbc0f">addTextSceneNode</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">gui::IGUIFont</a> *font, const wchar_t *text, <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>(100, 255, 255, 255), <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0
145<dl class="el"><dd class="mdescRight">Adds a text scene node, which is able to display 2d text at a position in three dimensional space. <a href="#ae3a173f0b0dd97e69251a22b5e4fbc0f"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a11eac917a4c75c7a7730198d7bf31f5a">addToDeletionQueue</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node)=0
146<dl class="el"><dd class="mdescRight">Adds a scene node to the deletion queue. <a href="#a11eac917a4c75c7a7730198d7bf31f5a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a7086c554b86bdf055d6ebcc5950e1f16">addVolumeLightMesh</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;name, 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=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(51, 0, 230, 180), const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> TailColor=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0, 0, 0, 0))=0
147<dl class="el"><dd class="mdescRight">Add a volume light mesh to the meshpool. <a href="#a7086c554b86bdf055d6ebcc5950e1f16"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_volume_light_scene_node.html">IVolumeLightSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a75fc84dd6ee9140da8fd63357947c724">addVolumeLightSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> subdivU=32, const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> subdivV=32, const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> foot=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(51, 0, 230, 180), const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> tail=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0, 0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;rotation=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;scale=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f, 1.0f, 1.0f))=0
148<dl class="el"><dd class="mdescRight">adds Volume Lighting Scene Node. <a href="#a75fc84dd6ee9140da8fd63357947c724"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a5f5beb6271d3ab753687400dd6573044">addWaterSurfaceSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *mesh, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> waveHeight=2.0f, f32 waveSpeed=300.0f, f32 waveLength=10.0f, ISceneNode *parent=0, s32 id=-1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0
149<dl class="el"><dd class="mdescRight">Adds a scene node for rendering a animated water surface mesh. <a href="#a5f5beb6271d3ab753687400dd6573044"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#abaa3d11a833b89f7579848e234881988">clear</a> ()=0
150<dl class="el"><dd class="mdescRight">Clears the whole scene. <a href="#abaa3d11a833b89f7579848e234881988"></a><br/></dl><li>virtual <br class="typebreak"/>
151<a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html">ISceneNodeAnimatorCollisionResponse</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a67b266cc40ebd66b5d21c26a78f002be">createCollisionResponseAnimator</a> (<a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> *world, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *sceneNode, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;ellipsoidRadius=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(30, 60, 30), const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;gravityPerSecond=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,-10.0f, 0), const core::vector3df &amp;ellipsoidTranslation=core::vector3df(0, 0, 0), f32 slidingValue=0.0005f)=0
152<dl class="el"><dd class="mdescRight">Creates a special scene node animator for doing automatic collision detection and response. <a href="#a67b266cc40ebd66b5d21c26a78f002be"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a163cc04ff2cb03852ac891de56200fa3">createDeleteAnimator</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> timeMs)=0
153<dl class="el"><dd class="mdescRight">Creates a scene node animator, which deletes the scene node after some time automatically. <a href="#a163cc04ff2cb03852ac891de56200fa3"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2e49ff49bc9e88e8ecf3d681354e1ab6">createFlyCircleAnimator</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;center=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.f, 0.f, 0.f), <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius=100.f, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> speed=0.001f, const core::vector3df &amp;direction=core::vector3df(0.f, 1.f, 0.f), f32 startPosition=0.f, f32 radiusEllipsoid=0.f)=0
154<dl class="el"><dd class="mdescRight">Creates a fly circle animator, which lets the attached scene node fly around a center. <a href="#a2e49ff49bc9e88e8ecf3d681354e1ab6"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a865c2da86486dcdb44847d5baa7aaa61">createFlyStraightAnimator</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;startPoint, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;endPoint, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> timeForWay, bool loop=false, bool pingpong=false)=0
155<dl class="el"><dd class="mdescRight">Creates a fly straight animator, which lets the attached scene node fly or move along a line between two points. <a href="#a865c2da86486dcdb44847d5baa7aaa61"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ab0c9d4ab88bbe2ad71623b1054a0c3ba">createFollowSplineAnimator</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> startTime, const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &gt; &amp;points, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> speed=1.0f, f32 tightness=0.5f, bool loop=true, bool pingpong=false)=0
156<dl class="el"><dd class="mdescRight">Creates a follow spline animator. <a href="#ab0c9d4ab88bbe2ad71623b1054a0c3ba"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_writer.html">IMeshWriter</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ae9a06fb68757381f99cfe11ecbd153e6">createMeshWriter</a> (<a class="el" href="namespaceirr_1_1scene.html#a431fa15741518ba15f6d5f2608b6cb4e">EMESH_WRITER_TYPE</a> type)=0
157<dl class="el"><dd class="mdescRight">Get a mesh writer implementation if available. <a href="#ae9a06fb68757381f99cfe11ecbd153e6"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_meta_triangle_selector.html">IMetaTriangleSelector</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aee99e59dc55fe9f8c3507df68f84a9ff">createMetaTriangleSelector</a> ()=0
158<dl class="el"><dd class="mdescRight">Creates a meta triangle selector. <a href="#aee99e59dc55fe9f8c3507df68f84a9ff"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">ISceneManager</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a94805dd4eca41ccef9607aefe669aed9">createNewSceneManager</a> (bool cloneContent=false)=0
159<dl class="el"><dd class="mdescRight">Creates a new scene manager. <a href="#a94805dd4eca41ccef9607aefe669aed9"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4ed7d3b34f4d0c70395b6d464fe32b96">createOctreeTriangleSelector</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> minimalPolysPerNode=32)=0
160<dl class="el"><dd class="mdescRight">Creates a Triangle Selector, optimized by an octree. <a href="#a4ed7d3b34f4d0c70395b6d464fe32b96"></a><br/></dl><li>_IRR_DEPRECATED_ <br class="typebreak"/>
161<a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a67f20d1a535645048f2f7e2b5c670656">createOctTreeTriangleSelector</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> minimalPolysPerNode=32)
162<dl class="el"><dd class="mdescRight">//! Creates a Triangle Selector, optimized by an octree. <a href="#a67f20d1a535645048f2f7e2b5c670656"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a29efe9505de4e5dc2218283ef0c2a64d">createRotationAnimator</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;rotationSpeed)=0
163<dl class="el"><dd class="mdescRight">Creates a rotation animator, which rotates the attached scene node around itself. <a href="#a29efe9505de4e5dc2218283ef0c2a64d"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac63c38a05b8e7d0a11ddb1752da36835">createSceneNodeAnimator</a> (const char *typeName, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *target=0)=0
164<dl class="el"><dd class="mdescRight">creates a scene node animator based on its type name <a href="#ac63c38a05b8e7d0a11ddb1752da36835"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_skinned_mesh.html">ISkinnedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a67015b46ffde252ba723e6dcc6a93ac2">createSkinnedMesh</a> ()=0
165<dl class="el"><dd class="mdescRight">Get a skinned mesh, which is not available as header-only code. <a href="#a67015b46ffde252ba723e6dcc6a93ac2"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#af52f8c74e08637b7643d239542371bc5">createTerrainTriangleSelector</a> (<a class="el" href="classirr_1_1scene_1_1_i_terrain_scene_node.html">ITerrainSceneNode</a> *node, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> LOD=0)=0
166<dl class="el"><dd class="mdescRight">Creates a triangle selector which can select triangles from a terrain scene node. <a href="#af52f8c74e08637b7643d239542371bc5"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ae212e01dffc4891d32e3d1735d22d04a">createTextureAnimator</a> (const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> * &gt; &amp;textures, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> timePerFrame, bool loop=true)=0
167<dl class="el"><dd class="mdescRight">Creates a texture animator, which switches the textures of the target scene node based on a list of textures. <a href="#ae212e01dffc4891d32e3d1735d22d04a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a266625379b1558e9be1dc062ea4e71f7">createTriangleSelector</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *mesh, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node)=0
168<dl class="el"><dd class="mdescRight">Creates a simple <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>, based on a mesh. <a href="#a266625379b1558e9be1dc062ea4e71f7"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#abc1ecc9a60abb40e7ffddbd72c077231">createTriangleSelector</a> (<a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_scene_node.html">IAnimatedMeshSceneNode</a> *node)=0
169<dl class="el"><dd class="mdescRight">Creates a simple <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>, based on an animated mesh scene node. <a href="#abc1ecc9a60abb40e7ffddbd72c077231"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#adb717113b4203e92f2bd95c84488059c">createTriangleSelectorFromBoundingBox</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node)=0
170<dl class="el"><dd class="mdescRight">Creates a simple dynamic <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>, based on a axis aligned bounding box. <a href="#adb717113b4203e92f2bd95c84488059c"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a04240262904667c821bd9de5e5fd9b02">drawAll</a> ()=0
171<dl class="el"><dd class="mdescRight">Draws all the scene nodes. <a href="#a04240262904667c821bd9de5e5fd9b02"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a71391ee37dece0714d95c519f110010f">getActiveCamera</a> () const =0
172<dl class="el"><dd class="mdescRight">Get the current active camera. <a href="#a71391ee37dece0714d95c519f110010f"></a><br/></dl><li>virtual const <a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a> &amp; <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a9da2090baaeeaa6261d6a1fac5025b09">getAmbientLight</a> () const =0
173<dl class="el"><dd class="mdescRight">Get ambient color of the scene. <a href="#a9da2090baaeeaa6261d6a1fac5025b09"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aeedfa596280048e6ea6463ff69d23855">getAnimatorTypeName</a> (<a class="el" href="namespaceirr_1_1scene.html#a327a1e43872705cf8f3f3342fb307d19">ESCENE_NODE_ANIMATOR_TYPE</a> type)=0
174<dl class="el"><dd class="mdescRight">Returns a typename from a scene node animator type or null if not found. <a href="#aeedfa596280048e6ea6463ff69d23855"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_factory.html">ISceneNodeAnimatorFactory</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#adeb3d24c8ffafd5e671f344931a0b3a5">getDefaultSceneNodeAnimatorFactory</a> ()=0
175<dl class="el"><dd class="mdescRight">Get the default scene node animator factory which can create all built-in scene node animators. <a href="#adeb3d24c8ffafd5e671f344931a0b3a5"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_factory.html">ISceneNodeFactory</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a1ea0ec7ec95a97819f1de5222b97e774">getDefaultSceneNodeFactory</a> ()=0
176<dl class="el"><dd class="mdescRight">Get the default scene node factory which can create all built in scene nodes. <a href="#a1ea0ec7ec95a97819f1de5222b97e774"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1io_1_1_i_file_system.html">io::IFileSystem</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#adbd98fbeba199005cf795a5bae7ccbaf">getFileSystem</a> ()=0
177<dl class="el"><dd class="mdescRight">Get the active FileSystem. <a href="#adbd98fbeba199005cf795a5bae7ccbaf"></a><br/></dl><li>virtual const <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html">IGeometryCreator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a9840cfd39b44f238d06b7bc51e6ba1f6">getGeometryCreator</a> (void) const =0
178<dl class="el"><dd class="mdescRight">Get an instance of a geometry creator. <a href="#a9840cfd39b44f238d06b7bc51e6ba1f6"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html">gui::IGUIEnvironment</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ad887536e9cc41d0670364f9f0a0f4510">getGUIEnvironment</a> ()=0
179<dl class="el"><dd class="mdescRight">Get the active GUIEnvironment. <a href="#ad887536e9cc41d0670364f9f0a0f4510"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03">getMesh</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;filename)=0
180<dl class="el"><dd class="mdescRight">Get pointer to an animateable mesh. Loads the file if not loaded already. <a href="#a63894c3f3d46cfc385116f1705935e03"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#af0ff82d7bac969d6a30f67c7b1fa0c46">getMesh</a> (<a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *file)=0
181<dl class="el"><dd class="mdescRight">Get pointer to an animateable mesh. Loads the file if not loaded already. <a href="#af0ff82d7bac969d6a30f67c7b1fa0c46"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_cache.html">IMeshCache</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a45d89c816e33abe0e77eb063d7ce58a8">getMeshCache</a> ()=0
182<dl class="el"><dd class="mdescRight">Get interface to the mesh cache which is shared beween all existing scene managers. <a href="#a45d89c816e33abe0e77eb063d7ce58a8"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_loader.html">IMeshLoader</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#afabf244b50875a52eb42d5d375fa40d4">getMeshLoader</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index) const =0
183<dl class="el"><dd class="mdescRight">Retrieve the given mesh loader. <a href="#afabf244b50875a52eb42d5d375fa40d4"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#abb3fc9803b7de0cf7177042bd24508ad">getMeshLoaderCount</a> () const =0
184<dl class="el"><dd class="mdescRight">Returns the number of mesh loaders supported by Irrlicht at this time. <a href="#abb3fc9803b7de0cf7177042bd24508ad"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_manipulator.html">IMeshManipulator</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a05138d6b5f99fced0061794fb5c42318">getMeshManipulator</a> ()=0
185<dl class="el"><dd class="mdescRight">Get pointer to the mesh manipulator. <a href="#a05138d6b5f99fced0061794fb5c42318"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4dba8ee7f48fdf6ede2c3f4b5fabcad3">getParameters</a> ()=0
186<dl class="el"><dd class="mdescRight">Get interface to the parameters set in this scene. <a href="#a4dba8ee7f48fdf6ede2c3f4b5fabcad3"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#abf31f8c0dfb5242d07339fbba20a63e5">getRegisteredSceneNodeAnimatorFactoryCount</a> () const =0
187<dl class="el"><dd class="mdescRight">Get amount of registered scene node animator factories. <a href="#abf31f8c0dfb5242d07339fbba20a63e5"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a405dd898657d08cd1dbf973d1cb88b19">getRegisteredSceneNodeFactoryCount</a> () const =0
188<dl class="el"><dd class="mdescRight">Get amount of registered scene node factories. <a href="#a405dd898657d08cd1dbf973d1cb88b19"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4f7075320f1a3bf2838f29c23f78635f">getRootSceneNode</a> ()=0
189<dl class="el"><dd class="mdescRight">Gets the root scene node. <a href="#a4f7075320f1a3bf2838f29c23f78635f"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_collision_manager.html">ISceneCollisionManager</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a433b65bfc974d069a1dc2fc296b23d9b">getSceneCollisionManager</a> ()=0
190<dl class="el"><dd class="mdescRight">Get pointer to the scene collision manager. <a href="#a433b65bfc974d069a1dc2fc296b23d9b"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_loader.html">ISceneLoader</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a504fd792634ce0fbace4d13e70e4efab">getSceneLoader</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index) const =0
191<dl class="el"><dd class="mdescRight">Retrieve the given scene loader. <a href="#a504fd792634ce0fbace4d13e70e4efab"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a3e5cd3e93d3ed711df7692c830c5a58a">getSceneLoaderCount</a> () const =0
192<dl class="el"><dd class="mdescRight">Returns the number of scene loaders supported by Irrlicht at this time. <a href="#a3e5cd3e93d3ed711df7692c830c5a58a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_factory.html">ISceneNodeAnimatorFactory</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a96d8272b74bd0adc9138f17e832dc887">getSceneNodeAnimatorFactory</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index)=0
193<dl class="el"><dd class="mdescRight">Get scene node animator factory by index. <a href="#a96d8272b74bd0adc9138f17e832dc887"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_factory.html">ISceneNodeFactory</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac912b9effd5ce46f5dc038e0568e614c">getSceneNodeFactory</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index)=0
194<dl class="el"><dd class="mdescRight">Get a scene node factory by index. <a href="#ac912b9effd5ce46f5dc038e0568e614c"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a038e2afb1397fe8f2b6f8f6c55d52b55">getSceneNodeFromId</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *start=0)=0
195<dl class="el"><dd class="mdescRight">Get the first scene node with the specified id. <a href="#a038e2afb1397fe8f2b6f8f6c55d52b55"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a13ada3cca4b9eadee5e8ba3ccb6683da">getSceneNodeFromName</a> (const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *name, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *start=0)=0
196<dl class="el"><dd class="mdescRight">Get the first scene node with the specified name. <a href="#a13ada3cca4b9eadee5e8ba3ccb6683da"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a5ab8e8f8cc8456a3ea881c75dfe505bb">getSceneNodeFromType</a> (<a class="el" href="namespaceirr_1_1scene.html#acad3d7ef92a9807d391ba29120f3b7bd">scene::ESCENE_NODE_TYPE</a> type, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *start=0)=0
197<dl class="el"><dd class="mdescRight">Get the first scene node with the specified type. <a href="#a5ab8e8f8cc8456a3ea881c75dfe505bb"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1scene.html#a7862269bd1abc123929d4dbb8200d67f">E_SCENE_NODE_RENDER_PASS</a> <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2b8f844a1367d80648bc055a5639807b">getSceneNodeRenderPass</a> () const =0
198<dl class="el"><dd class="mdescRight">Get current render pass. <a href="#a2b8f844a1367d80648bc055a5639807b"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a9afcad318b725b5f95e19c839145d3d6">getSceneNodesFromType</a> (<a class="el" href="namespaceirr_1_1scene.html#acad3d7ef92a9807d391ba29120f3b7bd">ESCENE_NODE_TYPE</a> type, <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> * &gt; &amp;outNodes, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *start=0)=0
199<dl class="el"><dd class="mdescRight">Get scene nodes by type. <a href="#a9afcad318b725b5f95e19c839145d3d6"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a9f8cc1f55b8e067528b7a9a21b7fdd50">getSceneNodeTypeName</a> (<a class="el" href="namespaceirr_1_1scene.html#acad3d7ef92a9807d391ba29120f3b7bd">ESCENE_NODE_TYPE</a> type)=0
200<dl class="el"><dd class="mdescRight">Get typename from a scene node type or null if not found. <a href="#a9f8cc1f55b8e067528b7a9a21b7fdd50"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac57d3e4fca82867fd3f0ef2a47c4c07c">getShadowColor</a> () const =0
201<dl class="el"><dd class="mdescRight">Get the current color of shadows. <a href="#ac57d3e4fca82867fd3f0ef2a47c4c07c"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a> * <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#afde082160205a8faab44cd5b61e3745c">getVideoDriver</a> ()=0
202<dl class="el"><dd class="mdescRight">Get the video driver. <a href="#afde082160205a8faab44cd5b61e3745c"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aff6c6d553e0faf12bbfd33e814ad4352">isCulled</a> (const <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node) const =0
203<dl class="el"><dd class="mdescRight">Check if node is culled in current view frustum. <a href="#aff6c6d553e0faf12bbfd33e814ad4352"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aa7641dd33e84fca7946ed17047349a3e">loadScene</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;filename, <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *userDataSerializer=0, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *rootNode=0)=0
204<dl class="el"><dd class="mdescRight">Loads a scene. Note that the current scene is not cleared before. <a href="#aa7641dd33e84fca7946ed17047349a3e"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a21549d3cae3526313c37d9ed7fd08767">loadScene</a> (<a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *file, <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *userDataSerializer=0, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *rootNode=0)=0
205<dl class="el"><dd class="mdescRight">Loads a scene. Note that the current scene is not cleared before. <a href="#a21549d3cae3526313c37d9ed7fd08767"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac68aa8d654884f19ad52fa28f11db424">postEventFromUser</a> (const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> &amp;event)=0
206<dl class="el"><dd class="mdescRight">Posts an input event to the environment. <a href="#ac68aa8d654884f19ad52fa28f11db424"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aaf17bdde6d4e9ef61a76f3b43100ecb8">registerNodeForRendering</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node, <a class="el" href="namespaceirr_1_1scene.html#a7862269bd1abc123929d4dbb8200d67f">E_SCENE_NODE_RENDER_PASS</a> pass=ESNRP_AUTOMATIC)=0
207<dl class="el"><dd class="mdescRight">Registers a node for rendering it at a specific time. <a href="#aaf17bdde6d4e9ef61a76f3b43100ecb8"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#af48c93cc41f986f08ed964cc575ee7a0">registerSceneNodeAnimatorFactory</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_factory.html">ISceneNodeAnimatorFactory</a> *factoryToAdd)=0
208<dl class="el"><dd class="mdescRight">Adds a scene node animator factory to the scene manager. <a href="#af48c93cc41f986f08ed964cc575ee7a0"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a75ac9315def74ae5e26a2d6a2f5a38e9">registerSceneNodeFactory</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node_factory.html">ISceneNodeFactory</a> *factoryToAdd)=0
209<dl class="el"><dd class="mdescRight">Adds a scene node factory to the scene manager. <a href="#a75ac9315def74ae5e26a2d6a2f5a38e9"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a6dd059e96ff4f7233b7ba1ed7e39c337">saveScene</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;filename, <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *userDataSerializer=0, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node=0)=0
210<dl class="el"><dd class="mdescRight">Saves the current scene into a file. <a href="#a6dd059e96ff4f7233b7ba1ed7e39c337"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a5de4b5131186f3bcd8b0213f68e4a9ce">saveScene</a> (<a class="el" href="classirr_1_1io_1_1_i_write_file.html">io::IWriteFile</a> *file, <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *userDataSerializer=0, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node=0)=0
211<dl class="el"><dd class="mdescRight">Saves the current scene into a file. <a href="#a5de4b5131186f3bcd8b0213f68e4a9ce"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a824daa42c8bcf5c5eff159a56052000d">saveScene</a> (<a class="el" href="classirr_1_1io_1_1_i_x_m_l_writer.html">io::IXMLWriter</a> *writer, const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;currentPath, <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *userDataSerializer=0, <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *node=0)=0
212<dl class="el"><dd class="mdescRight">Saves the current scene into a file. <a href="#a824daa42c8bcf5c5eff159a56052000d"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a5d19b7a6803a0a021082fc2b86043b3d">setActiveCamera</a> (<a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> *camera)=0
213<dl class="el"><dd class="mdescRight">Sets the currently active camera. <a href="#a5d19b7a6803a0a021082fc2b86043b3d"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a8a424accb615c4f60fde59f55033a816">setAmbientLight</a> (const <a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a> &amp;ambientColor)=0
214<dl class="el"><dd class="mdescRight">Sets ambient color of the scene. <a href="#a8a424accb615c4f60fde59f55033a816"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a0065307bf3ff12fdc5b7bb624987a1c2">setLightManager</a> (<a class="el" href="classirr_1_1scene_1_1_i_light_manager.html">ILightManager</a> *lightManager)=0
215<dl class="el"><dd class="mdescRight">Register a custom callbacks manager which gets callbacks during scene rendering. <a href="#a0065307bf3ff12fdc5b7bb624987a1c2"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a074feb54d61f5402befef5e1bf0aff37">setShadowColor</a> (<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>(150, 0, 0, 0))=0
216<dl class="el"><dd class="mdescRight">Sets the color of stencil buffers shadows drawn by the scene manager. <a href="#a074feb54d61f5402befef5e1bf0aff37"></a><br/></dl></ul>
217<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
218<div class="textblock"><p>The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff. </p>
219<p>All Scene nodes can be created only here. There is a always growing list of scene nodes for lots of purposes: Indoor rendering scene nodes like the Octree (<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a503339385ca2b33d7e8035a61c4eca84" title="Adds a scene node for rendering using a octree to the scene graph.">addOctreeSceneNode()</a>) or the terrain renderer (<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2188fb0443c7e0b6b69a673ca1d9ca5c" title="Adds a terrain scene node to the scene graph.">addTerrainSceneNode()</a>), different Camera scene nodes (<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#afc3733849319078d5d22d94f58c7d1f2" title="Adds a camera scene node to the scene graph and sets it as active camera.">addCameraSceneNode()</a>, <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a18e81a59e02231567ac938ea287fe523" title="Adds a maya style user controlled camera scene node to the scene graph.">addCameraSceneNodeMaya()</a>), scene nodes for Light (<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2e6442f8c95a544c355bd137ccdb7095" title="Adds a dynamic light scene node to the scene graph.">addLightSceneNode()</a>), Billboards (<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a00266a58b97e827acd9e105806a99c3a" title="Adds a billboard scene node to the scene graph.">addBillboardSceneNode()</a>) and so on. A scene node is a node in the hierachical scene graph. Every scene node may have children, which are other scene nodes. Children move relative the their parents position. If the parent of a node is not visible, its children won't be visible, too. In this way, it is for example easily possible to attach a light to a moving car or to place a walking character on a moving platform on a moving ship. The SceneManager is also able to load 3d mesh files of different formats. Take a look at <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">getMesh()</a> to find out what formats are supported. If these formats are not enough, use <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a808972cc001db86c0576c38b3b3fbbf7" title="Adds an external mesh loader for extending the engine with new file formats.">addExternalMeshLoader()</a> to add new formats to the engine. </p>
220
221<p>Definition at line <a class="el" href="_i_scene_manager_8h_source.html#l00150">150</a> of file <a class="el" href="_i_scene_manager_8h_source.html">ISceneManager.h</a>.</p>
222</div><hr/><h2>Member Function Documentation</h2>
223<a class="anchor" id="a8e2e0cd3a27e85b4116855dd2f3365b8"></a><!-- doxytag: member="irr::scene::ISceneManager::addAnimatedMeshSceneNode" ref="a8e2e0cd3a27e85b4116855dd2f3365b8" args="(IAnimatedMesh *mesh, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f), bool alsoAddIfMeshPointerZero=false)=0" -->
224<div class="memitem">
225<div class="memproto">
226 <table class="memname">
227 <tr>
228 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_scene_node.html">IAnimatedMeshSceneNode</a>* irr::scene::ISceneManager::addAnimatedMeshSceneNode </td>
229 <td>(</td>
230 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> *&#160;</td>
231 <td class="paramname"><em>mesh</em>, </td>
232 </tr>
233 <tr>
234 <td class="paramkey"></td>
235 <td></td>
236 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
237 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
238 </tr>
239 <tr>
240 <td class="paramkey"></td>
241 <td></td>
242 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
243 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
244 </tr>
245 <tr>
246 <td class="paramkey"></td>
247 <td></td>
248 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
249 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
250 </tr>
251 <tr>
252 <td class="paramkey"></td>
253 <td></td>
254 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
255 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
256 </tr>
257 <tr>
258 <td class="paramkey"></td>
259 <td></td>
260 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
261 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>, </td>
262 </tr>
263 <tr>
264 <td class="paramkey"></td>
265 <td></td>
266 <td class="paramtype">bool&#160;</td>
267 <td class="paramname"><em>alsoAddIfMeshPointerZero</em> = <code>false</code>&#160;</td>
268 </tr>
269 <tr>
270 <td></td>
271 <td>)</td>
272 <td></td><td><code> [pure virtual]</code></td>
273 </tr>
274 </table>
275</div>
276<div class="memdoc">
277
278<p>Adds a scene node for rendering an animated mesh model. </p>
279<dl><dt><b>Parameters:</b></dt><dd>
280 <table class="params">
281 <tr><td class="paramname">mesh,:</td><td>Pointer to the loaded animated mesh to be displayed. </td></tr>
282 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be NULL if no parent. </td></tr>
283 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
284 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the scene node will be placed. </td></tr>
285 <tr><td class="paramname">rotation,:</td><td>Initital rotation of the scene node. </td></tr>
286 <tr><td class="paramname">scale,:</td><td>Initial scale of the scene node. </td></tr>
287 <tr><td class="paramname">alsoAddIfMeshPointerZero,:</td><td>Add the scene node even if a 0 pointer is passed. </td></tr>
288 </table>
289 </dd>
290</dl>
291<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
292
293</div>
294</div>
295<a class="anchor" id="ac1bca43a6301e6c9daf09806ea46309a"></a><!-- doxytag: member="irr::scene::ISceneManager::addArrowMesh" ref="ac1bca43a6301e6c9daf09806ea46309a" args="(const io::path &amp;name, video::SColor vtxColorCylinder=0xFFFFFFFF, video::SColor vtxColorCone=0xFFFFFFFF, u32 tesselationCylinder=4, u32 tesselationCone=8, f32 height=1.f, f32 cylinderHeight=0.6f, f32 widthCylinder=0.05f, f32 widthCone=0.3f)=0" -->
296<div class="memitem">
297<div class="memproto">
298 <table class="memname">
299 <tr>
300 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a>* irr::scene::ISceneManager::addArrowMesh </td>
301 <td>(</td>
302 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
303 <td class="paramname"><em>name</em>, </td>
304 </tr>
305 <tr>
306 <td class="paramkey"></td>
307 <td></td>
308 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
309 <td class="paramname"><em>vtxColorCylinder</em> = <code>0xFFFFFFFF</code>, </td>
310 </tr>
311 <tr>
312 <td class="paramkey"></td>
313 <td></td>
314 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
315 <td class="paramname"><em>vtxColorCone</em> = <code>0xFFFFFFFF</code>, </td>
316 </tr>
317 <tr>
318 <td class="paramkey"></td>
319 <td></td>
320 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
321 <td class="paramname"><em>tesselationCylinder</em> = <code>4</code>, </td>
322 </tr>
323 <tr>
324 <td class="paramkey"></td>
325 <td></td>
326 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
327 <td class="paramname"><em>tesselationCone</em> = <code>8</code>, </td>
328 </tr>
329 <tr>
330 <td class="paramkey"></td>
331 <td></td>
332 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
333 <td class="paramname"><em>height</em> = <code>1.f</code>, </td>
334 </tr>
335 <tr>
336 <td class="paramkey"></td>
337 <td></td>
338 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
339 <td class="paramname"><em>cylinderHeight</em> = <code>0.6f</code>, </td>
340 </tr>
341 <tr>
342 <td class="paramkey"></td>
343 <td></td>
344 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
345 <td class="paramname"><em>widthCylinder</em> = <code>0.05f</code>, </td>
346 </tr>
347 <tr>
348 <td class="paramkey"></td>
349 <td></td>
350 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
351 <td class="paramname"><em>widthCone</em> = <code>0.3f</code>&#160;</td>
352 </tr>
353 <tr>
354 <td></td>
355 <td>)</td>
356 <td></td><td><code> [pure virtual]</code></td>
357 </tr>
358 </table>
359</div>
360<div class="memdoc">
361
362<p>add a static arrow mesh to the meshpool </p>
363<dl><dt><b>Parameters:</b></dt><dd>
364 <table class="params">
365 <tr><td class="paramname">name</td><td>Name of the mesh </td></tr>
366 <tr><td class="paramname">vtxColorCylinder</td><td>color of the cylinder </td></tr>
367 <tr><td class="paramname">vtxColorCone</td><td>color of the cone </td></tr>
368 <tr><td class="paramname">tesselationCylinder</td><td>Number of quads the cylinder side consists of </td></tr>
369 <tr><td class="paramname">tesselationCone</td><td>Number of triangles the cone's roof consits of </td></tr>
370 <tr><td class="paramname">height</td><td>Total height of the arrow </td></tr>
371 <tr><td class="paramname">cylinderHeight</td><td>Total height of the cylinder, should be lesser than total height </td></tr>
372 <tr><td class="paramname">widthCylinder</td><td>Diameter of the cylinder </td></tr>
373 <tr><td class="paramname">widthCone</td><td>Diameter of the cone's base, should be not smaller than the cylinder's diameter </td></tr>
374 </table>
375 </dd>
376</dl>
377<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the arrow mesh if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
378
379</div>
380</div>
381<a class="anchor" id="a00266a58b97e827acd9e105806a99c3a"></a><!-- doxytag: member="irr::scene::ISceneManager::addBillboardSceneNode" ref="a00266a58b97e827acd9e105806a99c3a" args="(ISceneNode *parent=0, const core::dimension2d&lt; f32 &gt; &amp;size=core::dimension2d&lt; f32 &gt;(10.0f, 10.0f), const core::vector3df &amp;position=core::vector3df(0, 0, 0), s32 id=&#45;1, video::SColor colorTop=0xFFFFFFFF, video::SColor colorBottom=0xFFFFFFFF)=0" -->
382<div class="memitem">
383<div class="memproto">
384 <table class="memname">
385 <tr>
386 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_billboard_scene_node.html">IBillboardSceneNode</a>* irr::scene::ISceneManager::addBillboardSceneNode </td>
387 <td>(</td>
388 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
389 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
390 </tr>
391 <tr>
392 <td class="paramkey"></td>
393 <td></td>
394 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
395 <td class="paramname"><em>size</em> = <code><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;&#160;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;&gt;(10.0f,&#160;10.0f)</code>, </td>
396 </tr>
397 <tr>
398 <td class="paramkey"></td>
399 <td></td>
400 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
401 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
402 </tr>
403 <tr>
404 <td class="paramkey"></td>
405 <td></td>
406 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
407 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
408 </tr>
409 <tr>
410 <td class="paramkey"></td>
411 <td></td>
412 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
413 <td class="paramname"><em>colorTop</em> = <code>0xFFFFFFFF</code>, </td>
414 </tr>
415 <tr>
416 <td class="paramkey"></td>
417 <td></td>
418 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
419 <td class="paramname"><em>colorBottom</em> = <code>0xFFFFFFFF</code>&#160;</td>
420 </tr>
421 <tr>
422 <td></td>
423 <td>)</td>
424 <td></td><td><code> [pure virtual]</code></td>
425 </tr>
426 </table>
427</div>
428<div class="memdoc">
429
430<p>Adds a billboard scene node to the scene graph. </p>
431<p>A billboard is like a 3d sprite: A 2d element, which always looks to the camera. It is usually used for things like explosions, fire, lensflares and things like that. </p>
432<dl><dt><b>Parameters:</b></dt><dd>
433 <table class="params">
434 <tr><td class="paramname">parent</td><td>Parent scene node of the billboard. Can be null. If the parent moves, the billboard will move too. </td></tr>
435 <tr><td class="paramname">size</td><td>Size of the billboard. This size is 2 dimensional because a billboard only has width and height. </td></tr>
436 <tr><td class="paramname">position</td><td>Position of the space relative to its parent where the billboard will be placed. </td></tr>
437 <tr><td class="paramname">id</td><td>An id of the node. This id can be used to identify the node. </td></tr>
438 <tr><td class="paramname">colorTop</td><td>The color of the vertices at the top of the billboard (default: white). </td></tr>
439 <tr><td class="paramname">colorBottom</td><td>The color of the vertices at the bottom of the billboard (default: white). </td></tr>
440 </table>
441 </dd>
442</dl>
443<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the billboard if successful, otherwise NULL. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
444
445</div>
446</div>
447<a class="anchor" id="a82e91e414ac6ad4f4c0eaa5b17ce3a44"></a><!-- doxytag: member="irr::scene::ISceneManager::addBillboardTextSceneNode" ref="a82e91e414ac6ad4f4c0eaa5b17ce3a44" args="(gui::IGUIFont *font, const wchar_t *text, ISceneNode *parent=0, const core::dimension2d&lt; f32 &gt; &amp;size=core::dimension2d&lt; f32 &gt;(10.0f, 10.0f), const core::vector3df &amp;position=core::vector3df(0, 0, 0), s32 id=&#45;1, video::SColor colorTop=0xFFFFFFFF, video::SColor colorBottom=0xFFFFFFFF)=0" -->
448<div class="memitem">
449<div class="memproto">
450 <table class="memname">
451 <tr>
452 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_billboard_text_scene_node.html">IBillboardTextSceneNode</a>* irr::scene::ISceneManager::addBillboardTextSceneNode </td>
453 <td>(</td>
454 <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">gui::IGUIFont</a> *&#160;</td>
455 <td class="paramname"><em>font</em>, </td>
456 </tr>
457 <tr>
458 <td class="paramkey"></td>
459 <td></td>
460 <td class="paramtype">const wchar_t *&#160;</td>
461 <td class="paramname"><em>text</em>, </td>
462 </tr>
463 <tr>
464 <td class="paramkey"></td>
465 <td></td>
466 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
467 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
468 </tr>
469 <tr>
470 <td class="paramkey"></td>
471 <td></td>
472 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
473 <td class="paramname"><em>size</em> = <code><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;&#160;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;&gt;(10.0f,&#160;10.0f)</code>, </td>
474 </tr>
475 <tr>
476 <td class="paramkey"></td>
477 <td></td>
478 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
479 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
480 </tr>
481 <tr>
482 <td class="paramkey"></td>
483 <td></td>
484 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
485 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
486 </tr>
487 <tr>
488 <td class="paramkey"></td>
489 <td></td>
490 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
491 <td class="paramname"><em>colorTop</em> = <code>0xFFFFFFFF</code>, </td>
492 </tr>
493 <tr>
494 <td class="paramkey"></td>
495 <td></td>
496 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
497 <td class="paramname"><em>colorBottom</em> = <code>0xFFFFFFFF</code>&#160;</td>
498 </tr>
499 <tr>
500 <td></td>
501 <td>)</td>
502 <td></td><td><code> [pure virtual]</code></td>
503 </tr>
504 </table>
505</div>
506<div class="memdoc">
507
508<p>Adds a text scene node, which uses billboards. The node, and the text on it, will scale with distance. </p>
509<dl><dt><b>Parameters:</b></dt><dd>
510 <table class="params">
511 <tr><td class="paramname">font</td><td>The font to use on the billboard. Pass 0 to use the GUI environment's default font. </td></tr>
512 <tr><td class="paramname">text</td><td>The text to display on the billboard. </td></tr>
513 <tr><td class="paramname">parent</td><td>The billboard's parent. Pass 0 to use the root scene node. </td></tr>
514 <tr><td class="paramname">size</td><td>The billboard's width and height. </td></tr>
515 <tr><td class="paramname">position</td><td>The billboards position relative to its parent. </td></tr>
516 <tr><td class="paramname">id,:</td><td>An id of the node. This id can be used to identify the node. </td></tr>
517 <tr><td class="paramname">colorTop,:</td><td>The color of the vertices at the top of the billboard (default: white). </td></tr>
518 <tr><td class="paramname">colorBottom,:</td><td>The color of the vertices at the bottom of the billboard (default: white). </td></tr>
519 </table>
520 </dd>
521</dl>
522<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the billboard if successful, otherwise NULL. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
523
524</div>
525</div>
526<a class="anchor" id="afc3733849319078d5d22d94f58c7d1f2"></a><!-- doxytag: member="irr::scene::ISceneManager::addCameraSceneNode" ref="afc3733849319078d5d22d94f58c7d1f2" args="(ISceneNode *parent=0, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;lookat=core::vector3df(0, 0, 100), s32 id=&#45;1, bool makeActive=true)=0" -->
527<div class="memitem">
528<div class="memproto">
529 <table class="memname">
530 <tr>
531 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a>* irr::scene::ISceneManager::addCameraSceneNode </td>
532 <td>(</td>
533 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
534 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
535 </tr>
536 <tr>
537 <td class="paramkey"></td>
538 <td></td>
539 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
540 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
541 </tr>
542 <tr>
543 <td class="paramkey"></td>
544 <td></td>
545 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
546 <td class="paramname"><em>lookat</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;100)</code>, </td>
547 </tr>
548 <tr>
549 <td class="paramkey"></td>
550 <td></td>
551 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
552 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
553 </tr>
554 <tr>
555 <td class="paramkey"></td>
556 <td></td>
557 <td class="paramtype">bool&#160;</td>
558 <td class="paramname"><em>makeActive</em> = <code>true</code>&#160;</td>
559 </tr>
560 <tr>
561 <td></td>
562 <td>)</td>
563 <td></td><td><code> [pure virtual]</code></td>
564 </tr>
565 </table>
566</div>
567<div class="memdoc">
568
569<p>Adds a camera scene node to the scene graph and sets it as active camera. </p>
570<p>This camera does not react on user input like for example the one created with <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac312cbc85161678d00192880f2cdddbb" title="Adds a camera scene node with an animator which provides mouse and keyboard control appropriate for f...">addCameraSceneNodeFPS()</a>. If you want to move or animate it, use animators or the <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a2166eb0a92cc0e46c49266f41a68ed50" title="Sets the position of the node relative to its parent.">ISceneNode::setPosition()</a>, <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a7280b07fd7915c64350db5a132b4ba07" title="Sets the look at target of the camera.">ICameraSceneNode::setTarget()</a> etc methods. By default, a camera's look at position (set with setTarget()) and its scene node rotation (set with setRotation()) are independent. If you want to be able to control the direction that the camera looks by using setRotation() then call ICameraSceneNode::bindTargetAndRotation(true) on it. </p>
571<dl><dt><b>Parameters:</b></dt><dd>
572 <table class="params">
573 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the camera will be placed. </td></tr>
574 <tr><td class="paramname">lookat,:</td><td>Position where the camera will look at. Also known as target. </td></tr>
575 <tr><td class="paramname">parent,:</td><td>Parent scene node of the camera. Can be null. If the parent moves, the camera will move too. </td></tr>
576 <tr><td class="paramname">id,:</td><td>id of the camera. This id can be used to identify the camera. </td></tr>
577 <tr><td class="paramname">makeActive</td><td>Flag whether this camera should become the active one. Make sure you always have one active camera. </td></tr>
578 </table>
579 </dd>
580</dl>
581<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to interface to camera if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
582
583</div>
584</div>
585<a class="anchor" id="ac312cbc85161678d00192880f2cdddbb"></a><!-- doxytag: member="irr::scene::ISceneManager::addCameraSceneNodeFPS" ref="ac312cbc85161678d00192880f2cdddbb" args="(ISceneNode *parent=0, f32 rotateSpeed=100.0f, f32 moveSpeed=0.5f, s32 id=&#45;1, SKeyMap *keyMapArray=0, s32 keyMapSize=0, bool noVerticalMovement=false, f32 jumpSpeed=0.f, bool invertMouse=false, bool makeActive=true)=0" -->
586<div class="memitem">
587<div class="memproto">
588 <table class="memname">
589 <tr>
590 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a>* irr::scene::ISceneManager::addCameraSceneNodeFPS </td>
591 <td>(</td>
592 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
593 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
594 </tr>
595 <tr>
596 <td class="paramkey"></td>
597 <td></td>
598 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
599 <td class="paramname"><em>rotateSpeed</em> = <code>100.0f</code>, </td>
600 </tr>
601 <tr>
602 <td class="paramkey"></td>
603 <td></td>
604 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
605 <td class="paramname"><em>moveSpeed</em> = <code>0.5f</code>, </td>
606 </tr>
607 <tr>
608 <td class="paramkey"></td>
609 <td></td>
610 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
611 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
612 </tr>
613 <tr>
614 <td class="paramkey"></td>
615 <td></td>
616 <td class="paramtype"><a class="el" href="structirr_1_1_s_key_map.html">SKeyMap</a> *&#160;</td>
617 <td class="paramname"><em>keyMapArray</em> = <code>0</code>, </td>
618 </tr>
619 <tr>
620 <td class="paramkey"></td>
621 <td></td>
622 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
623 <td class="paramname"><em>keyMapSize</em> = <code>0</code>, </td>
624 </tr>
625 <tr>
626 <td class="paramkey"></td>
627 <td></td>
628 <td class="paramtype">bool&#160;</td>
629 <td class="paramname"><em>noVerticalMovement</em> = <code>false</code>, </td>
630 </tr>
631 <tr>
632 <td class="paramkey"></td>
633 <td></td>
634 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
635 <td class="paramname"><em>jumpSpeed</em> = <code>0.f</code>, </td>
636 </tr>
637 <tr>
638 <td class="paramkey"></td>
639 <td></td>
640 <td class="paramtype">bool&#160;</td>
641 <td class="paramname"><em>invertMouse</em> = <code>false</code>, </td>
642 </tr>
643 <tr>
644 <td class="paramkey"></td>
645 <td></td>
646 <td class="paramtype">bool&#160;</td>
647 <td class="paramname"><em>makeActive</em> = <code>true</code>&#160;</td>
648 </tr>
649 <tr>
650 <td></td>
651 <td>)</td>
652 <td></td><td><code> [pure virtual]</code></td>
653 </tr>
654 </table>
655</div>
656<div class="memdoc">
657
658<p>Adds a camera scene node with an animator which provides mouse and keyboard control appropriate for first person shooters (FPS). </p>
659<p>This FPS camera is intended to provide a demonstration of a camera that behaves like a typical First Person Shooter. It is useful for simple demos and prototyping but is not intended to provide a full solution for a production quality game. It binds the camera scene node rotation to the look-at target; </p>
660<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#ad8785d7b2f730933a8d4425ac54e7205" title="Binds the camera scene node&#39;s rotation to its target position and vice vera, or unbinds them...">ICameraSceneNode::bindTargetAndRotation()</a>. With this camera, you look with the mouse, and move with cursor keys. If you want to change the key layout, you can specify your own keymap. For example to make the camera be controlled by the cursor keys AND the keys W,A,S, and D, do something like this: <div class="fragment"><pre class="fragment"> SKeyMap keyMap[8];
661 keyMap[0].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168af9ff845aa49060787ef81773eeaf1016">EKA_MOVE_FORWARD</a>;
662 keyMap[0].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3ae3341f66dcdd3d0cbce80ff741262395">KEY_UP</a>;
663 keyMap[1].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168af9ff845aa49060787ef81773eeaf1016">EKA_MOVE_FORWARD</a>;
664 keyMap[1].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3ae559e3169016a3180c45c2828f391af2">KEY_KEY_W</a>;
665
666 keyMap[2].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168af4c724e0a0923e497c7f8a48884e36d9">EKA_MOVE_BACKWARD</a>;
667 keyMap[2].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3acbab6476bacfd1212c52aba7c1c82886">KEY_DOWN</a>;
668 keyMap[3].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168af4c724e0a0923e497c7f8a48884e36d9">EKA_MOVE_BACKWARD</a>;
669 keyMap[3].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3ae52bafc112fc6c52f6b49cea42fa246e">KEY_KEY_S</a>;
670
671 keyMap[4].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168a91cad59a86b88c0e6ab5aa75b936d9c7">EKA_STRAFE_LEFT</a>;
672 keyMap[4].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3a71c43cf2c123fd75911fef5501a15241">KEY_LEFT</a>;
673 keyMap[5].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168a91cad59a86b88c0e6ab5aa75b936d9c7">EKA_STRAFE_LEFT</a>;
674 keyMap[5].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3a2fe10b4309013968b9cd14811c3d3c85">KEY_KEY_A</a>;
675
676 keyMap[6].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168a57c4bd21c235bca312e547c6d1061df2">EKA_STRAFE_RIGHT</a>;
677 keyMap[6].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3ae89f39517a44c78a6602d1b12b478118">KEY_RIGHT</a>;
678 keyMap[7].Action = <a class="code" href="namespaceirr.html#aa9946ac9f3142f9e790ce52d59fd6168a57c4bd21c235bca312e547c6d1061df2">EKA_STRAFE_RIGHT</a>;
679 keyMap[7].KeyCode = <a class="code" href="namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3ad20e7e220103e611752b90edeb6cbc9d">KEY_KEY_D</a>;
680
681 camera = sceneManager-&gt;addCameraSceneNodeFPS(0, 100, 500, -1, keyMap, 8);
682</pre></div> </dd></dl>
683<dl><dt><b>Parameters:</b></dt><dd>
684 <table class="params">
685 <tr><td class="paramname">parent,:</td><td>Parent scene node of the camera. Can be null. </td></tr>
686 <tr><td class="paramname">rotateSpeed,:</td><td>Speed in degress with which the camera is rotated. This can be done only with the mouse. </td></tr>
687 <tr><td class="paramname">moveSpeed,:</td><td>Speed in units per millisecond with which the camera is moved. Movement is done with the cursor keys. </td></tr>
688 <tr><td class="paramname">id,:</td><td>id of the camera. This id can be used to identify the camera. </td></tr>
689 <tr><td class="paramname">keyMapArray,:</td><td>Optional pointer to an array of a keymap, specifying what keys should be used to move the camera. If this is null, the default keymap is used. You can define actions more then one time in the array, to bind multiple keys to the same action. </td></tr>
690 <tr><td class="paramname">keyMapSize,:</td><td>Amount of items in the keymap array. </td></tr>
691 <tr><td class="paramname">noVerticalMovement,:</td><td>Setting this to true makes the camera only move within a horizontal plane, and disables vertical movement as known from most ego shooters. Default is 'false', with which it is possible to fly around in space, if no gravity is there. </td></tr>
692 <tr><td class="paramname">jumpSpeed,:</td><td>Speed with which the camera is moved when jumping. </td></tr>
693 <tr><td class="paramname">invertMouse,:</td><td>Setting this to true makes the camera look up when the mouse is moved down and down when the mouse is moved up, the default is 'false' which means it will follow the movement of the mouse cursor. </td></tr>
694 <tr><td class="paramname">makeActive</td><td>Flag whether this camera should become the active one. Make sure you always have one active camera. </td></tr>
695 </table>
696 </dd>
697</dl>
698<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the interface of the camera if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
699
700</div>
701</div>
702<a class="anchor" id="a18e81a59e02231567ac938ea287fe523"></a><!-- doxytag: member="irr::scene::ISceneManager::addCameraSceneNodeMaya" ref="a18e81a59e02231567ac938ea287fe523" args="(ISceneNode *parent=0, f32 rotateSpeed=&#45;1500.f, f32 zoomSpeed=200.f, f32 translationSpeed=1500.f, s32 id=&#45;1, f32 distance=70.f, bool makeActive=true)=0" -->
703<div class="memitem">
704<div class="memproto">
705 <table class="memname">
706 <tr>
707 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a>* irr::scene::ISceneManager::addCameraSceneNodeMaya </td>
708 <td>(</td>
709 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
710 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
711 </tr>
712 <tr>
713 <td class="paramkey"></td>
714 <td></td>
715 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
716 <td class="paramname"><em>rotateSpeed</em> = <code>-1500.f</code>, </td>
717 </tr>
718 <tr>
719 <td class="paramkey"></td>
720 <td></td>
721 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
722 <td class="paramname"><em>zoomSpeed</em> = <code>200.f</code>, </td>
723 </tr>
724 <tr>
725 <td class="paramkey"></td>
726 <td></td>
727 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
728 <td class="paramname"><em>translationSpeed</em> = <code>1500.f</code>, </td>
729 </tr>
730 <tr>
731 <td class="paramkey"></td>
732 <td></td>
733 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
734 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
735 </tr>
736 <tr>
737 <td class="paramkey"></td>
738 <td></td>
739 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
740 <td class="paramname"><em>distance</em> = <code>70.f</code>, </td>
741 </tr>
742 <tr>
743 <td class="paramkey"></td>
744 <td></td>
745 <td class="paramtype">bool&#160;</td>
746 <td class="paramname"><em>makeActive</em> = <code>true</code>&#160;</td>
747 </tr>
748 <tr>
749 <td></td>
750 <td>)</td>
751 <td></td><td><code> [pure virtual]</code></td>
752 </tr>
753 </table>
754</div>
755<div class="memdoc">
756
757<p>Adds a maya style user controlled camera scene node to the scene graph. </p>
758<p>This is a standard camera with an animator that provides mouse control similar to camera in the 3D Software Maya by Alias Wavefront. The camera does not react on setPosition anymore after applying this animator. Instead use setTarget, to fix the target the camera the camera hovers around. And setDistance to set the current distance from that target, i.e. the radius of the orbit the camera hovers on. </p>
759<dl><dt><b>Parameters:</b></dt><dd>
760 <table class="params">
761 <tr><td class="paramname">parent,:</td><td>Parent scene node of the camera. Can be null. </td></tr>
762 <tr><td class="paramname">rotateSpeed,:</td><td>Rotation speed of the camera. </td></tr>
763 <tr><td class="paramname">zoomSpeed,:</td><td>Zoom speed of the camera. </td></tr>
764 <tr><td class="paramname">translationSpeed,:</td><td>TranslationSpeed of the camera. </td></tr>
765 <tr><td class="paramname">id,:</td><td>id of the camera. This id can be used to identify the camera. </td></tr>
766 <tr><td class="paramname">distance</td><td>Initial distance of the camera from the object </td></tr>
767 <tr><td class="paramname">makeActive</td><td>Flag whether this camera should become the active one. Make sure you always have one active camera. </td></tr>
768 </table>
769 </dd>
770</dl>
771<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a pointer to the interface of the camera if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
772
773</div>
774</div>
775<a class="anchor" id="a23d1328c68b1585f613108f386fabc1c"></a><!-- doxytag: member="irr::scene::ISceneManager::addCubeSceneNode" ref="a23d1328c68b1585f613108f386fabc1c" args="(f32 size=10.0f, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0" -->
776<div class="memitem">
777<div class="memproto">
778 <table class="memname">
779 <tr>
780 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addCubeSceneNode </td>
781 <td>(</td>
782 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
783 <td class="paramname"><em>size</em> = <code>10.0f</code>, </td>
784 </tr>
785 <tr>
786 <td class="paramkey"></td>
787 <td></td>
788 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
789 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
790 </tr>
791 <tr>
792 <td class="paramkey"></td>
793 <td></td>
794 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
795 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
796 </tr>
797 <tr>
798 <td class="paramkey"></td>
799 <td></td>
800 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
801 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
802 </tr>
803 <tr>
804 <td class="paramkey"></td>
805 <td></td>
806 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
807 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
808 </tr>
809 <tr>
810 <td class="paramkey"></td>
811 <td></td>
812 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
813 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>&#160;</td>
814 </tr>
815 <tr>
816 <td></td>
817 <td>)</td>
818 <td></td><td><code> [pure virtual]</code></td>
819 </tr>
820 </table>
821</div>
822<div class="memdoc">
823
824<p>Adds a cube scene node. </p>
825<dl><dt><b>Parameters:</b></dt><dd>
826 <table class="params">
827 <tr><td class="paramname">size,:</td><td>Size of the cube, uniformly in each dimension. </td></tr>
828 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be 0 if no parent. </td></tr>
829 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
830 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the scene node will be placed. </td></tr>
831 <tr><td class="paramname">rotation,:</td><td>Initital rotation of the scene node. </td></tr>
832 <tr><td class="paramname">scale,:</td><td>Initial scale of the scene node. </td></tr>
833 </table>
834 </dd>
835</dl>
836<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created test scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
837
838</div>
839</div>
840<a class="anchor" id="ad7aa119894aa960f428b7baefcedc58a"></a><!-- doxytag: member="irr::scene::ISceneManager::addDummyTransformationSceneNode" ref="ad7aa119894aa960f428b7baefcedc58a" args="(ISceneNode *parent=0, s32 id=&#45;1)=0" -->
841<div class="memitem">
842<div class="memproto">
843 <table class="memname">
844 <tr>
845 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_dummy_transformation_scene_node.html">IDummyTransformationSceneNode</a>* irr::scene::ISceneManager::addDummyTransformationSceneNode </td>
846 <td>(</td>
847 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
848 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
849 </tr>
850 <tr>
851 <td class="paramkey"></td>
852 <td></td>
853 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
854 <td class="paramname"><em>id</em> = <code>-1</code>&#160;</td>
855 </tr>
856 <tr>
857 <td></td>
858 <td>)</td>
859 <td></td><td><code> [pure virtual]</code></td>
860 </tr>
861 </table>
862</div>
863<div class="memdoc">
864
865<p>Adds a dummy transformation scene node to the scene graph. </p>
866<p>This scene node does not render itself, and does not respond to set/getPosition, set/getRotation and set/getScale. Its just a simple scene node that takes a matrix as relative transformation, making it possible to insert any transformation anywhere into the scene graph. </p>
867<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
868
869</div>
870</div>
871<a class="anchor" id="a3811d3d2a092474e2c5613d550678187"></a><!-- doxytag: member="irr::scene::ISceneManager::addEmptySceneNode" ref="a3811d3d2a092474e2c5613d550678187" args="(ISceneNode *parent=0, s32 id=&#45;1)=0" -->
872<div class="memitem">
873<div class="memproto">
874 <table class="memname">
875 <tr>
876 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::addEmptySceneNode </td>
877 <td>(</td>
878 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
879 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
880 </tr>
881 <tr>
882 <td class="paramkey"></td>
883 <td></td>
884 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
885 <td class="paramname"><em>id</em> = <code>-1</code>&#160;</td>
886 </tr>
887 <tr>
888 <td></td>
889 <td>)</td>
890 <td></td><td><code> [pure virtual]</code></td>
891 </tr>
892 </table>
893</div>
894<div class="memdoc">
895
896<p>Adds an empty scene node to the scene graph. </p>
897<p>Can be used for doing advanced transformations or structuring the scene graph. </p>
898<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
899
900</div>
901</div>
902<a class="anchor" id="a808972cc001db86c0576c38b3b3fbbf7"></a><!-- doxytag: member="irr::scene::ISceneManager::addExternalMeshLoader" ref="a808972cc001db86c0576c38b3b3fbbf7" args="(IMeshLoader *externalLoader)=0" -->
903<div class="memitem">
904<div class="memproto">
905 <table class="memname">
906 <tr>
907 <td class="memname">virtual void irr::scene::ISceneManager::addExternalMeshLoader </td>
908 <td>(</td>
909 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh_loader.html">IMeshLoader</a> *&#160;</td>
910 <td class="paramname"><em>externalLoader</em></td><td>)</td>
911 <td><code> [pure virtual]</code></td>
912 </tr>
913 </table>
914</div>
915<div class="memdoc">
916
917<p>Adds an external mesh loader for extending the engine with new file formats. </p>
918<p>If you want the engine to be extended with file formats it currently is not able to load (e.g. .cob), just implement the <a class="el" href="classirr_1_1scene_1_1_i_mesh_loader.html" title="Class which is able to load an animated mesh from a file.">IMeshLoader</a> interface in your loading class and add it with this method. Using this method it is also possible to override built-in mesh loaders with newer or updated versions without the need to recompile the engine. </p>
919<dl><dt><b>Parameters:</b></dt><dd>
920 <table class="params">
921 <tr><td class="paramname">externalLoader,:</td><td>Implementation of a new mesh loader. </td></tr>
922 </table>
923 </dd>
924</dl>
925
926</div>
927</div>
928<a class="anchor" id="a8f0bc0221c4faaca80ac8f560ee424ef"></a><!-- doxytag: member="irr::scene::ISceneManager::addExternalSceneLoader" ref="a8f0bc0221c4faaca80ac8f560ee424ef" args="(ISceneLoader *externalLoader)=0" -->
929<div class="memitem">
930<div class="memproto">
931 <table class="memname">
932 <tr>
933 <td class="memname">virtual void irr::scene::ISceneManager::addExternalSceneLoader </td>
934 <td>(</td>
935 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_loader.html">ISceneLoader</a> *&#160;</td>
936 <td class="paramname"><em>externalLoader</em></td><td>)</td>
937 <td><code> [pure virtual]</code></td>
938 </tr>
939 </table>
940</div>
941<div class="memdoc">
942
943<p>Adds an external scene loader for extending the engine with new file formats. </p>
944<p>If you want the engine to be extended with file formats it currently is not able to load (e.g. .vrml), just implement the <a class="el" href="classirr_1_1scene_1_1_i_scene_loader.html" title="Class which can load a scene into the scene manager.">ISceneLoader</a> interface in your loading class and add it with this method. Using this method it is also possible to override the built-in scene loaders with newer or updated versions without the need to recompile the engine. </p>
945<dl><dt><b>Parameters:</b></dt><dd>
946 <table class="params">
947 <tr><td class="paramname">externalLoader,:</td><td>Implementation of a new mesh loader. </td></tr>
948 </table>
949 </dd>
950</dl>
951
952</div>
953</div>
954<a class="anchor" id="a2eb986c6975ebc1aa1f68c878ac8dcda"></a><!-- doxytag: member="irr::scene::ISceneManager::addHillPlaneMesh" ref="a2eb986c6975ebc1aa1f68c878ac8dcda" args="(const io::path &amp;name, const core::dimension2d&lt; f32 &gt; &amp;tileSize, const core::dimension2d&lt; u32 &gt; &amp;tileCount, video::SMaterial *material=0, f32 hillHeight=0.0f, const core::dimension2d&lt; f32 &gt; &amp;countHills=core::dimension2d&lt; f32 &gt;(0.0f, 0.0f), const core::dimension2d&lt; f32 &gt; &amp;textureRepeatCount=core::dimension2d&lt; f32 &gt;(1.0f, 1.0f))=0" -->
955<div class="memitem">
956<div class="memproto">
957 <table class="memname">
958 <tr>
959 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a>* irr::scene::ISceneManager::addHillPlaneMesh </td>
960 <td>(</td>
961 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
962 <td class="paramname"><em>name</em>, </td>
963 </tr>
964 <tr>
965 <td class="paramkey"></td>
966 <td></td>
967 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
968 <td class="paramname"><em>tileSize</em>, </td>
969 </tr>
970 <tr>
971 <td class="paramkey"></td>
972 <td></td>
973 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
974 <td class="paramname"><em>tileCount</em>, </td>
975 </tr>
976 <tr>
977 <td class="paramkey"></td>
978 <td></td>
979 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> *&#160;</td>
980 <td class="paramname"><em>material</em> = <code>0</code>, </td>
981 </tr>
982 <tr>
983 <td class="paramkey"></td>
984 <td></td>
985 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
986 <td class="paramname"><em>hillHeight</em> = <code>0.0f</code>, </td>
987 </tr>
988 <tr>
989 <td class="paramkey"></td>
990 <td></td>
991 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
992 <td class="paramname"><em>countHills</em> = <code><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;&#160;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;&gt;(0.0f,&#160;0.0f)</code>, </td>
993 </tr>
994 <tr>
995 <td class="paramkey"></td>
996 <td></td>
997 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
998 <td class="paramname"><em>textureRepeatCount</em> = <code><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;&#160;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;&gt;(1.0f,&#160;1.0f)</code>&#160;</td>
999 </tr>
1000 <tr>
1001 <td></td>
1002 <td>)</td>
1003 <td></td><td><code> [pure virtual]</code></td>
1004 </tr>
1005 </table>
1006</div>
1007<div class="memdoc">
1008
1009<p>Adds a Hill Plane mesh to the mesh pool. </p>
1010<p>The mesh is generated on the fly and looks like a plane with some hills on it. It is uses mostly for quick tests of the engine only. You can specify how many hills there should be on the plane and how high they should be. Also you must specify a name for the mesh, because the mesh is added to the mesh pool, and can be retrieved again using <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">ISceneManager::getMesh()</a> with the name as parameter. </p>
1011<dl><dt><b>Parameters:</b></dt><dd>
1012 <table class="params">
1013 <tr><td class="paramname">name,:</td><td>The name of this mesh which must be specified in order to be able to retrieve the mesh later with <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">ISceneManager::getMesh()</a>. </td></tr>
1014 <tr><td class="paramname">tileSize,:</td><td>Size of a tile of the mesh. (10.0f, 10.0f) would be a good value to start, for example. </td></tr>
1015 <tr><td class="paramname">tileCount,:</td><td>Specifies how much tiles there will be. If you specifiy for example that a tile has the size (10.0f, 10.0f) and the tileCount is (10,10), than you get a field of 100 tiles which has the dimension 100.0fx100.0f. </td></tr>
1016 <tr><td class="paramname">material,:</td><td>Material of the hill mesh. </td></tr>
1017 <tr><td class="paramname">hillHeight,:</td><td>Height of the hills. If you specify a negative value you will get holes instead of hills. If the height is 0, no hills will be created. </td></tr>
1018 <tr><td class="paramname">countHills,:</td><td>Amount of hills on the plane. There will be countHills.X hills along the X axis and countHills.Y along the Y axis. So in total there will be countHills.X * countHills.Y hills. </td></tr>
1019 <tr><td class="paramname">textureRepeatCount,:</td><td>Defines how often the texture will be repeated in x and y direction. return Null if the creation failed. The reason could be that you specified some invalid parameters or that a mesh with that name already exists. If successful, a pointer to the mesh is returned. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </td></tr>
1020 </table>
1021 </dd>
1022</dl>
1023
1024</div>
1025</div>
1026<a class="anchor" id="a2e6442f8c95a544c355bd137ccdb7095"></a><!-- doxytag: member="irr::scene::ISceneManager::addLightSceneNode" ref="a2e6442f8c95a544c355bd137ccdb7095" args="(ISceneNode *parent=0, const core::vector3df &amp;position=core::vector3df(0, 0, 0), video::SColorf color=video::SColorf(1.0f, 1.0f, 1.0f), f32 radius=100.0f, s32 id=&#45;1)=0" -->
1027<div class="memitem">
1028<div class="memproto">
1029 <table class="memname">
1030 <tr>
1031 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html">ILightSceneNode</a>* irr::scene::ISceneManager::addLightSceneNode </td>
1032 <td>(</td>
1033 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1034 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1035 </tr>
1036 <tr>
1037 <td class="paramkey"></td>
1038 <td></td>
1039 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1040 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
1041 </tr>
1042 <tr>
1043 <td class="paramkey"></td>
1044 <td></td>
1045 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a>&#160;</td>
1046 <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>, </td>
1047 </tr>
1048 <tr>
1049 <td class="paramkey"></td>
1050 <td></td>
1051 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1052 <td class="paramname"><em>radius</em> = <code>100.0f</code>, </td>
1053 </tr>
1054 <tr>
1055 <td class="paramkey"></td>
1056 <td></td>
1057 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1058 <td class="paramname"><em>id</em> = <code>-1</code>&#160;</td>
1059 </tr>
1060 <tr>
1061 <td></td>
1062 <td>)</td>
1063 <td></td><td><code> [pure virtual]</code></td>
1064 </tr>
1065 </table>
1066</div>
1067<div class="memdoc">
1068
1069<p>Adds a dynamic light scene node to the scene graph. </p>
1070<p>The light will cast dynamic light on all other scene nodes in the scene, which have the material flag video::MTF_LIGHTING turned on. (This is the default setting in most scene nodes). </p>
1071<dl><dt><b>Parameters:</b></dt><dd>
1072 <table class="params">
1073 <tr><td class="paramname">parent,:</td><td>Parent scene node of the light. Can be null. If the parent moves, the light will move too. </td></tr>
1074 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the light will be placed. </td></tr>
1075 <tr><td class="paramname">color,:</td><td>Diffuse color of the light. Ambient or Specular colors can be set manually with the <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a20147e049be1a4790346fd72b150b30c" title="Gets the light data associated with this ILightSceneNode.">ILightSceneNode::getLightData()</a> method. </td></tr>
1076 <tr><td class="paramname">radius,:</td><td>Radius of the light. </td></tr>
1077 <tr><td class="paramname">id,:</td><td>id of the node. This id can be used to identify the node. </td></tr>
1078 </table>
1079 </dd>
1080</dl>
1081<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the interface of the light if successful, otherwise NULL. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1082
1083</div>
1084</div>
1085<a class="anchor" id="aa0a32f9f5b13d94e24eed80bdb999919"></a><!-- doxytag: member="irr::scene::ISceneManager::addMeshSceneNode" ref="aa0a32f9f5b13d94e24eed80bdb999919" args="(IMesh *mesh, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f), bool alsoAddIfMeshPointerZero=false)=0" -->
1086<div class="memitem">
1087<div class="memproto">
1088 <table class="memname">
1089 <tr>
1090 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addMeshSceneNode </td>
1091 <td>(</td>
1092 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *&#160;</td>
1093 <td class="paramname"><em>mesh</em>, </td>
1094 </tr>
1095 <tr>
1096 <td class="paramkey"></td>
1097 <td></td>
1098 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1099 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1100 </tr>
1101 <tr>
1102 <td class="paramkey"></td>
1103 <td></td>
1104 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1105 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1106 </tr>
1107 <tr>
1108 <td class="paramkey"></td>
1109 <td></td>
1110 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1111 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
1112 </tr>
1113 <tr>
1114 <td class="paramkey"></td>
1115 <td></td>
1116 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1117 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
1118 </tr>
1119 <tr>
1120 <td class="paramkey"></td>
1121 <td></td>
1122 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1123 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>, </td>
1124 </tr>
1125 <tr>
1126 <td class="paramkey"></td>
1127 <td></td>
1128 <td class="paramtype">bool&#160;</td>
1129 <td class="paramname"><em>alsoAddIfMeshPointerZero</em> = <code>false</code>&#160;</td>
1130 </tr>
1131 <tr>
1132 <td></td>
1133 <td>)</td>
1134 <td></td><td><code> [pure virtual]</code></td>
1135 </tr>
1136 </table>
1137</div>
1138<div class="memdoc">
1139
1140<p>Adds a scene node for rendering a static mesh. </p>
1141<dl><dt><b>Parameters:</b></dt><dd>
1142 <table class="params">
1143 <tr><td class="paramname">mesh,:</td><td>Pointer to the loaded static mesh to be displayed. </td></tr>
1144 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be NULL if no parent. </td></tr>
1145 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
1146 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the scene node will be placed. </td></tr>
1147 <tr><td class="paramname">rotation,:</td><td>Initital rotation of the scene node. </td></tr>
1148 <tr><td class="paramname">scale,:</td><td>Initial scale of the scene node. </td></tr>
1149 <tr><td class="paramname">alsoAddIfMeshPointerZero,:</td><td>Add the scene node even if a 0 pointer is passed. </td></tr>
1150 </table>
1151 </dd>
1152</dl>
1153<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1154
1155</div>
1156</div>
1157<a class="anchor" id="a503339385ca2b33d7e8035a61c4eca84"></a><!-- doxytag: member="irr::scene::ISceneManager::addOctreeSceneNode" ref="a503339385ca2b33d7e8035a61c4eca84" args="(IAnimatedMesh *mesh, ISceneNode *parent=0, s32 id=&#45;1, s32 minimalPolysPerNode=512, bool alsoAddIfMeshPointerZero=false)=0" -->
1158<div class="memitem">
1159<div class="memproto">
1160 <table class="memname">
1161 <tr>
1162 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addOctreeSceneNode </td>
1163 <td>(</td>
1164 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> *&#160;</td>
1165 <td class="paramname"><em>mesh</em>, </td>
1166 </tr>
1167 <tr>
1168 <td class="paramkey"></td>
1169 <td></td>
1170 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1171 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1172 </tr>
1173 <tr>
1174 <td class="paramkey"></td>
1175 <td></td>
1176 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1177 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1178 </tr>
1179 <tr>
1180 <td class="paramkey"></td>
1181 <td></td>
1182 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1183 <td class="paramname"><em>minimalPolysPerNode</em> = <code>512</code>, </td>
1184 </tr>
1185 <tr>
1186 <td class="paramkey"></td>
1187 <td></td>
1188 <td class="paramtype">bool&#160;</td>
1189 <td class="paramname"><em>alsoAddIfMeshPointerZero</em> = <code>false</code>&#160;</td>
1190 </tr>
1191 <tr>
1192 <td></td>
1193 <td>)</td>
1194 <td></td><td><code> [pure virtual]</code></td>
1195 </tr>
1196 </table>
1197</div>
1198<div class="memdoc">
1199
1200<p>Adds a scene node for rendering using a octree to the scene graph. </p>
1201<p>This a good method for rendering scenes with lots of geometry. The Octree is built on the fly from the mesh. </p>
1202<dl><dt><b>Parameters:</b></dt><dd>
1203 <table class="params">
1204 <tr><td class="paramname">mesh,:</td><td>The mesh containing all geometry from which the octree will be build. If this animated mesh has more than one frames in it, the first frame is taken. </td></tr>
1205 <tr><td class="paramname">parent,:</td><td>Parent node of the octree node. </td></tr>
1206 <tr><td class="paramname">id,:</td><td>id of the node. This id can be used to identify the node. </td></tr>
1207 <tr><td class="paramname">minimalPolysPerNode,:</td><td>Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes. </td></tr>
1208 <tr><td class="paramname">alsoAddIfMeshPointerZero,:</td><td>Add the scene node even if a 0 pointer is passed. </td></tr>
1209 </table>
1210 </dd>
1211</dl>
1212<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the Octree if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1213
1214<p>Referenced by <a class="el" href="_i_scene_manager_8h_source.html#l00566">addOctTreeSceneNode()</a>.</p>
1215
1216</div>
1217</div>
1218<a class="anchor" id="abfa8d1ebb1ff681d588aea98e6e2b193"></a><!-- doxytag: member="irr::scene::ISceneManager::addOctreeSceneNode" ref="abfa8d1ebb1ff681d588aea98e6e2b193" args="(IMesh *mesh, ISceneNode *parent=0, s32 id=&#45;1, s32 minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false)=0" -->
1219<div class="memitem">
1220<div class="memproto">
1221 <table class="memname">
1222 <tr>
1223 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addOctreeSceneNode </td>
1224 <td>(</td>
1225 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *&#160;</td>
1226 <td class="paramname"><em>mesh</em>, </td>
1227 </tr>
1228 <tr>
1229 <td class="paramkey"></td>
1230 <td></td>
1231 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1232 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1233 </tr>
1234 <tr>
1235 <td class="paramkey"></td>
1236 <td></td>
1237 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1238 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1239 </tr>
1240 <tr>
1241 <td class="paramkey"></td>
1242 <td></td>
1243 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1244 <td class="paramname"><em>minimalPolysPerNode</em> = <code>256</code>, </td>
1245 </tr>
1246 <tr>
1247 <td class="paramkey"></td>
1248 <td></td>
1249 <td class="paramtype">bool&#160;</td>
1250 <td class="paramname"><em>alsoAddIfMeshPointerZero</em> = <code>false</code>&#160;</td>
1251 </tr>
1252 <tr>
1253 <td></td>
1254 <td>)</td>
1255 <td></td><td><code> [pure virtual]</code></td>
1256 </tr>
1257 </table>
1258</div>
1259<div class="memdoc">
1260
1261<p>Adds a scene node for rendering using a octree to the scene graph. </p>
1262<p>This a good method for rendering scenes with lots of geometry. The Octree is built on the fly from the mesh, much faster then a bsp tree. </p>
1263<dl><dt><b>Parameters:</b></dt><dd>
1264 <table class="params">
1265 <tr><td class="paramname">mesh,:</td><td>The mesh containing all geometry from which the octree will be build. </td></tr>
1266 <tr><td class="paramname">parent,:</td><td>Parent node of the octree node. </td></tr>
1267 <tr><td class="paramname">id,:</td><td>id of the node. This id can be used to identify the node. </td></tr>
1268 <tr><td class="paramname">minimalPolysPerNode,:</td><td>Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes. </td></tr>
1269 <tr><td class="paramname">alsoAddIfMeshPointerZero,:</td><td>Add the scene node even if a 0 pointer is passed. </td></tr>
1270 </table>
1271 </dd>
1272</dl>
1273<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the octree if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1274
1275</div>
1276</div>
1277<a class="anchor" id="ad976720f7b110b47374e129b29e4e572"></a><!-- doxytag: member="irr::scene::ISceneManager::addOctTreeSceneNode" ref="ad976720f7b110b47374e129b29e4e572" args="(IAnimatedMesh *mesh, ISceneNode *parent=0, s32 id=&#45;1, s32 minimalPolysPerNode=512, bool alsoAddIfMeshPointerZero=false)" -->
1278<div class="memitem">
1279<div class="memproto">
1280 <table class="memname">
1281 <tr>
1282 <td class="memname">_IRR_DEPRECATED_ <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addOctTreeSceneNode </td>
1283 <td>(</td>
1284 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a> *&#160;</td>
1285 <td class="paramname"><em>mesh</em>, </td>
1286 </tr>
1287 <tr>
1288 <td class="paramkey"></td>
1289 <td></td>
1290 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1291 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1292 </tr>
1293 <tr>
1294 <td class="paramkey"></td>
1295 <td></td>
1296 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1297 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1298 </tr>
1299 <tr>
1300 <td class="paramkey"></td>
1301 <td></td>
1302 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1303 <td class="paramname"><em>minimalPolysPerNode</em> = <code>512</code>, </td>
1304 </tr>
1305 <tr>
1306 <td class="paramkey"></td>
1307 <td></td>
1308 <td class="paramtype">bool&#160;</td>
1309 <td class="paramname"><em>alsoAddIfMeshPointerZero</em> = <code>false</code>&#160;</td>
1310 </tr>
1311 <tr>
1312 <td></td>
1313 <td>)</td>
1314 <td></td><td><code> [inline]</code></td>
1315 </tr>
1316 </table>
1317</div>
1318<div class="memdoc">
1319
1320<p>Adds a scene node for rendering using a octree to the scene graph. </p>
1321<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd>Use addOctreeSceneNode instead. This method may be removed by Irrlicht 1.9. </dd></dl>
1322
1323<p>Definition at line <a class="el" href="_i_scene_manager_8h_source.html#l00566">566</a> of file <a class="el" href="_i_scene_manager_8h_source.html">ISceneManager.h</a>.</p>
1324
1325<p>References <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a503339385ca2b33d7e8035a61c4eca84">addOctreeSceneNode()</a>.</p>
1326
1327</div>
1328</div>
1329<a class="anchor" id="af2f5dfc8d5d0f525aee59058fd7457cd"></a><!-- doxytag: member="irr::scene::ISceneManager::addOctTreeSceneNode" ref="af2f5dfc8d5d0f525aee59058fd7457cd" args="(IMesh *mesh, ISceneNode *parent=0, s32 id=&#45;1, s32 minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false)" -->
1330<div class="memitem">
1331<div class="memproto">
1332 <table class="memname">
1333 <tr>
1334 <td class="memname">_IRR_DEPRECATED_ <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addOctTreeSceneNode </td>
1335 <td>(</td>
1336 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *&#160;</td>
1337 <td class="paramname"><em>mesh</em>, </td>
1338 </tr>
1339 <tr>
1340 <td class="paramkey"></td>
1341 <td></td>
1342 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1343 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1344 </tr>
1345 <tr>
1346 <td class="paramkey"></td>
1347 <td></td>
1348 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1349 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1350 </tr>
1351 <tr>
1352 <td class="paramkey"></td>
1353 <td></td>
1354 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1355 <td class="paramname"><em>minimalPolysPerNode</em> = <code>256</code>, </td>
1356 </tr>
1357 <tr>
1358 <td class="paramkey"></td>
1359 <td></td>
1360 <td class="paramtype">bool&#160;</td>
1361 <td class="paramname"><em>alsoAddIfMeshPointerZero</em> = <code>false</code>&#160;</td>
1362 </tr>
1363 <tr>
1364 <td></td>
1365 <td>)</td>
1366 <td></td><td><code> [inline]</code></td>
1367 </tr>
1368 </table>
1369</div>
1370<div class="memdoc">
1371
1372<p>Adds a scene node for rendering using a octree to the scene graph. </p>
1373<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000019">Deprecated:</a></b></dt><dd>Use addOctreeSceneNode instead. This method may be removed by Irrlicht 1.9. </dd></dl>
1374
1375<p>Definition at line <a class="el" href="_i_scene_manager_8h_source.html#l00590">590</a> of file <a class="el" href="_i_scene_manager_8h_source.html">ISceneManager.h</a>.</p>
1376
1377<p>References <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a503339385ca2b33d7e8035a61c4eca84">addOctreeSceneNode()</a>.</p>
1378
1379</div>
1380</div>
1381<a class="anchor" id="a1c1c2b024a01bd1d6d56518926e37fa8"></a><!-- doxytag: member="irr::scene::ISceneManager::addParticleSystemSceneNode" ref="a1c1c2b024a01bd1d6d56518926e37fa8" args="(bool withDefaultEmitter=true, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0" -->
1382<div class="memitem">
1383<div class="memproto">
1384 <table class="memname">
1385 <tr>
1386 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_particle_system_scene_node.html">IParticleSystemSceneNode</a>* irr::scene::ISceneManager::addParticleSystemSceneNode </td>
1387 <td>(</td>
1388 <td class="paramtype">bool&#160;</td>
1389 <td class="paramname"><em>withDefaultEmitter</em> = <code>true</code>, </td>
1390 </tr>
1391 <tr>
1392 <td class="paramkey"></td>
1393 <td></td>
1394 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1395 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1396 </tr>
1397 <tr>
1398 <td class="paramkey"></td>
1399 <td></td>
1400 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1401 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1402 </tr>
1403 <tr>
1404 <td class="paramkey"></td>
1405 <td></td>
1406 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1407 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
1408 </tr>
1409 <tr>
1410 <td class="paramkey"></td>
1411 <td></td>
1412 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1413 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
1414 </tr>
1415 <tr>
1416 <td class="paramkey"></td>
1417 <td></td>
1418 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1419 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>&#160;</td>
1420 </tr>
1421 <tr>
1422 <td></td>
1423 <td>)</td>
1424 <td></td><td><code> [pure virtual]</code></td>
1425 </tr>
1426 </table>
1427</div>
1428<div class="memdoc">
1429
1430<p>Adds a particle system scene node to the scene graph. </p>
1431<dl><dt><b>Parameters:</b></dt><dd>
1432 <table class="params">
1433 <tr><td class="paramname">withDefaultEmitter,:</td><td>Creates a default working point emitter which emitts some particles. Set this to true to see a particle system in action. If set to false, you'll have to set the emitter you want by calling <a class="el" href="classirr_1_1scene_1_1_i_particle_system_scene_node.html#aececff4531482ce976f1859c40bf3f76" title="Sets the particle emitter, which creates the particles.">IParticleSystemSceneNode::setEmitter()</a>. </td></tr>
1434 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be NULL if no parent. </td></tr>
1435 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
1436 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the scene node will be placed. </td></tr>
1437 <tr><td class="paramname">rotation,:</td><td>Initital rotation of the scene node. </td></tr>
1438 <tr><td class="paramname">scale,:</td><td>Initial scale of the scene node. </td></tr>
1439 </table>
1440 </dd>
1441</dl>
1442<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1443
1444</div>
1445</div>
1446<a class="anchor" id="a58642d304110532988d27cebbe76ed41"></a><!-- doxytag: member="irr::scene::ISceneManager::addQuake3SceneNode" ref="a58642d304110532988d27cebbe76ed41" args="(const IMeshBuffer *meshBuffer, const quake3::IShader *shader, ISceneNode *parent=0, s32 id=&#45;1)=0" -->
1447<div class="memitem">
1448<div class="memproto">
1449 <table class="memname">
1450 <tr>
1451 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addQuake3SceneNode </td>
1452 <td>(</td>
1453 <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> *&#160;</td>
1454 <td class="paramname"><em>meshBuffer</em>, </td>
1455 </tr>
1456 <tr>
1457 <td class="paramkey"></td>
1458 <td></td>
1459 <td class="paramtype">const <a class="el" href="structirr_1_1scene_1_1quake3_1_1_i_shader.html">quake3::IShader</a> *&#160;</td>
1460 <td class="paramname"><em>shader</em>, </td>
1461 </tr>
1462 <tr>
1463 <td class="paramkey"></td>
1464 <td></td>
1465 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1466 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1467 </tr>
1468 <tr>
1469 <td class="paramkey"></td>
1470 <td></td>
1471 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1472 <td class="paramname"><em>id</em> = <code>-1</code>&#160;</td>
1473 </tr>
1474 <tr>
1475 <td></td>
1476 <td>)</td>
1477 <td></td><td><code> [pure virtual]</code></td>
1478 </tr>
1479 </table>
1480</div>
1481<div class="memdoc">
1482
1483<p>Adds a <a class="el" href="namespaceirr_1_1scene_1_1quake3.html">quake3</a> scene node to the scene graph. </p>
1484<p>A Quake3 Scene renders multiple meshes for a specific HighLanguage Shader (Quake3 Style ) </p>
1485<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the <a class="el" href="namespaceirr_1_1scene_1_1quake3.html">quake3</a> scene node if successful, otherwise NULL. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1486
1487</div>
1488</div>
1489<a class="anchor" id="a22ea17e8c06a773af9828f7bb70cdc40"></a><!-- doxytag: member="irr::scene::ISceneManager::addSceneNode" ref="a22ea17e8c06a773af9828f7bb70cdc40" args="(const char *sceneNodeTypeName, ISceneNode *parent=0)=0" -->
1490<div class="memitem">
1491<div class="memproto">
1492 <table class="memname">
1493 <tr>
1494 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::addSceneNode </td>
1495 <td>(</td>
1496 <td class="paramtype">const char *&#160;</td>
1497 <td class="paramname"><em>sceneNodeTypeName</em>, </td>
1498 </tr>
1499 <tr>
1500 <td class="paramkey"></td>
1501 <td></td>
1502 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1503 <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
1504 </tr>
1505 <tr>
1506 <td></td>
1507 <td>)</td>
1508 <td></td><td><code> [pure virtual]</code></td>
1509 </tr>
1510 </table>
1511</div>
1512<div class="memdoc">
1513
1514<p>Adds a scene node to the scene by name. </p>
1515<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the scene node added by a factory This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1516
1517</div>
1518</div>
1519<a class="anchor" id="a2b08b9f20ec62faeffc02b9fed9fd683"></a><!-- doxytag: member="irr::scene::ISceneManager::addSkyBoxSceneNode" ref="a2b08b9f20ec62faeffc02b9fed9fd683" args="(video::ITexture *top, video::ITexture *bottom, video::ITexture *left, video::ITexture *right, video::ITexture *front, video::ITexture *back, ISceneNode *parent=0, s32 id=&#45;1)=0" -->
1520<div class="memitem">
1521<div class="memproto">
1522 <table class="memname">
1523 <tr>
1524 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::addSkyBoxSceneNode </td>
1525 <td>(</td>
1526 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1527 <td class="paramname"><em>top</em>, </td>
1528 </tr>
1529 <tr>
1530 <td class="paramkey"></td>
1531 <td></td>
1532 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1533 <td class="paramname"><em>bottom</em>, </td>
1534 </tr>
1535 <tr>
1536 <td class="paramkey"></td>
1537 <td></td>
1538 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1539 <td class="paramname"><em>left</em>, </td>
1540 </tr>
1541 <tr>
1542 <td class="paramkey"></td>
1543 <td></td>
1544 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1545 <td class="paramname"><em>right</em>, </td>
1546 </tr>
1547 <tr>
1548 <td class="paramkey"></td>
1549 <td></td>
1550 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1551 <td class="paramname"><em>front</em>, </td>
1552 </tr>
1553 <tr>
1554 <td class="paramkey"></td>
1555 <td></td>
1556 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1557 <td class="paramname"><em>back</em>, </td>
1558 </tr>
1559 <tr>
1560 <td class="paramkey"></td>
1561 <td></td>
1562 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1563 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1564 </tr>
1565 <tr>
1566 <td class="paramkey"></td>
1567 <td></td>
1568 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1569 <td class="paramname"><em>id</em> = <code>-1</code>&#160;</td>
1570 </tr>
1571 <tr>
1572 <td></td>
1573 <td>)</td>
1574 <td></td><td><code> [pure virtual]</code></td>
1575 </tr>
1576 </table>
1577</div>
1578<div class="memdoc">
1579
1580<p>Adds a skybox scene node to the scene graph. </p>
1581<p>A skybox is a big cube with 6 textures on it and is drawn around the camera position. </p>
1582<dl><dt><b>Parameters:</b></dt><dd>
1583 <table class="params">
1584 <tr><td class="paramname">top,:</td><td>Texture for the top plane of the box. </td></tr>
1585 <tr><td class="paramname">bottom,:</td><td>Texture for the bottom plane of the box. </td></tr>
1586 <tr><td class="paramname">left,:</td><td>Texture for the left plane of the box. </td></tr>
1587 <tr><td class="paramname">right,:</td><td>Texture for the right plane of the box. </td></tr>
1588 <tr><td class="paramname">front,:</td><td>Texture for the front plane of the box. </td></tr>
1589 <tr><td class="paramname">back,:</td><td>Texture for the back plane of the box. </td></tr>
1590 <tr><td class="paramname">parent,:</td><td>Parent scene node of the skybox. A skybox usually has no parent, so this should be null. Note: If a parent is set to the skybox, the box will not change how it is drawn. </td></tr>
1591 <tr><td class="paramname">id,:</td><td>An id of the node. This id can be used to identify the node. </td></tr>
1592 </table>
1593 </dd>
1594</dl>
1595<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the sky box if successful, otherwise NULL. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1596
1597</div>
1598</div>
1599<a class="anchor" id="aadf84a7a18a5ed92d9868f90c506daa7"></a><!-- doxytag: member="irr::scene::ISceneManager::addSkyDomeSceneNode" ref="aadf84a7a18a5ed92d9868f90c506daa7" args="(video::ITexture *texture, u32 horiRes=16, u32 vertRes=8, f32 texturePercentage=0.9, f32 spherePercentage=2.0, f32 radius=1000.f, ISceneNode *parent=0, s32 id=&#45;1)=0" -->
1600<div class="memitem">
1601<div class="memproto">
1602 <table class="memname">
1603 <tr>
1604 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::addSkyDomeSceneNode </td>
1605 <td>(</td>
1606 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1607 <td class="paramname"><em>texture</em>, </td>
1608 </tr>
1609 <tr>
1610 <td class="paramkey"></td>
1611 <td></td>
1612 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1613 <td class="paramname"><em>horiRes</em> = <code>16</code>, </td>
1614 </tr>
1615 <tr>
1616 <td class="paramkey"></td>
1617 <td></td>
1618 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1619 <td class="paramname"><em>vertRes</em> = <code>8</code>, </td>
1620 </tr>
1621 <tr>
1622 <td class="paramkey"></td>
1623 <td></td>
1624 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1625 <td class="paramname"><em>texturePercentage</em> = <code>0.9</code>, </td>
1626 </tr>
1627 <tr>
1628 <td class="paramkey"></td>
1629 <td></td>
1630 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1631 <td class="paramname"><em>spherePercentage</em> = <code>2.0</code>, </td>
1632 </tr>
1633 <tr>
1634 <td class="paramkey"></td>
1635 <td></td>
1636 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1637 <td class="paramname"><em>radius</em> = <code>1000.f</code>, </td>
1638 </tr>
1639 <tr>
1640 <td class="paramkey"></td>
1641 <td></td>
1642 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1643 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1644 </tr>
1645 <tr>
1646 <td class="paramkey"></td>
1647 <td></td>
1648 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1649 <td class="paramname"><em>id</em> = <code>-1</code>&#160;</td>
1650 </tr>
1651 <tr>
1652 <td></td>
1653 <td>)</td>
1654 <td></td><td><code> [pure virtual]</code></td>
1655 </tr>
1656 </table>
1657</div>
1658<div class="memdoc">
1659
1660<p>Adds a skydome scene node to the scene graph. </p>
1661<p>A skydome is a large (half-) sphere with a panoramic texture on the inside and is drawn around the camera position. </p>
1662<dl><dt><b>Parameters:</b></dt><dd>
1663 <table class="params">
1664 <tr><td class="paramname">texture,:</td><td>Texture for the dome. </td></tr>
1665 <tr><td class="paramname">horiRes,:</td><td>Number of vertices of a horizontal layer of the sphere. </td></tr>
1666 <tr><td class="paramname">vertRes,:</td><td>Number of vertices of a vertical layer of the sphere. </td></tr>
1667 <tr><td class="paramname">texturePercentage,:</td><td>How much of the height of the texture is used. Should be between 0 and 1. </td></tr>
1668 <tr><td class="paramname">spherePercentage,:</td><td>How much of the sphere is drawn. Value should be between 0 and 2, where 1 is an exact half-sphere and 2 is a full sphere. </td></tr>
1669 <tr><td class="paramname">radius</td><td>The Radius of the sphere </td></tr>
1670 <tr><td class="paramname">parent,:</td><td>Parent scene node of the dome. A dome usually has no parent, so this should be null. Note: If a parent is set, the dome will not change how it is drawn. </td></tr>
1671 <tr><td class="paramname">id,:</td><td>An id of the node. This id can be used to identify the node. </td></tr>
1672 </table>
1673 </dd>
1674</dl>
1675<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the sky dome if successful, otherwise NULL. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1676
1677</div>
1678</div>
1679<a class="anchor" id="a9e9e8524055ca841c0bb16316f4b8212"></a><!-- doxytag: member="irr::scene::ISceneManager::addSphereMesh" ref="a9e9e8524055ca841c0bb16316f4b8212" args="(const io::path &amp;name, f32 radius=5.f, u32 polyCountX=16, u32 polyCountY=16)=0" -->
1680<div class="memitem">
1681<div class="memproto">
1682 <table class="memname">
1683 <tr>
1684 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a>* irr::scene::ISceneManager::addSphereMesh </td>
1685 <td>(</td>
1686 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
1687 <td class="paramname"><em>name</em>, </td>
1688 </tr>
1689 <tr>
1690 <td class="paramkey"></td>
1691 <td></td>
1692 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1693 <td class="paramname"><em>radius</em> = <code>5.f</code>, </td>
1694 </tr>
1695 <tr>
1696 <td class="paramkey"></td>
1697 <td></td>
1698 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1699 <td class="paramname"><em>polyCountX</em> = <code>16</code>, </td>
1700 </tr>
1701 <tr>
1702 <td class="paramkey"></td>
1703 <td></td>
1704 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1705 <td class="paramname"><em>polyCountY</em> = <code>16</code>&#160;</td>
1706 </tr>
1707 <tr>
1708 <td></td>
1709 <td>)</td>
1710 <td></td><td><code> [pure virtual]</code></td>
1711 </tr>
1712 </table>
1713</div>
1714<div class="memdoc">
1715
1716<p>add a static sphere mesh to the meshpool </p>
1717<dl><dt><b>Parameters:</b></dt><dd>
1718 <table class="params">
1719 <tr><td class="paramname">name</td><td>Name of the mesh </td></tr>
1720 <tr><td class="paramname">radius</td><td>Radius of the sphere </td></tr>
1721 <tr><td class="paramname">polyCountX</td><td>Number of quads used for the horizontal tiling </td></tr>
1722 <tr><td class="paramname">polyCountY</td><td>Number of quads used for the vertical tiling </td></tr>
1723 </table>
1724 </dd>
1725</dl>
1726<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the sphere mesh if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1727
1728</div>
1729</div>
1730<a class="anchor" id="acd6454347276ff8c74e46063970cfc04"></a><!-- doxytag: member="irr::scene::ISceneManager::addSphereSceneNode" ref="acd6454347276ff8c74e46063970cfc04" args="(f32 radius=5.0f, s32 polyCount=16, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0" -->
1731<div class="memitem">
1732<div class="memproto">
1733 <table class="memname">
1734 <tr>
1735 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html">IMeshSceneNode</a>* irr::scene::ISceneManager::addSphereSceneNode </td>
1736 <td>(</td>
1737 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1738 <td class="paramname"><em>radius</em> = <code>5.0f</code>, </td>
1739 </tr>
1740 <tr>
1741 <td class="paramkey"></td>
1742 <td></td>
1743 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1744 <td class="paramname"><em>polyCount</em> = <code>16</code>, </td>
1745 </tr>
1746 <tr>
1747 <td class="paramkey"></td>
1748 <td></td>
1749 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1750 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1751 </tr>
1752 <tr>
1753 <td class="paramkey"></td>
1754 <td></td>
1755 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1756 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1757 </tr>
1758 <tr>
1759 <td class="paramkey"></td>
1760 <td></td>
1761 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1762 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
1763 </tr>
1764 <tr>
1765 <td class="paramkey"></td>
1766 <td></td>
1767 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1768 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
1769 </tr>
1770 <tr>
1771 <td class="paramkey"></td>
1772 <td></td>
1773 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1774 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>&#160;</td>
1775 </tr>
1776 <tr>
1777 <td></td>
1778 <td>)</td>
1779 <td></td><td><code> [pure virtual]</code></td>
1780 </tr>
1781 </table>
1782</div>
1783<div class="memdoc">
1784
1785<p>Adds a sphere scene node of the given radius and detail. </p>
1786<dl><dt><b>Parameters:</b></dt><dd>
1787 <table class="params">
1788 <tr><td class="paramname">radius,:</td><td>Radius of the sphere. </td></tr>
1789 <tr><td class="paramname">polyCount,:</td><td>The number of vertices in horizontal and vertical direction. The total polyCount of the sphere is polyCount*polyCount. This parameter must be less than 256 to stay within the 16-bit limit of the indices of a meshbuffer. </td></tr>
1790 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be 0 if no parent. </td></tr>
1791 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
1792 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the scene node will be placed. </td></tr>
1793 <tr><td class="paramname">rotation,:</td><td>Initital rotation of the scene node. </td></tr>
1794 <tr><td class="paramname">scale,:</td><td>Initial scale of the scene node. </td></tr>
1795 </table>
1796 </dd>
1797</dl>
1798<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created test scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1799
1800</div>
1801</div>
1802<a class="anchor" id="ac56c56d5ec02bfe7cfb35db7afc19b50"></a><!-- doxytag: member="irr::scene::ISceneManager::addTerrainMesh" ref="ac56c56d5ec02bfe7cfb35db7afc19b50" args="(const io::path &amp;meshname, video::IImage *texture, video::IImage *heightmap, const core::dimension2d&lt; f32 &gt; &amp;stretchSize=core::dimension2d&lt; f32 &gt;(10.0f, 10.0f), f32 maxHeight=200.0f, const core::dimension2d&lt; u32 &gt; &amp;defaultVertexBlockSize=core::dimension2d&lt; u32 &gt;(64, 64))=0" -->
1803<div class="memitem">
1804<div class="memproto">
1805 <table class="memname">
1806 <tr>
1807 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a>* irr::scene::ISceneManager::addTerrainMesh </td>
1808 <td>(</td>
1809 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
1810 <td class="paramname"><em>meshname</em>, </td>
1811 </tr>
1812 <tr>
1813 <td class="paramkey"></td>
1814 <td></td>
1815 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">video::IImage</a> *&#160;</td>
1816 <td class="paramname"><em>texture</em>, </td>
1817 </tr>
1818 <tr>
1819 <td class="paramkey"></td>
1820 <td></td>
1821 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">video::IImage</a> *&#160;</td>
1822 <td class="paramname"><em>heightmap</em>, </td>
1823 </tr>
1824 <tr>
1825 <td class="paramkey"></td>
1826 <td></td>
1827 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
1828 <td class="paramname"><em>stretchSize</em> = <code><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;&#160;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;&gt;(10.0f,&#160;10.0f)</code>, </td>
1829 </tr>
1830 <tr>
1831 <td class="paramkey"></td>
1832 <td></td>
1833 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1834 <td class="paramname"><em>maxHeight</em> = <code>200.0f</code>, </td>
1835 </tr>
1836 <tr>
1837 <td class="paramkey"></td>
1838 <td></td>
1839 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
1840 <td class="paramname"><em>defaultVertexBlockSize</em> = <code><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;&#160;<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;&gt;(64,&#160;64)</code>&#160;</td>
1841 </tr>
1842 <tr>
1843 <td></td>
1844 <td>)</td>
1845 <td></td><td><code> [pure virtual]</code></td>
1846 </tr>
1847 </table>
1848</div>
1849<div class="memdoc">
1850
1851<p>Adds a static terrain mesh to the mesh pool. </p>
1852<p>The mesh is generated on the fly from a texture file and a height map file. Both files may be huge (8000x8000 pixels would be no problem) because the generator splits the files into smaller textures if necessary. You must specify a name for the mesh, because the mesh is added to the mesh pool, and can be retrieved again using <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">ISceneManager::getMesh()</a> with the name as parameter. </p>
1853<dl><dt><b>Parameters:</b></dt><dd>
1854 <table class="params">
1855 <tr><td class="paramname">meshname,:</td><td>The name of this mesh which must be specified in order to be able to retrieve the mesh later with <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">ISceneManager::getMesh()</a>. </td></tr>
1856 <tr><td class="paramname">texture,:</td><td>Texture for the terrain. Please note that this is not a hardware texture as usual (ITexture), but an IImage software texture. You can load this texture with IVideoDriver::createImageFromFile(). </td></tr>
1857 <tr><td class="paramname">heightmap,:</td><td>A grayscaled heightmap image. Like the texture, it can be created with IVideoDriver::createImageFromFile(). The amount of triangles created depends on the size of this texture, so use a small heightmap to increase rendering speed. </td></tr>
1858 <tr><td class="paramname">stretchSize,:</td><td>Parameter defining how big a is pixel on the heightmap. </td></tr>
1859 <tr><td class="paramname">maxHeight,:</td><td>Defines how high a white pixel on the heighmap is. </td></tr>
1860 <tr><td class="paramname">defaultVertexBlockSize,:</td><td>Defines the initial dimension between vertices. </td></tr>
1861 </table>
1862 </dd>
1863</dl>
1864<dl class="return"><dt><b>Returns:</b></dt><dd>Null if the creation failed. The reason could be that you specified some invalid parameters, that a mesh with that name already exists, or that a texture could not be found. If successful, a pointer to the mesh is returned. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1865
1866</div>
1867</div>
1868<a class="anchor" id="a2188fb0443c7e0b6b69a673ca1d9ca5c"></a><!-- doxytag: member="irr::scene::ISceneManager::addTerrainSceneNode" ref="a2188fb0443c7e0b6b69a673ca1d9ca5c" args="(const io::path &amp;heightMapFileName, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0.0f, 0.0f, 0.0f), const core::vector3df &amp;rotation=core::vector3df(0.0f, 0.0f, 0.0f), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f), video::SColor vertexColor=video::SColor(255, 255, 255, 255), s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0, bool addAlsoIfHeightmapEmpty=false)=0" -->
1869<div class="memitem">
1870<div class="memproto">
1871 <table class="memname">
1872 <tr>
1873 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_terrain_scene_node.html">ITerrainSceneNode</a>* irr::scene::ISceneManager::addTerrainSceneNode </td>
1874 <td>(</td>
1875 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
1876 <td class="paramname"><em>heightMapFileName</em>, </td>
1877 </tr>
1878 <tr>
1879 <td class="paramkey"></td>
1880 <td></td>
1881 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1882 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1883 </tr>
1884 <tr>
1885 <td class="paramkey"></td>
1886 <td></td>
1887 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1888 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1889 </tr>
1890 <tr>
1891 <td class="paramkey"></td>
1892 <td></td>
1893 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1894 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.0f,&#160;0.0f,&#160;0.0f)</code>, </td>
1895 </tr>
1896 <tr>
1897 <td class="paramkey"></td>
1898 <td></td>
1899 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1900 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.0f,&#160;0.0f,&#160;0.0f)</code>, </td>
1901 </tr>
1902 <tr>
1903 <td class="paramkey"></td>
1904 <td></td>
1905 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1906 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>, </td>
1907 </tr>
1908 <tr>
1909 <td class="paramkey"></td>
1910 <td></td>
1911 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
1912 <td class="paramname"><em>vertexColor</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>, </td>
1913 </tr>
1914 <tr>
1915 <td class="paramkey"></td>
1916 <td></td>
1917 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1918 <td class="paramname"><em>maxLOD</em> = <code>5</code>, </td>
1919 </tr>
1920 <tr>
1921 <td class="paramkey"></td>
1922 <td></td>
1923 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a6de1eb2d024f82b5b1af499d61523044">E_TERRAIN_PATCH_SIZE</a>&#160;</td>
1924 <td class="paramname"><em>patchSize</em> = <code>ETPS_17</code>, </td>
1925 </tr>
1926 <tr>
1927 <td class="paramkey"></td>
1928 <td></td>
1929 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1930 <td class="paramname"><em>smoothFactor</em> = <code>0</code>, </td>
1931 </tr>
1932 <tr>
1933 <td class="paramkey"></td>
1934 <td></td>
1935 <td class="paramtype">bool&#160;</td>
1936 <td class="paramname"><em>addAlsoIfHeightmapEmpty</em> = <code>false</code>&#160;</td>
1937 </tr>
1938 <tr>
1939 <td></td>
1940 <td>)</td>
1941 <td></td><td><code> [pure virtual]</code></td>
1942 </tr>
1943 </table>
1944</div>
1945<div class="memdoc">
1946
1947<p>Adds a terrain scene node to the scene graph. </p>
1948<p>This node implements is a simple terrain renderer which uses a technique known as geo mip mapping for reducing the detail of triangle blocks which are far away. The code for the TerrainSceneNode is based on the terrain renderer by Soconne and the GeoMipMapSceneNode developed by Spintz. They made their code available for Irrlicht and allowed it to be distributed under this licence. I only modified some parts. A lot of thanks go to them.</p>
1949<p>This scene node is capable of loading terrains and updating the indices at runtime to enable viewing very large terrains very quickly. It uses a CLOD (Continuous Level of Detail) algorithm which updates the indices for each patch based on a LOD (Level of Detail) which is determined based on a patch's distance from the camera.</p>
1950<p>The patch size of the terrain must always be a size of 2^N+1, i.e. 8+1(9), 16+1(17), etc. The MaxLOD available is directly dependent on the patch size of the terrain. LOD 0 contains all of the indices to draw all the triangles at the max detail for a patch. As each LOD goes up by 1 the step taken, in generating indices increases by -2^LOD, so for LOD 1, the step taken is 2, for LOD 2, the step taken is 4, LOD 3 - 8, etc. The step can be no larger than the size of the patch, so having a LOD of 8, with a patch size of 17, is asking the algoritm to generate indices every 2^8 ( 256 ) vertices, which is not possible with a patch size of 17. The maximum LOD for a patch size of 17 is 2^4 ( 16 ). So, with a MaxLOD of 5, you'll have LOD 0 ( full detail ), LOD 1 ( every 2 vertices ), LOD 2 ( every 4 vertices ), LOD 3 ( every 8 vertices ) and LOD 4 ( every 16 vertices ). </p>
1951<dl><dt><b>Parameters:</b></dt><dd>
1952 <table class="params">
1953 <tr><td class="paramname">heightMapFileName,:</td><td>The name of the file on disk, to read vertex data from. This should be a gray scale bitmap. </td></tr>
1954 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be 0 if no parent. </td></tr>
1955 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
1956 <tr><td class="paramname">position,:</td><td>The absolute position of this node. </td></tr>
1957 <tr><td class="paramname">rotation,:</td><td>The absolute rotation of this node. ( NOT YET IMPLEMENTED ) </td></tr>
1958 <tr><td class="paramname">scale,:</td><td>The scale factor for the terrain. If you're using a heightmap of size 129x129 and would like your terrain to be 12900x12900 in game units, then use a scale factor of ( core::vector ( 100.0f, 100.0f, 100.0f ). If you use a Y scaling factor of 0.0f, then your terrain will be flat. </td></tr>
1959 <tr><td class="paramname">vertexColor,:</td><td>The default color of all the vertices. If no texture is associated with the scene node, then all vertices will be this color. Defaults to white. </td></tr>
1960 <tr><td class="paramname">maxLOD,:</td><td>The maximum LOD (level of detail) for the node. Only change if you know what you are doing, this might lead to strange behavior. </td></tr>
1961 <tr><td class="paramname">patchSize,:</td><td>patch size of the terrain. Only change if you know what you are doing, this might lead to strange behavior. </td></tr>
1962 <tr><td class="paramname">smoothFactor,:</td><td>The number of times the vertices are smoothed. </td></tr>
1963 <tr><td class="paramname">addAlsoIfHeightmapEmpty,:</td><td>Add terrain node even with empty heightmap. </td></tr>
1964 </table>
1965 </dd>
1966</dl>
1967<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. Can be null if the terrain could not be created, for example because the heightmap could not be loaded. The returned pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
1968
1969</div>
1970</div>
1971<a class="anchor" id="ae89a0a2d162a86f087eec66ddcd801b6"></a><!-- doxytag: member="irr::scene::ISceneManager::addTerrainSceneNode" ref="ae89a0a2d162a86f087eec66ddcd801b6" args="(io::IReadFile *heightMapFile, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0.0f, 0.0f, 0.0f), const core::vector3df &amp;rotation=core::vector3df(0.0f, 0.0f, 0.0f), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f), video::SColor vertexColor=video::SColor(255, 255, 255, 255), s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0, bool addAlsoIfHeightmapEmpty=false)=0" -->
1972<div class="memitem">
1973<div class="memproto">
1974 <table class="memname">
1975 <tr>
1976 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_terrain_scene_node.html">ITerrainSceneNode</a>* irr::scene::ISceneManager::addTerrainSceneNode </td>
1977 <td>(</td>
1978 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *&#160;</td>
1979 <td class="paramname"><em>heightMapFile</em>, </td>
1980 </tr>
1981 <tr>
1982 <td class="paramkey"></td>
1983 <td></td>
1984 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
1985 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
1986 </tr>
1987 <tr>
1988 <td class="paramkey"></td>
1989 <td></td>
1990 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1991 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
1992 </tr>
1993 <tr>
1994 <td class="paramkey"></td>
1995 <td></td>
1996 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1997 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.0f,&#160;0.0f,&#160;0.0f)</code>, </td>
1998 </tr>
1999 <tr>
2000 <td class="paramkey"></td>
2001 <td></td>
2002 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2003 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.0f,&#160;0.0f,&#160;0.0f)</code>, </td>
2004 </tr>
2005 <tr>
2006 <td class="paramkey"></td>
2007 <td></td>
2008 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2009 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>, </td>
2010 </tr>
2011 <tr>
2012 <td class="paramkey"></td>
2013 <td></td>
2014 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2015 <td class="paramname"><em>vertexColor</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>, </td>
2016 </tr>
2017 <tr>
2018 <td class="paramkey"></td>
2019 <td></td>
2020 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2021 <td class="paramname"><em>maxLOD</em> = <code>5</code>, </td>
2022 </tr>
2023 <tr>
2024 <td class="paramkey"></td>
2025 <td></td>
2026 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a6de1eb2d024f82b5b1af499d61523044">E_TERRAIN_PATCH_SIZE</a>&#160;</td>
2027 <td class="paramname"><em>patchSize</em> = <code>ETPS_17</code>, </td>
2028 </tr>
2029 <tr>
2030 <td class="paramkey"></td>
2031 <td></td>
2032 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2033 <td class="paramname"><em>smoothFactor</em> = <code>0</code>, </td>
2034 </tr>
2035 <tr>
2036 <td class="paramkey"></td>
2037 <td></td>
2038 <td class="paramtype">bool&#160;</td>
2039 <td class="paramname"><em>addAlsoIfHeightmapEmpty</em> = <code>false</code>&#160;</td>
2040 </tr>
2041 <tr>
2042 <td></td>
2043 <td>)</td>
2044 <td></td><td><code> [pure virtual]</code></td>
2045 </tr>
2046 </table>
2047</div>
2048<div class="memdoc">
2049
2050<p>Adds a terrain scene node to the scene graph. </p>
2051<p>Just like the other <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a2188fb0443c7e0b6b69a673ca1d9ca5c" title="Adds a terrain scene node to the scene graph.">addTerrainSceneNode()</a> method, but takes an IReadFile pointer as parameter for the heightmap. For more informations take a look at the other function. </p>
2052<dl><dt><b>Parameters:</b></dt><dd>
2053 <table class="params">
2054 <tr><td class="paramname">heightMapFile,:</td><td>The file handle to read vertex data from. This should be a gray scale bitmap. </td></tr>
2055 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be 0 if no parent. </td></tr>
2056 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
2057 <tr><td class="paramname">position,:</td><td>The absolute position of this node. </td></tr>
2058 <tr><td class="paramname">rotation,:</td><td>The absolute rotation of this node. ( NOT YET IMPLEMENTED ) </td></tr>
2059 <tr><td class="paramname">scale,:</td><td>The scale factor for the terrain. If you're using a heightmap of size 129x129 and would like your terrain to be 12900x12900 in game units, then use a scale factor of ( core::vector ( 100.0f, 100.0f, 100.0f ). If you use a Y scaling factor of 0.0f, then your terrain will be flat. </td></tr>
2060 <tr><td class="paramname">vertexColor,:</td><td>The default color of all the vertices. If no texture is associated with the scene node, then all vertices will be this color. Defaults to white. </td></tr>
2061 <tr><td class="paramname">maxLOD,:</td><td>The maximum LOD (level of detail) for the node. Only change if you know what you are doing, this might lead to strange behavior. </td></tr>
2062 <tr><td class="paramname">patchSize,:</td><td>patch size of the terrain. Only change if you know what you are doing, this might lead to strange behavior. </td></tr>
2063 <tr><td class="paramname">smoothFactor,:</td><td>The number of times the vertices are smoothed. </td></tr>
2064 <tr><td class="paramname">addAlsoIfHeightmapEmpty,:</td><td>Add terrain node even with empty heightmap. </td></tr>
2065 </table>
2066 </dd>
2067</dl>
2068<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. Can be null if the terrain could not be created, for example because the heightmap could not be loaded. The returned pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2069
2070</div>
2071</div>
2072<a class="anchor" id="ae3a173f0b0dd97e69251a22b5e4fbc0f"></a><!-- doxytag: member="irr::scene::ISceneManager::addTextSceneNode" ref="ae3a173f0b0dd97e69251a22b5e4fbc0f" args="(gui::IGUIFont *font, const wchar_t *text, video::SColor color=video::SColor(100, 255, 255, 255), ISceneNode *parent=0, const core::vector3df &amp;position=core::vector3df(0, 0, 0), s32 id=&#45;1)=0" -->
2073<div class="memitem">
2074<div class="memproto">
2075 <table class="memname">
2076 <tr>
2077 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_text_scene_node.html">ITextSceneNode</a>* irr::scene::ISceneManager::addTextSceneNode </td>
2078 <td>(</td>
2079 <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">gui::IGUIFont</a> *&#160;</td>
2080 <td class="paramname"><em>font</em>, </td>
2081 </tr>
2082 <tr>
2083 <td class="paramkey"></td>
2084 <td></td>
2085 <td class="paramtype">const wchar_t *&#160;</td>
2086 <td class="paramname"><em>text</em>, </td>
2087 </tr>
2088 <tr>
2089 <td class="paramkey"></td>
2090 <td></td>
2091 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2092 <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(100,&#160;255,&#160;255,&#160;255)</code>, </td>
2093 </tr>
2094 <tr>
2095 <td class="paramkey"></td>
2096 <td></td>
2097 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2098 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
2099 </tr>
2100 <tr>
2101 <td class="paramkey"></td>
2102 <td></td>
2103 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2104 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
2105 </tr>
2106 <tr>
2107 <td class="paramkey"></td>
2108 <td></td>
2109 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2110 <td class="paramname"><em>id</em> = <code>-1</code>&#160;</td>
2111 </tr>
2112 <tr>
2113 <td></td>
2114 <td>)</td>
2115 <td></td><td><code> [pure virtual]</code></td>
2116 </tr>
2117 </table>
2118</div>
2119<div class="memdoc">
2120
2121<p>Adds a text scene node, which is able to display 2d text at a position in three dimensional space. </p>
2122
2123</div>
2124</div>
2125<a class="anchor" id="a11eac917a4c75c7a7730198d7bf31f5a"></a><!-- doxytag: member="irr::scene::ISceneManager::addToDeletionQueue" ref="a11eac917a4c75c7a7730198d7bf31f5a" args="(ISceneNode *node)=0" -->
2126<div class="memitem">
2127<div class="memproto">
2128 <table class="memname">
2129 <tr>
2130 <td class="memname">virtual void irr::scene::ISceneManager::addToDeletionQueue </td>
2131 <td>(</td>
2132 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2133 <td class="paramname"><em>node</em></td><td>)</td>
2134 <td><code> [pure virtual]</code></td>
2135 </tr>
2136 </table>
2137</div>
2138<div class="memdoc">
2139
2140<p>Adds a scene node to the deletion queue. </p>
2141<p>The scene node is immediatly deleted when it's secure. Which means when the scene node does not execute animators and things like that. This method is for example used for deleting scene nodes by their scene node animators. In most other cases, a <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a2efa2670e29d6bb33b0dd99403b8b69c" title="Removes this scene node from the scene.">ISceneNode::remove()</a> call is enough, using this deletion queue is not necessary. See <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a163cc04ff2cb03852ac891de56200fa3" title="Creates a scene node animator, which deletes the scene node after some time automatically.">ISceneManager::createDeleteAnimator()</a> for details. </p>
2142<dl><dt><b>Parameters:</b></dt><dd>
2143 <table class="params">
2144 <tr><td class="paramname">node,:</td><td>Node to detete. </td></tr>
2145 </table>
2146 </dd>
2147</dl>
2148
2149</div>
2150</div>
2151<a class="anchor" id="a7086c554b86bdf055d6ebcc5950e1f16"></a><!-- doxytag: member="irr::scene::ISceneManager::addVolumeLightMesh" ref="a7086c554b86bdf055d6ebcc5950e1f16" args="(const io::path &amp;name, const u32 SubdivideU=32, const u32 SubdivideV=32, const video::SColor FootColor=video::SColor(51, 0, 230, 180), const video::SColor TailColor=video::SColor(0, 0, 0, 0))=0" -->
2152<div class="memitem">
2153<div class="memproto">
2154 <table class="memname">
2155 <tr>
2156 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a>* irr::scene::ISceneManager::addVolumeLightMesh </td>
2157 <td>(</td>
2158 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
2159 <td class="paramname"><em>name</em>, </td>
2160 </tr>
2161 <tr>
2162 <td class="paramkey"></td>
2163 <td></td>
2164 <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2165 <td class="paramname"><em>SubdivideU</em> = <code>32</code>, </td>
2166 </tr>
2167 <tr>
2168 <td class="paramkey"></td>
2169 <td></td>
2170 <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2171 <td class="paramname"><em>SubdivideV</em> = <code>32</code>, </td>
2172 </tr>
2173 <tr>
2174 <td class="paramkey"></td>
2175 <td></td>
2176 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2177 <td class="paramname"><em>FootColor</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(51,&#160;0,&#160;230,&#160;180)</code>, </td>
2178 </tr>
2179 <tr>
2180 <td class="paramkey"></td>
2181 <td></td>
2182 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2183 <td class="paramname"><em>TailColor</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0,&#160;0,&#160;0,&#160;0)</code>&#160;</td>
2184 </tr>
2185 <tr>
2186 <td></td>
2187 <td>)</td>
2188 <td></td><td><code> [pure virtual]</code></td>
2189 </tr>
2190 </table>
2191</div>
2192<div class="memdoc">
2193
2194<p>Add a volume light mesh to the meshpool. </p>
2195<dl><dt><b>Parameters:</b></dt><dd>
2196 <table class="params">
2197 <tr><td class="paramname">name</td><td>Name of the mesh </td></tr>
2198 <tr><td class="paramname">SubdivideU</td><td>Horizontal subdivision count </td></tr>
2199 <tr><td class="paramname">SubdivideV</td><td>Vertical subdivision count </td></tr>
2200 <tr><td class="paramname">FootColor</td><td>Color of the bottom of the light </td></tr>
2201 <tr><td class="paramname">TailColor</td><td>Color of the top of the light </td></tr>
2202 </table>
2203 </dd>
2204</dl>
2205<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the volume light mesh if successful, otherwise 0. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2206
2207</div>
2208</div>
2209<a class="anchor" id="a75fc84dd6ee9140da8fd63357947c724"></a><!-- doxytag: member="irr::scene::ISceneManager::addVolumeLightSceneNode" ref="a75fc84dd6ee9140da8fd63357947c724" args="(ISceneNode *parent=0, s32 id=&#45;1, const u32 subdivU=32, const u32 subdivV=32, const video::SColor foot=video::SColor(51, 0, 230, 180), const video::SColor tail=video::SColor(0, 0, 0, 0), const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0" -->
2210<div class="memitem">
2211<div class="memproto">
2212 <table class="memname">
2213 <tr>
2214 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_volume_light_scene_node.html">IVolumeLightSceneNode</a>* irr::scene::ISceneManager::addVolumeLightSceneNode </td>
2215 <td>(</td>
2216 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2217 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
2218 </tr>
2219 <tr>
2220 <td class="paramkey"></td>
2221 <td></td>
2222 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2223 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
2224 </tr>
2225 <tr>
2226 <td class="paramkey"></td>
2227 <td></td>
2228 <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2229 <td class="paramname"><em>subdivU</em> = <code>32</code>, </td>
2230 </tr>
2231 <tr>
2232 <td class="paramkey"></td>
2233 <td></td>
2234 <td class="paramtype">const <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2235 <td class="paramname"><em>subdivV</em> = <code>32</code>, </td>
2236 </tr>
2237 <tr>
2238 <td class="paramkey"></td>
2239 <td></td>
2240 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2241 <td class="paramname"><em>foot</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(51,&#160;0,&#160;230,&#160;180)</code>, </td>
2242 </tr>
2243 <tr>
2244 <td class="paramkey"></td>
2245 <td></td>
2246 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2247 <td class="paramname"><em>tail</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0,&#160;0,&#160;0,&#160;0)</code>, </td>
2248 </tr>
2249 <tr>
2250 <td class="paramkey"></td>
2251 <td></td>
2252 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2253 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
2254 </tr>
2255 <tr>
2256 <td class="paramkey"></td>
2257 <td></td>
2258 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2259 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
2260 </tr>
2261 <tr>
2262 <td class="paramkey"></td>
2263 <td></td>
2264 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2265 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>&#160;</td>
2266 </tr>
2267 <tr>
2268 <td></td>
2269 <td>)</td>
2270 <td></td><td><code> [pure virtual]</code></td>
2271 </tr>
2272 </table>
2273</div>
2274<div class="memdoc">
2275
2276<p>adds Volume Lighting Scene Node. </p>
2277<p>Example Usage: <a class="el" href="classirr_1_1scene_1_1_i_volume_light_scene_node.html">scene::IVolumeLightSceneNode</a> * n = smgr-&gt;addVolumeLightSceneNode(0, -1, 32, 32, //Subdivide U/V video::SColor(0, 180, 180, 180), //foot color video::SColor(0, 0, 0, 0) //tail color ); if (n) { n-&gt;setScale(<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811" title="Typedef for a f32 3d vector.">core::vector3df</a>(46.0f, 45.0f, 46.0f)); n-&gt;getMaterial(0).setTexture(0, smgr-&gt;<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#afde082160205a8faab44cd5b61e3745c" title="Get the video driver.">getVideoDriver()</a>-&gt;getTexture("lightFalloff.png")); } </p>
2278<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the volumeLight if successful, otherwise NULL. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2279
2280</div>
2281</div>
2282<a class="anchor" id="a5f5beb6271d3ab753687400dd6573044"></a><!-- doxytag: member="irr::scene::ISceneManager::addWaterSurfaceSceneNode" ref="a5f5beb6271d3ab753687400dd6573044" args="(IMesh *mesh, f32 waveHeight=2.0f, f32 waveSpeed=300.0f, f32 waveLength=10.0f, ISceneNode *parent=0, s32 id=&#45;1, const core::vector3df &amp;position=core::vector3df(0, 0, 0), const core::vector3df &amp;rotation=core::vector3df(0, 0, 0), const core::vector3df &amp;scale=core::vector3df(1.0f, 1.0f, 1.0f))=0" -->
2283<div class="memitem">
2284<div class="memproto">
2285 <table class="memname">
2286 <tr>
2287 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::addWaterSurfaceSceneNode </td>
2288 <td>(</td>
2289 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *&#160;</td>
2290 <td class="paramname"><em>mesh</em>, </td>
2291 </tr>
2292 <tr>
2293 <td class="paramkey"></td>
2294 <td></td>
2295 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2296 <td class="paramname"><em>waveHeight</em> = <code>2.0f</code>, </td>
2297 </tr>
2298 <tr>
2299 <td class="paramkey"></td>
2300 <td></td>
2301 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2302 <td class="paramname"><em>waveSpeed</em> = <code>300.0f</code>, </td>
2303 </tr>
2304 <tr>
2305 <td class="paramkey"></td>
2306 <td></td>
2307 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2308 <td class="paramname"><em>waveLength</em> = <code>10.0f</code>, </td>
2309 </tr>
2310 <tr>
2311 <td class="paramkey"></td>
2312 <td></td>
2313 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2314 <td class="paramname"><em>parent</em> = <code>0</code>, </td>
2315 </tr>
2316 <tr>
2317 <td class="paramkey"></td>
2318 <td></td>
2319 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2320 <td class="paramname"><em>id</em> = <code>-1</code>, </td>
2321 </tr>
2322 <tr>
2323 <td class="paramkey"></td>
2324 <td></td>
2325 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2326 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
2327 </tr>
2328 <tr>
2329 <td class="paramkey"></td>
2330 <td></td>
2331 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2332 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
2333 </tr>
2334 <tr>
2335 <td class="paramkey"></td>
2336 <td></td>
2337 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2338 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,&#160;1.0f,&#160;1.0f)</code>&#160;</td>
2339 </tr>
2340 <tr>
2341 <td></td>
2342 <td>)</td>
2343 <td></td><td><code> [pure virtual]</code></td>
2344 </tr>
2345 </table>
2346</div>
2347<div class="memdoc">
2348
2349<p>Adds a scene node for rendering a animated water surface mesh. </p>
2350<p>Looks really good when the Material type EMT_TRANSPARENT_REFLECTION is used. </p>
2351<dl><dt><b>Parameters:</b></dt><dd>
2352 <table class="params">
2353 <tr><td class="paramname">waveHeight,:</td><td>Height of the water waves. </td></tr>
2354 <tr><td class="paramname">waveSpeed,:</td><td>Speed of the water waves. </td></tr>
2355 <tr><td class="paramname">waveLength,:</td><td>Lenght of a water wave. </td></tr>
2356 <tr><td class="paramname">mesh,:</td><td>Pointer to the loaded static mesh to be displayed with water waves on it. </td></tr>
2357 <tr><td class="paramname">parent,:</td><td>Parent of the scene node. Can be NULL if no parent. </td></tr>
2358 <tr><td class="paramname">id,:</td><td>Id of the node. This id can be used to identify the scene node. </td></tr>
2359 <tr><td class="paramname">position,:</td><td>Position of the space relative to its parent where the scene node will be placed. </td></tr>
2360 <tr><td class="paramname">rotation,:</td><td>Initital rotation of the scene node. </td></tr>
2361 <tr><td class="paramname">scale,:</td><td>Initial scale of the scene node. </td></tr>
2362 </table>
2363 </dd>
2364</dl>
2365<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2366
2367</div>
2368</div>
2369<a class="anchor" id="abaa3d11a833b89f7579848e234881988"></a><!-- doxytag: member="irr::scene::ISceneManager::clear" ref="abaa3d11a833b89f7579848e234881988" args="()=0" -->
2370<div class="memitem">
2371<div class="memproto">
2372 <table class="memname">
2373 <tr>
2374 <td class="memname">virtual void irr::scene::ISceneManager::clear </td>
2375 <td>(</td>
2376 <td class="paramname"></td><td>)</td>
2377 <td><code> [pure virtual]</code></td>
2378 </tr>
2379 </table>
2380</div>
2381<div class="memdoc">
2382
2383<p>Clears the whole scene. </p>
2384<p>All scene nodes are removed. </p>
2385
2386</div>
2387</div>
2388<a class="anchor" id="a67b266cc40ebd66b5d21c26a78f002be"></a><!-- doxytag: member="irr::scene::ISceneManager::createCollisionResponseAnimator" ref="a67b266cc40ebd66b5d21c26a78f002be" args="(ITriangleSelector *world, ISceneNode *sceneNode, const core::vector3df &amp;ellipsoidRadius=core::vector3df(30, 60, 30), const core::vector3df &amp;gravityPerSecond=core::vector3df(0,&#45;10.0f, 0), const core::vector3df &amp;ellipsoidTranslation=core::vector3df(0, 0, 0), f32 slidingValue=0.0005f)=0" -->
2389<div class="memitem">
2390<div class="memproto">
2391 <table class="memname">
2392 <tr>
2393 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html">ISceneNodeAnimatorCollisionResponse</a>* irr::scene::ISceneManager::createCollisionResponseAnimator </td>
2394 <td>(</td>
2395 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a> *&#160;</td>
2396 <td class="paramname"><em>world</em>, </td>
2397 </tr>
2398 <tr>
2399 <td class="paramkey"></td>
2400 <td></td>
2401 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2402 <td class="paramname"><em>sceneNode</em>, </td>
2403 </tr>
2404 <tr>
2405 <td class="paramkey"></td>
2406 <td></td>
2407 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2408 <td class="paramname"><em>ellipsoidRadius</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(30,&#160;60,&#160;30)</code>, </td>
2409 </tr>
2410 <tr>
2411 <td class="paramkey"></td>
2412 <td></td>
2413 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2414 <td class="paramname"><em>gravityPerSecond</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,-10.0f,&#160;0)</code>, </td>
2415 </tr>
2416 <tr>
2417 <td class="paramkey"></td>
2418 <td></td>
2419 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2420 <td class="paramname"><em>ellipsoidTranslation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,&#160;0,&#160;0)</code>, </td>
2421 </tr>
2422 <tr>
2423 <td class="paramkey"></td>
2424 <td></td>
2425 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2426 <td class="paramname"><em>slidingValue</em> = <code>0.0005f</code>&#160;</td>
2427 </tr>
2428 <tr>
2429 <td></td>
2430 <td>)</td>
2431 <td></td><td><code> [pure virtual]</code></td>
2432 </tr>
2433 </table>
2434</div>
2435<div class="memdoc">
2436
2437<p>Creates a special scene node animator for doing automatic collision detection and response. </p>
2438<p>See <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_collision_response.html" title="Special scene node animator for doing automatic collision detection and response.">ISceneNodeAnimatorCollisionResponse</a> for details. </p>
2439<dl><dt><b>Parameters:</b></dt><dd>
2440 <table class="params">
2441 <tr><td class="paramname">world,:</td><td>Triangle selector holding all triangles of the world with which the scene node may collide. You can create a triangle selector with <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a266625379b1558e9be1dc062ea4e71f7" title="Creates a simple ITriangleSelector, based on a mesh.">ISceneManager::createTriangleSelector()</a>; </td></tr>
2442 <tr><td class="paramname">sceneNode,:</td><td>SceneNode which should be manipulated. After you added this animator to the scene node, the scene node will not be able to move through walls and is affected by gravity. If you need to teleport the scene node to a new position without it being effected by the collision geometry, then call sceneNode-&gt;setPosition(); then animator-&gt;setTargetNode(sceneNode); </td></tr>
2443 <tr><td class="paramname">ellipsoidRadius,:</td><td>Radius of the ellipsoid with which collision detection and response is done. If you have got a scene node, and you are unsure about how big the radius should be, you could use the following code to determine it: <div class="fragment"><pre class="fragment"> <span class="keyword">const</span> core::aabbox3d&lt;f32&gt;&amp; box = yourSceneNode-&gt;getBoundingBox();
2444 <a class="code" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811" title="Typedef for a f32 3d vector.">core::vector3df</a> radius = box.MaxEdge - box.getCenter();
2445</pre></div> </td></tr>
2446 <tr><td class="paramname">gravityPerSecond,:</td><td>Sets the gravity of the environment, as an acceleration in units per second per second. If your units are equivalent to metres, then <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811" title="Typedef for a f32 3d vector.">core::vector3df</a>(0,-10.0f,0) would give an approximately realistic gravity. You can disable gravity by setting it to core::vector3df(0,0,0). </td></tr>
2447 <tr><td class="paramname">ellipsoidTranslation,:</td><td>By default, the ellipsoid for collision detection is created around the center of the scene node, which means that the ellipsoid surrounds it completely. If this is not what you want, you may specify a translation for the ellipsoid. </td></tr>
2448 <tr><td class="paramname">slidingValue,:</td><td>DOCUMENTATION NEEDED. </td></tr>
2449 </table>
2450 </dd>
2451</dl>
2452<dl class="return"><dt><b>Returns:</b></dt><dd>The animator. Attach it to a scene node with <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a0e5cd342cd7293c136e53e2c2c5e0f3a" title="Adds an animator which should animate this node.">ISceneNode::addAnimator()</a> and the animator will cause it to do collision detection and response. If you no longer need the animator, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneNodeAnimator::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2453
2454</div>
2455</div>
2456<a class="anchor" id="a163cc04ff2cb03852ac891de56200fa3"></a><!-- doxytag: member="irr::scene::ISceneManager::createDeleteAnimator" ref="a163cc04ff2cb03852ac891de56200fa3" args="(u32 timeMs)=0" -->
2457<div class="memitem">
2458<div class="memproto">
2459 <table class="memname">
2460 <tr>
2461 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a>* irr::scene::ISceneManager::createDeleteAnimator </td>
2462 <td>(</td>
2463 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2464 <td class="paramname"><em>timeMs</em></td><td>)</td>
2465 <td><code> [pure virtual]</code></td>
2466 </tr>
2467 </table>
2468</div>
2469<div class="memdoc">
2470
2471<p>Creates a scene node animator, which deletes the scene node after some time automatically. </p>
2472<dl><dt><b>Parameters:</b></dt><dd>
2473 <table class="params">
2474 <tr><td class="paramname">timeMs,:</td><td>Time in milliseconds, after when the node will be deleted. </td></tr>
2475 </table>
2476 </dd>
2477</dl>
2478<dl class="return"><dt><b>Returns:</b></dt><dd>The animator. Attach it to a scene node with <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a0e5cd342cd7293c136e53e2c2c5e0f3a" title="Adds an animator which should animate this node.">ISceneNode::addAnimator()</a> and the animator will animate it. If you no longer need the animator, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneNodeAnimator::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2479
2480</div>
2481</div>
2482<a class="anchor" id="a2e49ff49bc9e88e8ecf3d681354e1ab6"></a><!-- doxytag: member="irr::scene::ISceneManager::createFlyCircleAnimator" ref="a2e49ff49bc9e88e8ecf3d681354e1ab6" args="(const core::vector3df &amp;center=core::vector3df(0.f, 0.f, 0.f), f32 radius=100.f, f32 speed=0.001f, const core::vector3df &amp;direction=core::vector3df(0.f, 1.f, 0.f), f32 startPosition=0.f, f32 radiusEllipsoid=0.f)=0" -->
2483<div class="memitem">
2484<div class="memproto">
2485 <table class="memname">
2486 <tr>
2487 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a>* irr::scene::ISceneManager::createFlyCircleAnimator </td>
2488 <td>(</td>
2489 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2490 <td class="paramname"><em>center</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.f,&#160;0.f,&#160;0.f)</code>, </td>
2491 </tr>
2492 <tr>
2493 <td class="paramkey"></td>
2494 <td></td>
2495 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2496 <td class="paramname"><em>radius</em> = <code>100.f</code>, </td>
2497 </tr>
2498 <tr>
2499 <td class="paramkey"></td>
2500 <td></td>
2501 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2502 <td class="paramname"><em>speed</em> = <code>0.001f</code>, </td>
2503 </tr>
2504 <tr>
2505 <td class="paramkey"></td>
2506 <td></td>
2507 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2508 <td class="paramname"><em>direction</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0.f,&#160;1.f,&#160;0.f)</code>, </td>
2509 </tr>
2510 <tr>
2511 <td class="paramkey"></td>
2512 <td></td>
2513 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2514 <td class="paramname"><em>startPosition</em> = <code>0.f</code>, </td>
2515 </tr>
2516 <tr>
2517 <td class="paramkey"></td>
2518 <td></td>
2519 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2520 <td class="paramname"><em>radiusEllipsoid</em> = <code>0.f</code>&#160;</td>
2521 </tr>
2522 <tr>
2523 <td></td>
2524 <td>)</td>
2525 <td></td><td><code> [pure virtual]</code></td>
2526 </tr>
2527 </table>
2528</div>
2529<div class="memdoc">
2530
2531<p>Creates a fly circle animator, which lets the attached scene node fly around a center. </p>
2532<dl><dt><b>Parameters:</b></dt><dd>
2533 <table class="params">
2534 <tr><td class="paramname">center,:</td><td>Center of the circle. </td></tr>
2535 <tr><td class="paramname">radius,:</td><td>Radius of the circle. </td></tr>
2536 <tr><td class="paramname">speed,:</td><td>The orbital speed, in radians per millisecond. </td></tr>
2537 <tr><td class="paramname">direction,:</td><td>Specifies the upvector used for alignment of the mesh. </td></tr>
2538 <tr><td class="paramname">startPosition,:</td><td>The position on the circle where the animator will begin. Value is in multiples of a circle, i.e. 0.5 is half way around. (phase) </td></tr>
2539 <tr><td class="paramname">radiusEllipsoid,:</td><td>if radiusEllipsoid != 0 then radius2 froms a ellipsoid begin. Value is in multiples of a circle, i.e. 0.5 is half way around. (phase) </td></tr>
2540 </table>
2541 </dd>
2542</dl>
2543<dl class="return"><dt><b>Returns:</b></dt><dd>The animator. Attach it to a scene node with <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a0e5cd342cd7293c136e53e2c2c5e0f3a" title="Adds an animator which should animate this node.">ISceneNode::addAnimator()</a> and the animator will animate it. If you no longer need the animator, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneNodeAnimator::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2544
2545</div>
2546</div>
2547<a class="anchor" id="a865c2da86486dcdb44847d5baa7aaa61"></a><!-- doxytag: member="irr::scene::ISceneManager::createFlyStraightAnimator" ref="a865c2da86486dcdb44847d5baa7aaa61" args="(const core::vector3df &amp;startPoint, const core::vector3df &amp;endPoint, u32 timeForWay, bool loop=false, bool pingpong=false)=0" -->
2548<div class="memitem">
2549<div class="memproto">
2550 <table class="memname">
2551 <tr>
2552 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a>* irr::scene::ISceneManager::createFlyStraightAnimator </td>
2553 <td>(</td>
2554 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2555 <td class="paramname"><em>startPoint</em>, </td>
2556 </tr>
2557 <tr>
2558 <td class="paramkey"></td>
2559 <td></td>
2560 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2561 <td class="paramname"><em>endPoint</em>, </td>
2562 </tr>
2563 <tr>
2564 <td class="paramkey"></td>
2565 <td></td>
2566 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2567 <td class="paramname"><em>timeForWay</em>, </td>
2568 </tr>
2569 <tr>
2570 <td class="paramkey"></td>
2571 <td></td>
2572 <td class="paramtype">bool&#160;</td>
2573 <td class="paramname"><em>loop</em> = <code>false</code>, </td>
2574 </tr>
2575 <tr>
2576 <td class="paramkey"></td>
2577 <td></td>
2578 <td class="paramtype">bool&#160;</td>
2579 <td class="paramname"><em>pingpong</em> = <code>false</code>&#160;</td>
2580 </tr>
2581 <tr>
2582 <td></td>
2583 <td>)</td>
2584 <td></td><td><code> [pure virtual]</code></td>
2585 </tr>
2586 </table>
2587</div>
2588<div class="memdoc">
2589
2590<p>Creates a fly straight animator, which lets the attached scene node fly or move along a line between two points. </p>
2591<dl><dt><b>Parameters:</b></dt><dd>
2592 <table class="params">
2593 <tr><td class="paramname">startPoint,:</td><td>Start point of the line. </td></tr>
2594 <tr><td class="paramname">endPoint,:</td><td>End point of the line. </td></tr>
2595 <tr><td class="paramname">timeForWay,:</td><td>Time in milli seconds how long the node should need to move from the start point to the end point. </td></tr>
2596 <tr><td class="paramname">loop,:</td><td>If set to false, the node stops when the end point is reached. If loop is true, the node begins again at the start. </td></tr>
2597 <tr><td class="paramname">pingpong</td><td>Flag to set whether the animator should fly back from end to start again. </td></tr>
2598 </table>
2599 </dd>
2600</dl>
2601<dl class="return"><dt><b>Returns:</b></dt><dd>The animator. Attach it to a scene node with <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a0e5cd342cd7293c136e53e2c2c5e0f3a" title="Adds an animator which should animate this node.">ISceneNode::addAnimator()</a> and the animator will animate it. If you no longer need the animator, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneNodeAnimator::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2602
2603</div>
2604</div>
2605<a class="anchor" id="ab0c9d4ab88bbe2ad71623b1054a0c3ba"></a><!-- doxytag: member="irr::scene::ISceneManager::createFollowSplineAnimator" ref="ab0c9d4ab88bbe2ad71623b1054a0c3ba" args="(s32 startTime, const core::array&lt; core::vector3df &gt; &amp;points, f32 speed=1.0f, f32 tightness=0.5f, bool loop=true, bool pingpong=false)=0" -->
2606<div class="memitem">
2607<div class="memproto">
2608 <table class="memname">
2609 <tr>
2610 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a>* irr::scene::ISceneManager::createFollowSplineAnimator </td>
2611 <td>(</td>
2612 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2613 <td class="paramname"><em>startTime</em>, </td>
2614 </tr>
2615 <tr>
2616 <td class="paramkey"></td>
2617 <td></td>
2618 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &gt; &amp;&#160;</td>
2619 <td class="paramname"><em>points</em>, </td>
2620 </tr>
2621 <tr>
2622 <td class="paramkey"></td>
2623 <td></td>
2624 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2625 <td class="paramname"><em>speed</em> = <code>1.0f</code>, </td>
2626 </tr>
2627 <tr>
2628 <td class="paramkey"></td>
2629 <td></td>
2630 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2631 <td class="paramname"><em>tightness</em> = <code>0.5f</code>, </td>
2632 </tr>
2633 <tr>
2634 <td class="paramkey"></td>
2635 <td></td>
2636 <td class="paramtype">bool&#160;</td>
2637 <td class="paramname"><em>loop</em> = <code>true</code>, </td>
2638 </tr>
2639 <tr>
2640 <td class="paramkey"></td>
2641 <td></td>
2642 <td class="paramtype">bool&#160;</td>
2643 <td class="paramname"><em>pingpong</em> = <code>false</code>&#160;</td>
2644 </tr>
2645 <tr>
2646 <td></td>
2647 <td>)</td>
2648 <td></td><td><code> [pure virtual]</code></td>
2649 </tr>
2650 </table>
2651</div>
2652<div class="memdoc">
2653
2654<p>Creates a follow spline animator. </p>
2655<p>The animator modifies the position of the attached scene node to make it follow a hermite spline. It uses a subset of hermite splines: either cardinal splines (tightness != 0.5) or catmull-rom-splines (tightness == 0.5). The animator moves from one control point to the next in 1/speed seconds. This code was sent in by Matthias Gall. If you no longer need the animator, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneNodeAnimator::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </p>
2656
2657</div>
2658</div>
2659<a class="anchor" id="ae9a06fb68757381f99cfe11ecbd153e6"></a><!-- doxytag: member="irr::scene::ISceneManager::createMeshWriter" ref="ae9a06fb68757381f99cfe11ecbd153e6" args="(EMESH_WRITER_TYPE type)=0" -->
2660<div class="memitem">
2661<div class="memproto">
2662 <table class="memname">
2663 <tr>
2664 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_writer.html">IMeshWriter</a>* irr::scene::ISceneManager::createMeshWriter </td>
2665 <td>(</td>
2666 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a431fa15741518ba15f6d5f2608b6cb4e">EMESH_WRITER_TYPE</a>&#160;</td>
2667 <td class="paramname"><em>type</em></td><td>)</td>
2668 <td><code> [pure virtual]</code></td>
2669 </tr>
2670 </table>
2671</div>
2672<div class="memdoc">
2673
2674<p>Get a mesh writer implementation if available. </p>
2675<p>Note: You need to <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop()</a> the pointer after use again, see <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for details. </p>
2676
2677</div>
2678</div>
2679<a class="anchor" id="aee99e59dc55fe9f8c3507df68f84a9ff"></a><!-- doxytag: member="irr::scene::ISceneManager::createMetaTriangleSelector" ref="aee99e59dc55fe9f8c3507df68f84a9ff" args="()=0" -->
2680<div class="memitem">
2681<div class="memproto">
2682 <table class="memname">
2683 <tr>
2684 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_meta_triangle_selector.html">IMetaTriangleSelector</a>* irr::scene::ISceneManager::createMetaTriangleSelector </td>
2685 <td>(</td>
2686 <td class="paramname"></td><td>)</td>
2687 <td><code> [pure virtual]</code></td>
2688 </tr>
2689 </table>
2690</div>
2691<div class="memdoc">
2692
2693<p>Creates a meta triangle selector. </p>
2694<p>A meta triangle selector is nothing more than a collection of one or more triangle selectors providing together the interface of one triangle selector. In this way, collision tests can be done with different triangle soups in one pass. </p>
2695<dl class="return"><dt><b>Returns:</b></dt><dd>The selector, or null if not successful. If you no longer need the selector, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ITriangleSelector::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2696
2697</div>
2698</div>
2699<a class="anchor" id="a94805dd4eca41ccef9607aefe669aed9"></a><!-- doxytag: member="irr::scene::ISceneManager::createNewSceneManager" ref="a94805dd4eca41ccef9607aefe669aed9" args="(bool cloneContent=false)=0" -->
2700<div class="memitem">
2701<div class="memproto">
2702 <table class="memname">
2703 <tr>
2704 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">ISceneManager</a>* irr::scene::ISceneManager::createNewSceneManager </td>
2705 <td>(</td>
2706 <td class="paramtype">bool&#160;</td>
2707 <td class="paramname"><em>cloneContent</em> = <code>false</code></td><td>)</td>
2708 <td><code> [pure virtual]</code></td>
2709 </tr>
2710 </table>
2711</div>
2712<div class="memdoc">
2713
2714<p>Creates a new scene manager. </p>
2715<p>This can be used to easily draw and/or store two independent scenes at the same time. The mesh cache will be shared between all existing scene managers, which means if you load a mesh in the original scene manager using for example <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">getMesh()</a>, the mesh will be available in all other scene managers too, without loading. The original/main scene manager will still be there and accessible via <a class="el" href="classirr_1_1_irrlicht_device.html#a891b503ff4d5041296d88f23f97d7b3d" title="Provides access to the scene manager.">IrrlichtDevice::getSceneManager()</a>. If you need input event in this new scene manager, for example for FPS cameras, you'll need to forward input to this manually: Just implement an <a class="el" href="classirr_1_1_i_event_receiver.html" title="Interface of an object which can receive events.">IEventReceiver</a> and call yourNewSceneManager-&gt;<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#ac68aa8d654884f19ad52fa28f11db424" title="Posts an input event to the environment.">postEventFromUser()</a>, and return true so that the original scene manager doesn't get the event. Otherwise, all input will go to the main scene manager automatically. If you no longer need the new scene manager, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneManager::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </p>
2716
2717</div>
2718</div>
2719<a class="anchor" id="a4ed7d3b34f4d0c70395b6d464fe32b96"></a><!-- doxytag: member="irr::scene::ISceneManager::createOctreeTriangleSelector" ref="a4ed7d3b34f4d0c70395b6d464fe32b96" args="(IMesh *mesh, ISceneNode *node, s32 minimalPolysPerNode=32)=0" -->
2720<div class="memitem">
2721<div class="memproto">
2722 <table class="memname">
2723 <tr>
2724 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a>* irr::scene::ISceneManager::createOctreeTriangleSelector </td>
2725 <td>(</td>
2726 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *&#160;</td>
2727 <td class="paramname"><em>mesh</em>, </td>
2728 </tr>
2729 <tr>
2730 <td class="paramkey"></td>
2731 <td></td>
2732 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2733 <td class="paramname"><em>node</em>, </td>
2734 </tr>
2735 <tr>
2736 <td class="paramkey"></td>
2737 <td></td>
2738 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2739 <td class="paramname"><em>minimalPolysPerNode</em> = <code>32</code>&#160;</td>
2740 </tr>
2741 <tr>
2742 <td></td>
2743 <td>)</td>
2744 <td></td><td><code> [pure virtual]</code></td>
2745 </tr>
2746 </table>
2747</div>
2748<div class="memdoc">
2749
2750<p>Creates a Triangle Selector, optimized by an octree. </p>
2751<p>Triangle selectors can be used for doing collision detection. This triangle selector is optimized for huge amounts of triangle, it organizes them in an octree. Please note that the created triangle selector is not automaticly attached to the scene node. You will have to call <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a87fb52ec54bf3ae117340d8defd1255f" title="Sets the triangle selector of the scene node.">ISceneNode::setTriangleSelector()</a> for this. To create and attach a triangle selector is done like this: </p>
2752<div class="fragment"><pre class="fragment"> ITriangleSelector* s = sceneManager-&gt;createOctreeTriangleSelector(yourMesh,
2753 yourSceneNode);
2754 yourSceneNode-&gt;setTriangleSelector(s);
2755 s-&gt;drop();
2756</pre></div><p> For more informations and examples on this, take a look at the collision tutorial in the SDK. </p>
2757<dl><dt><b>Parameters:</b></dt><dd>
2758 <table class="params">
2759 <tr><td class="paramname">mesh,:</td><td>Mesh of which the triangles are taken. </td></tr>
2760 <tr><td class="paramname">node,:</td><td>Scene node of which visibility and transformation is used. </td></tr>
2761 <tr><td class="paramname">minimalPolysPerNode,:</td><td>Specifies the minimal polygons contained a octree node. If a node gets less polys the this value, it will not be splitted into smaller nodes. </td></tr>
2762 </table>
2763 </dd>
2764</dl>
2765<dl class="return"><dt><b>Returns:</b></dt><dd>The selector, or null if not successful. If you no longer need the selector, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ITriangleSelector::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2766
2767<p>Referenced by <a class="el" href="_i_scene_manager_8h_source.html#l01343">createOctTreeTriangleSelector()</a>.</p>
2768
2769</div>
2770</div>
2771<a class="anchor" id="a67f20d1a535645048f2f7e2b5c670656"></a><!-- doxytag: member="irr::scene::ISceneManager::createOctTreeTriangleSelector" ref="a67f20d1a535645048f2f7e2b5c670656" args="(IMesh *mesh, ISceneNode *node, s32 minimalPolysPerNode=32)" -->
2772<div class="memitem">
2773<div class="memproto">
2774 <table class="memname">
2775 <tr>
2776 <td class="memname">_IRR_DEPRECATED_ <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a>* irr::scene::ISceneManager::createOctTreeTriangleSelector </td>
2777 <td>(</td>
2778 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *&#160;</td>
2779 <td class="paramname"><em>mesh</em>, </td>
2780 </tr>
2781 <tr>
2782 <td class="paramkey"></td>
2783 <td></td>
2784 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2785 <td class="paramname"><em>node</em>, </td>
2786 </tr>
2787 <tr>
2788 <td class="paramkey"></td>
2789 <td></td>
2790 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2791 <td class="paramname"><em>minimalPolysPerNode</em> = <code>32</code>&#160;</td>
2792 </tr>
2793 <tr>
2794 <td></td>
2795 <td>)</td>
2796 <td></td><td><code> [inline]</code></td>
2797 </tr>
2798 </table>
2799</div>
2800<div class="memdoc">
2801
2802<p>//! Creates a Triangle Selector, optimized by an octree. </p>
2803<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000020">Deprecated:</a></b></dt><dd>Use createOctreeTriangleSelector instead. This method may be removed by Irrlicht 1.9. </dd></dl>
2804
2805<p>Definition at line <a class="el" href="_i_scene_manager_8h_source.html#l01343">1343</a> of file <a class="el" href="_i_scene_manager_8h_source.html">ISceneManager.h</a>.</p>
2806
2807<p>References <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4ed7d3b34f4d0c70395b6d464fe32b96">createOctreeTriangleSelector()</a>.</p>
2808
2809</div>
2810</div>
2811<a class="anchor" id="a29efe9505de4e5dc2218283ef0c2a64d"></a><!-- doxytag: member="irr::scene::ISceneManager::createRotationAnimator" ref="a29efe9505de4e5dc2218283ef0c2a64d" args="(const core::vector3df &amp;rotationSpeed)=0" -->
2812<div class="memitem">
2813<div class="memproto">
2814 <table class="memname">
2815 <tr>
2816 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a>* irr::scene::ISceneManager::createRotationAnimator </td>
2817 <td>(</td>
2818 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
2819 <td class="paramname"><em>rotationSpeed</em></td><td>)</td>
2820 <td><code> [pure virtual]</code></td>
2821 </tr>
2822 </table>
2823</div>
2824<div class="memdoc">
2825
2826<p>Creates a rotation animator, which rotates the attached scene node around itself. </p>
2827<dl><dt><b>Parameters:</b></dt><dd>
2828 <table class="params">
2829 <tr><td class="paramname">rotationSpeed</td><td>Specifies the speed of the animation in degree per 10 milliseconds. </td></tr>
2830 </table>
2831 </dd>
2832</dl>
2833<dl class="return"><dt><b>Returns:</b></dt><dd>The animator. Attach it to a scene node with <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a0e5cd342cd7293c136e53e2c2c5e0f3a" title="Adds an animator which should animate this node.">ISceneNode::addAnimator()</a> and the animator will animate it. If you no longer need the animator, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneNodeAnimator::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2834
2835</div>
2836</div>
2837<a class="anchor" id="ac63c38a05b8e7d0a11ddb1752da36835"></a><!-- doxytag: member="irr::scene::ISceneManager::createSceneNodeAnimator" ref="ac63c38a05b8e7d0a11ddb1752da36835" args="(const char *typeName, ISceneNode *target=0)=0" -->
2838<div class="memitem">
2839<div class="memproto">
2840 <table class="memname">
2841 <tr>
2842 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a>* irr::scene::ISceneManager::createSceneNodeAnimator </td>
2843 <td>(</td>
2844 <td class="paramtype">const char *&#160;</td>
2845 <td class="paramname"><em>typeName</em>, </td>
2846 </tr>
2847 <tr>
2848 <td class="paramkey"></td>
2849 <td></td>
2850 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2851 <td class="paramname"><em>target</em> = <code>0</code>&#160;</td>
2852 </tr>
2853 <tr>
2854 <td></td>
2855 <td>)</td>
2856 <td></td><td><code> [pure virtual]</code></td>
2857 </tr>
2858 </table>
2859</div>
2860<div class="memdoc">
2861
2862<p>creates a scene node animator based on its type name </p>
2863<dl><dt><b>Parameters:</b></dt><dd>
2864 <table class="params">
2865 <tr><td class="paramname">typeName,:</td><td>Type of the scene node animator to add. </td></tr>
2866 <tr><td class="paramname">target,:</td><td>Target scene node of the new animator. </td></tr>
2867 </table>
2868 </dd>
2869</dl>
2870<dl class="return"><dt><b>Returns:</b></dt><dd>Returns pointer to the new scene node animator or null if not successful. You need to drop this pointer after calling this, see <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for details. </dd></dl>
2871
2872</div>
2873</div>
2874<a class="anchor" id="a67015b46ffde252ba723e6dcc6a93ac2"></a><!-- doxytag: member="irr::scene::ISceneManager::createSkinnedMesh" ref="a67015b46ffde252ba723e6dcc6a93ac2" args="()=0" -->
2875<div class="memitem">
2876<div class="memproto">
2877 <table class="memname">
2878 <tr>
2879 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_skinned_mesh.html">ISkinnedMesh</a>* irr::scene::ISceneManager::createSkinnedMesh </td>
2880 <td>(</td>
2881 <td class="paramname"></td><td>)</td>
2882 <td><code> [pure virtual]</code></td>
2883 </tr>
2884 </table>
2885</div>
2886<div class="memdoc">
2887
2888<p>Get a skinned mesh, which is not available as header-only code. </p>
2889<p>Note: You need to <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop()</a> the pointer after use again, see <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for details. </p>
2890
2891</div>
2892</div>
2893<a class="anchor" id="af52f8c74e08637b7643d239542371bc5"></a><!-- doxytag: member="irr::scene::ISceneManager::createTerrainTriangleSelector" ref="af52f8c74e08637b7643d239542371bc5" args="(ITerrainSceneNode *node, s32 LOD=0)=0" -->
2894<div class="memitem">
2895<div class="memproto">
2896 <table class="memname">
2897 <tr>
2898 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a>* irr::scene::ISceneManager::createTerrainTriangleSelector </td>
2899 <td>(</td>
2900 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_terrain_scene_node.html">ITerrainSceneNode</a> *&#160;</td>
2901 <td class="paramname"><em>node</em>, </td>
2902 </tr>
2903 <tr>
2904 <td class="paramkey"></td>
2905 <td></td>
2906 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2907 <td class="paramname"><em>LOD</em> = <code>0</code>&#160;</td>
2908 </tr>
2909 <tr>
2910 <td></td>
2911 <td>)</td>
2912 <td></td><td><code> [pure virtual]</code></td>
2913 </tr>
2914 </table>
2915</div>
2916<div class="memdoc">
2917
2918<p>Creates a triangle selector which can select triangles from a terrain scene node. </p>
2919<dl><dt><b>Parameters:</b></dt><dd>
2920 <table class="params">
2921 <tr><td class="paramname">node,:</td><td>Pointer to the created terrain scene node </td></tr>
2922 <tr><td class="paramname">LOD,:</td><td>Level of detail, 0 for highest detail. </td></tr>
2923 </table>
2924 </dd>
2925</dl>
2926<dl class="return"><dt><b>Returns:</b></dt><dd>The selector, or null if not successful. If you no longer need the selector, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ITriangleSelector::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2927
2928</div>
2929</div>
2930<a class="anchor" id="ae212e01dffc4891d32e3d1735d22d04a"></a><!-- doxytag: member="irr::scene::ISceneManager::createTextureAnimator" ref="ae212e01dffc4891d32e3d1735d22d04a" args="(const core::array&lt; video::ITexture * &gt; &amp;textures, s32 timePerFrame, bool loop=true)=0" -->
2931<div class="memitem">
2932<div class="memproto">
2933 <table class="memname">
2934 <tr>
2935 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator.html">ISceneNodeAnimator</a>* irr::scene::ISceneManager::createTextureAnimator </td>
2936 <td>(</td>
2937 <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> * &gt; &amp;&#160;</td>
2938 <td class="paramname"><em>textures</em>, </td>
2939 </tr>
2940 <tr>
2941 <td class="paramkey"></td>
2942 <td></td>
2943 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
2944 <td class="paramname"><em>timePerFrame</em>, </td>
2945 </tr>
2946 <tr>
2947 <td class="paramkey"></td>
2948 <td></td>
2949 <td class="paramtype">bool&#160;</td>
2950 <td class="paramname"><em>loop</em> = <code>true</code>&#160;</td>
2951 </tr>
2952 <tr>
2953 <td></td>
2954 <td>)</td>
2955 <td></td><td><code> [pure virtual]</code></td>
2956 </tr>
2957 </table>
2958</div>
2959<div class="memdoc">
2960
2961<p>Creates a texture animator, which switches the textures of the target scene node based on a list of textures. </p>
2962<dl><dt><b>Parameters:</b></dt><dd>
2963 <table class="params">
2964 <tr><td class="paramname">textures,:</td><td>List of textures to use. </td></tr>
2965 <tr><td class="paramname">timePerFrame,:</td><td>Time in milliseconds, how long any texture in the list should be visible. </td></tr>
2966 <tr><td class="paramname">loop,:</td><td>If set to to false, the last texture remains set, and the animation stops. If set to true, the animation restarts with the first texture. </td></tr>
2967 </table>
2968 </dd>
2969</dl>
2970<dl class="return"><dt><b>Returns:</b></dt><dd>The animator. Attach it to a scene node with <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a0e5cd342cd7293c136e53e2c2c5e0f3a" title="Adds an animator which should animate this node.">ISceneNode::addAnimator()</a> and the animator will animate it. If you no longer need the animator, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ISceneNodeAnimator::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
2971
2972</div>
2973</div>
2974<a class="anchor" id="a266625379b1558e9be1dc062ea4e71f7"></a><!-- doxytag: member="irr::scene::ISceneManager::createTriangleSelector" ref="a266625379b1558e9be1dc062ea4e71f7" args="(IMesh *mesh, ISceneNode *node)=0" -->
2975<div class="memitem">
2976<div class="memproto">
2977 <table class="memname">
2978 <tr>
2979 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a>* irr::scene::ISceneManager::createTriangleSelector </td>
2980 <td>(</td>
2981 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> *&#160;</td>
2982 <td class="paramname"><em>mesh</em>, </td>
2983 </tr>
2984 <tr>
2985 <td class="paramkey"></td>
2986 <td></td>
2987 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
2988 <td class="paramname"><em>node</em>&#160;</td>
2989 </tr>
2990 <tr>
2991 <td></td>
2992 <td>)</td>
2993 <td></td><td><code> [pure virtual]</code></td>
2994 </tr>
2995 </table>
2996</div>
2997<div class="memdoc">
2998
2999<p>Creates a simple <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>, based on a mesh. </p>
3000<p>Triangle selectors can be used for doing collision detection. Don't use this selector for a huge amount of triangles like in Quake3 maps. Instead, use for example <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4ed7d3b34f4d0c70395b6d464fe32b96" title="Creates a Triangle Selector, optimized by an octree.">ISceneManager::createOctreeTriangleSelector()</a>. Please note that the created triangle selector is not automaticly attached to the scene node. You will have to call <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a87fb52ec54bf3ae117340d8defd1255f" title="Sets the triangle selector of the scene node.">ISceneNode::setTriangleSelector()</a> for this. To create and attach a triangle selector is done like this: </p>
3001<div class="fragment"><pre class="fragment"> ITriangleSelector* s = sceneManager-&gt;createTriangleSelector(yourMesh,
3002 yourSceneNode);
3003 yourSceneNode-&gt;setTriangleSelector(s);
3004 s-&gt;drop();
3005</pre></div> <dl><dt><b>Parameters:</b></dt><dd>
3006 <table class="params">
3007 <tr><td class="paramname">mesh,:</td><td>Mesh of which the triangles are taken. </td></tr>
3008 <tr><td class="paramname">node,:</td><td>Scene node of which visibility and transformation is used. </td></tr>
3009 </table>
3010 </dd>
3011</dl>
3012<dl class="return"><dt><b>Returns:</b></dt><dd>The selector, or null if not successful. If you no longer need the selector, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ITriangleSelector::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3013
3014</div>
3015</div>
3016<a class="anchor" id="abc1ecc9a60abb40e7ffddbd72c077231"></a><!-- doxytag: member="irr::scene::ISceneManager::createTriangleSelector" ref="abc1ecc9a60abb40e7ffddbd72c077231" args="(IAnimatedMeshSceneNode *node)=0" -->
3017<div class="memitem">
3018<div class="memproto">
3019 <table class="memname">
3020 <tr>
3021 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a>* irr::scene::ISceneManager::createTriangleSelector </td>
3022 <td>(</td>
3023 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_scene_node.html">IAnimatedMeshSceneNode</a> *&#160;</td>
3024 <td class="paramname"><em>node</em></td><td>)</td>
3025 <td><code> [pure virtual]</code></td>
3026 </tr>
3027 </table>
3028</div>
3029<div class="memdoc">
3030
3031<p>Creates a simple <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>, based on an animated mesh scene node. </p>
3032<p>Details of the mesh associated with the node will be extracted internally. Call ITriangleSelector::update() to have the triangle selector updated based on the current frame of the animated mesh scene node. </p>
3033<dl><dt><b>Parameters:</b></dt><dd>
3034 <table class="params">
3035 <tr><td class="paramname">node</td><td>The animated mesh scene node from which to build the selector </td></tr>
3036 </table>
3037 </dd>
3038</dl>
3039
3040</div>
3041</div>
3042<a class="anchor" id="adb717113b4203e92f2bd95c84488059c"></a><!-- doxytag: member="irr::scene::ISceneManager::createTriangleSelectorFromBoundingBox" ref="adb717113b4203e92f2bd95c84488059c" args="(ISceneNode *node)=0" -->
3043<div class="memitem">
3044<div class="memproto">
3045 <table class="memname">
3046 <tr>
3047 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html">ITriangleSelector</a>* irr::scene::ISceneManager::createTriangleSelectorFromBoundingBox </td>
3048 <td>(</td>
3049 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3050 <td class="paramname"><em>node</em></td><td>)</td>
3051 <td><code> [pure virtual]</code></td>
3052 </tr>
3053 </table>
3054</div>
3055<div class="memdoc">
3056
3057<p>Creates a simple dynamic <a class="el" href="classirr_1_1scene_1_1_i_triangle_selector.html" title="Interface to return triangles with specific properties.">ITriangleSelector</a>, based on a axis aligned bounding box. </p>
3058<p>Triangle selectors can be used for doing collision detection. Every time when triangles are queried, the triangle selector gets the bounding box of the scene node, an creates new triangles. In this way, it works good with animated scene nodes. </p>
3059<dl><dt><b>Parameters:</b></dt><dd>
3060 <table class="params">
3061 <tr><td class="paramname">node,:</td><td>Scene node of which the bounding box, visibility and transformation is used. </td></tr>
3062 </table>
3063 </dd>
3064</dl>
3065<dl class="return"><dt><b>Returns:</b></dt><dd>The selector, or null if not successful. If you no longer need the selector, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">ITriangleSelector::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3066
3067</div>
3068</div>
3069<a class="anchor" id="a04240262904667c821bd9de5e5fd9b02"></a><!-- doxytag: member="irr::scene::ISceneManager::drawAll" ref="a04240262904667c821bd9de5e5fd9b02" args="()=0" -->
3070<div class="memitem">
3071<div class="memproto">
3072 <table class="memname">
3073 <tr>
3074 <td class="memname">virtual void irr::scene::ISceneManager::drawAll </td>
3075 <td>(</td>
3076 <td class="paramname"></td><td>)</td>
3077 <td><code> [pure virtual]</code></td>
3078 </tr>
3079 </table>
3080</div>
3081<div class="memdoc">
3082
3083<p>Draws all the scene nodes. </p>
3084<p>This can only be invoked between IVideoDriver::beginScene() and IVideoDriver::endScene(). Please note that the scene is not only drawn when calling this, but also animated by existing scene node animators, culling of scene nodes is done, etc. </p>
3085
3086</div>
3087</div>
3088<a class="anchor" id="a71391ee37dece0714d95c519f110010f"></a><!-- doxytag: member="irr::scene::ISceneManager::getActiveCamera" ref="a71391ee37dece0714d95c519f110010f" args="() const =0" -->
3089<div class="memitem">
3090<div class="memproto">
3091 <table class="memname">
3092 <tr>
3093 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a>* irr::scene::ISceneManager::getActiveCamera </td>
3094 <td>(</td>
3095 <td class="paramname"></td><td>)</td>
3096 <td> const<code> [pure virtual]</code></td>
3097 </tr>
3098 </table>
3099</div>
3100<div class="memdoc">
3101
3102<p>Get the current active camera. </p>
3103<dl class="return"><dt><b>Returns:</b></dt><dd>The active camera is returned. Note that this can be NULL, if there was no camera created yet. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3104
3105</div>
3106</div>
3107<a class="anchor" id="a9da2090baaeeaa6261d6a1fac5025b09"></a><!-- doxytag: member="irr::scene::ISceneManager::getAmbientLight" ref="a9da2090baaeeaa6261d6a1fac5025b09" args="() const =0" -->
3108<div class="memitem">
3109<div class="memproto">
3110 <table class="memname">
3111 <tr>
3112 <td class="memname">virtual const <a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a>&amp; irr::scene::ISceneManager::getAmbientLight </td>
3113 <td>(</td>
3114 <td class="paramname"></td><td>)</td>
3115 <td> const<code> [pure virtual]</code></td>
3116 </tr>
3117 </table>
3118</div>
3119<div class="memdoc">
3120
3121<p>Get ambient color of the scene. </p>
3122
3123</div>
3124</div>
3125<a class="anchor" id="aeedfa596280048e6ea6463ff69d23855"></a><!-- doxytag: member="irr::scene::ISceneManager::getAnimatorTypeName" ref="aeedfa596280048e6ea6463ff69d23855" args="(ESCENE_NODE_ANIMATOR_TYPE type)=0" -->
3126<div class="memitem">
3127<div class="memproto">
3128 <table class="memname">
3129 <tr>
3130 <td class="memname">virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a>* irr::scene::ISceneManager::getAnimatorTypeName </td>
3131 <td>(</td>
3132 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a327a1e43872705cf8f3f3342fb307d19">ESCENE_NODE_ANIMATOR_TYPE</a>&#160;</td>
3133 <td class="paramname"><em>type</em></td><td>)</td>
3134 <td><code> [pure virtual]</code></td>
3135 </tr>
3136 </table>
3137</div>
3138<div class="memdoc">
3139
3140<p>Returns a typename from a scene node animator type or null if not found. </p>
3141
3142</div>
3143</div>
3144<a class="anchor" id="adeb3d24c8ffafd5e671f344931a0b3a5"></a><!-- doxytag: member="irr::scene::ISceneManager::getDefaultSceneNodeAnimatorFactory" ref="adeb3d24c8ffafd5e671f344931a0b3a5" args="()=0" -->
3145<div class="memitem">
3146<div class="memproto">
3147 <table class="memname">
3148 <tr>
3149 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_factory.html">ISceneNodeAnimatorFactory</a>* irr::scene::ISceneManager::getDefaultSceneNodeAnimatorFactory </td>
3150 <td>(</td>
3151 <td class="paramname"></td><td>)</td>
3152 <td><code> [pure virtual]</code></td>
3153 </tr>
3154 </table>
3155</div>
3156<div class="memdoc">
3157
3158<p>Get the default scene node animator factory which can create all built-in scene node animators. </p>
3159<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the default scene node animator factory This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3160
3161</div>
3162</div>
3163<a class="anchor" id="a1ea0ec7ec95a97819f1de5222b97e774"></a><!-- doxytag: member="irr::scene::ISceneManager::getDefaultSceneNodeFactory" ref="a1ea0ec7ec95a97819f1de5222b97e774" args="()=0" -->
3164<div class="memitem">
3165<div class="memproto">
3166 <table class="memname">
3167 <tr>
3168 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_factory.html">ISceneNodeFactory</a>* irr::scene::ISceneManager::getDefaultSceneNodeFactory </td>
3169 <td>(</td>
3170 <td class="paramname"></td><td>)</td>
3171 <td><code> [pure virtual]</code></td>
3172 </tr>
3173 </table>
3174</div>
3175<div class="memdoc">
3176
3177<p>Get the default scene node factory which can create all built in scene nodes. </p>
3178<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the default scene node factory This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3179
3180</div>
3181</div>
3182<a class="anchor" id="adbd98fbeba199005cf795a5bae7ccbaf"></a><!-- doxytag: member="irr::scene::ISceneManager::getFileSystem" ref="adbd98fbeba199005cf795a5bae7ccbaf" args="()=0" -->
3183<div class="memitem">
3184<div class="memproto">
3185 <table class="memname">
3186 <tr>
3187 <td class="memname">virtual <a class="el" href="classirr_1_1io_1_1_i_file_system.html">io::IFileSystem</a>* irr::scene::ISceneManager::getFileSystem </td>
3188 <td>(</td>
3189 <td class="paramname"></td><td>)</td>
3190 <td><code> [pure virtual]</code></td>
3191 </tr>
3192 </table>
3193</div>
3194<div class="memdoc">
3195
3196<p>Get the active FileSystem. </p>
3197<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the FileSystem This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3198
3199</div>
3200</div>
3201<a class="anchor" id="a9840cfd39b44f238d06b7bc51e6ba1f6"></a><!-- doxytag: member="irr::scene::ISceneManager::getGeometryCreator" ref="a9840cfd39b44f238d06b7bc51e6ba1f6" args="(void) const =0" -->
3202<div class="memitem">
3203<div class="memproto">
3204 <table class="memname">
3205 <tr>
3206 <td class="memname">virtual const <a class="el" href="classirr_1_1scene_1_1_i_geometry_creator.html">IGeometryCreator</a>* irr::scene::ISceneManager::getGeometryCreator </td>
3207 <td>(</td>
3208 <td class="paramtype">void&#160;</td>
3209 <td class="paramname"></td><td>)</td>
3210 <td> const<code> [pure virtual]</code></td>
3211 </tr>
3212 </table>
3213</div>
3214<div class="memdoc">
3215
3216<p>Get an instance of a geometry creator. </p>
3217<p>The geometry creator provides some helper methods to create various types of basic geometry. This can be useful for custom scene nodes. </p>
3218
3219</div>
3220</div>
3221<a class="anchor" id="ad887536e9cc41d0670364f9f0a0f4510"></a><!-- doxytag: member="irr::scene::ISceneManager::getGUIEnvironment" ref="ad887536e9cc41d0670364f9f0a0f4510" args="()=0" -->
3222<div class="memitem">
3223<div class="memproto">
3224 <table class="memname">
3225 <tr>
3226 <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html">gui::IGUIEnvironment</a>* irr::scene::ISceneManager::getGUIEnvironment </td>
3227 <td>(</td>
3228 <td class="paramname"></td><td>)</td>
3229 <td><code> [pure virtual]</code></td>
3230 </tr>
3231 </table>
3232</div>
3233<div class="memdoc">
3234
3235<p>Get the active GUIEnvironment. </p>
3236<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the GUIEnvironment This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3237
3238</div>
3239</div>
3240<a class="anchor" id="a63894c3f3d46cfc385116f1705935e03"></a><!-- doxytag: member="irr::scene::ISceneManager::getMesh" ref="a63894c3f3d46cfc385116f1705935e03" args="(const io::path &amp;filename)=0" -->
3241<div class="memitem">
3242<div class="memproto">
3243 <table class="memname">
3244 <tr>
3245 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a>* irr::scene::ISceneManager::getMesh </td>
3246 <td>(</td>
3247 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
3248 <td class="paramname"><em>filename</em></td><td>)</td>
3249 <td><code> [pure virtual]</code></td>
3250 </tr>
3251 </table>
3252</div>
3253<div class="memdoc">
3254
3255<p>Get pointer to an animateable mesh. Loads the file if not loaded already. </p>
3256<p>If you want to remove a loaded mesh from the cache again, use removeMesh(). Currently there are the following mesh formats supported: </p>
3257<table border="1" cellpadding="2" cellspacing="0">
3258<tr>
3259<td>Format </td><td>Description </td></tr>
3260<tr>
3261<td>3D Studio (.3ds) </td><td>Loader for 3D-Studio files which lots of 3D packages are able to export. Only static meshes are currently supported by this importer. </td></tr>
3262<tr>
3263<td>3D World Studio (.smf) </td><td>Loader for Leadwerks SMF mesh files, a simple mesh format containing static geometry for games. The proprietary .STF texture format is not supported yet. This loader was originally written by Joseph Ellis. </td></tr>
3264<tr>
3265<td>Bliz Basic B3D (.b3d) </td><td>Loader for blitz basic files, developed by Mark Sibly. This is the ideal animated mesh format for game characters as it is both rigidly defined and widely supported by modeling and animation software. As this format supports skeletal animations, an <a class="el" href="classirr_1_1scene_1_1_i_skinned_mesh.html" title="Interface for using some special functions of Skinned meshes.">ISkinnedMesh</a> will be returned by this importer. </td></tr>
3266<tr>
3267<td>Cartography shop 4 (.csm) </td><td>Cartography Shop is a modeling program for creating architecture and calculating lighting. Irrlicht can directly import .csm files thanks to the IrrCSM library created by Saurav Mohapatra which is now integrated directly in Irrlicht. If you are using this loader, please note that you'll have to set the path of the textures before loading .csm files. You can do this using SceneManager-&gt;<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4dba8ee7f48fdf6ede2c3f4b5fabcad3" title="Get interface to the parameters set in this scene.">getParameters()</a>-&gt;setAttribute(<a class="el" href="namespaceirr_1_1scene.html#aecf002b9e14bd101b455632e1c260a8d" title="Name of the parameter for changing the texture path of the built-in csm loader.">scene::CSM_TEXTURE_PATH</a>, "path/to/your/textures"); </td></tr>
3268<tr>
3269<td>COLLADA (.dae, .xml) </td><td><p class="starttd">COLLADA is an open Digital Asset Exchange Schema for the interactive 3D industry. There are exporters and importers for this format available for most of the big 3d packagesat <a href="http://collada.org.">http://collada.org.</a> Irrlicht can import COLLADA files by using the <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">ISceneManager::getMesh()</a> method. COLLADA files need not contain only one single mesh but multiple meshes and a whole scene setup with lights, cameras and mesh instances, this loader can set up a scene as described by the COLLADA file instead of loading and returning one single mesh. By default, this loader behaves like the other loaders and does not create instances, but it can be switched into this mode by using SceneManager-&gt;<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4dba8ee7f48fdf6ede2c3f4b5fabcad3" title="Get interface to the parameters set in this scene.">getParameters()</a>-&gt;setAttribute(COLLADA_CREATE_SCENE_INSTANCES, true); Created scene nodes will be named as the names of the nodes in the COLLADA file. The returned mesh is just a dummy object in this mode. Meshes included in the scene will be added into the scene manager with the following naming scheme: "path/to/file/file.dea#meshname". The loading of such meshes is logged. Currently, this loader is able to</p>
3270<p class="endtd">create meshes (made of only polygons), lights, and cameras. Materials and animations are currently not supported but this will change with future releases. </p>
3271</td></tr>
3272<tr>
3273<td>Delgine DeleD (.dmf) </td><td>DeleD (delgine.com) is a 3D editor and level-editor combined into one and is specifically designed for 3D game-development. With this loader, it is possible to directly load all geometry is as well as textures and lightmaps from .dmf files. To set texture and material paths, see scene::DMF_USE_MATERIALS_DIRS and <a class="el" href="namespaceirr_1_1scene.html#a2a6e8bd33eaec1815e3e16a59c269fb5" title="Name of the parameter for changing the texture path of the built-in DMF loader.">scene::DMF_TEXTURE_PATH</a>. It is also possible to flip the alpha texture by setting <a class="el" href="namespaceirr_1_1scene.html#acdc1ddd0bfeb4118a5d8f3ea953717f6" title="Name of the parameter for choose to flip or not tga files.">scene::DMF_FLIP_ALPHA_TEXTURES</a> to true and to set the material transparent reference value by setting <a class="el" href="namespaceirr_1_1scene.html#afd6e025453e80983de80371dc56718ef" title="Name of the parameter for setting reference value of alpha in transparent materials.">scene::DMF_ALPHA_CHANNEL_REF</a> to a float between 0 and 1. The loader is based on Salvatore Russo's .dmf loader, I just changed some parts of it. Thanks to Salvatore for his work and for allowing me to use his code in Irrlicht and put it under Irrlicht's license. For newer and more enchanced versions of the loader, take a look at delgine.com. </td></tr>
3274<tr>
3275<td>DirectX (.x) </td><td>Platform independent importer (so not D3D-only) for .x files. Most 3D packages can export these natively and there are several tools for them available, e.g. the Maya exporter included in the DX SDK. .x files can include skeletal animations and Irrlicht is able to play and display them, users can manipulate the joints via the <a class="el" href="classirr_1_1scene_1_1_i_skinned_mesh.html" title="Interface for using some special functions of Skinned meshes.">ISkinnedMesh</a> interface. Currently, Irrlicht only supports uncompressed .x files. </td></tr>
3276<tr>
3277<td>Half-Life model (.mdl) </td><td>This loader opens Half-life 1 models, it was contributed by Fabio Concas and adapted by Thomas Alten. </td></tr>
3278<tr>
3279<td>Irrlicht Mesh (.irrMesh) </td><td>This is a static mesh format written in XML, native to Irrlicht and written by the irr mesh writer. This format is exported by the CopperCube engine's lightmapper. </td></tr>
3280<tr>
3281<td>LightWave (.lwo) </td><td>Native to NewTek's LightWave 3D, the LWO format is well known and supported by many exporters. This loader will import LWO2 models including lightmaps, bumpmaps and reflection textures. </td></tr>
3282<tr>
3283<td>Maya (.obj) </td><td>Most 3D software can create .obj files which contain static geometry without material data. The material files .mtl are also supported. This importer for Irrlicht can load them directly. </td></tr>
3284<tr>
3285<td>Milkshape (.ms3d) </td><td>.MS3D files contain models and sometimes skeletal animations from the Milkshape 3D modeling and animation software. Like the other skeletal mesh loaders, oints are exposed via the <a class="el" href="classirr_1_1scene_1_1_i_skinned_mesh.html" title="Interface for using some special functions of Skinned meshes.">ISkinnedMesh</a> animated mesh type. </td></tr>
3286<tr>
3287<td>My3D (.my3d) </td><td>.my3D is a flexible 3D file format. The My3DTools contains plug-ins to export .my3D files from several 3D packages. With this built-in importer, Irrlicht can read and display those files directly. This loader was written by Zhuck Dimitry who also created the whole My3DTools package. If you are using this loader, please note that you can set the path of the textures before loading .my3d files. You can do this using SceneManager-&gt;<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4dba8ee7f48fdf6ede2c3f4b5fabcad3" title="Get interface to the parameters set in this scene.">getParameters()</a>-&gt;setAttribute(<a class="el" href="namespaceirr_1_1scene.html#a54eb9ea68ba13b4689444f8d34e338b9" title="Name of the parameter for changing the texture path of the built-in my3d loader.">scene::MY3D_TEXTURE_PATH</a>, "path/to/your/textures"); </td></tr>
3288<tr>
3289<td>OCT (.oct) </td><td>The oct file format contains 3D geometry and lightmaps and can be loaded directly by Irrlicht. OCT files<br/>
3290 can be created by FSRad, Paul Nette's radiosity processor or exported from Blender using OCTTools which can be found in the exporters/OCTTools directory of the SDK. Thanks to Murphy McCauley for creating all this. </td></tr>
3291<tr>
3292<td>OGRE Meshes (.mesh) </td><td>Ogre .mesh files contain 3D data for the OGRE 3D engine. Irrlicht can read and display them directly with this importer. To define materials for the mesh, copy a .material file named like the corresponding .mesh file where the .mesh file is. (For example ogrehead.material for ogrehead.mesh). Thanks to Christian Stehno who wrote and contributed this loader. </td></tr>
3293<tr>
3294<td>Pulsar LMTools (.lmts) </td><td>LMTools is a set of tools (Windows &amp; Linux) for creating lightmaps. Irrlicht can directly read .lmts files thanks to<br/>
3295 the importer created by Jonas Petersen. If you are using this loader, please note that you can set the path of the textures before loading .lmts files. You can do this using SceneManager-&gt;<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a4dba8ee7f48fdf6ede2c3f4b5fabcad3" title="Get interface to the parameters set in this scene.">getParameters()</a>-&gt;setAttribute(<a class="el" href="namespaceirr_1_1scene.html#a1d81a2ac8866dfa4a0ff3bdece327f75" title="Name of the parameter for changing the texture path of the built-in lmts loader.">scene::LMTS_TEXTURE_PATH</a>, "path/to/your/textures"); Notes for<br/>
3296 this version of the loader:<br/>
3297<ul>
3298<li>It does not recognise/support user data in the *.lmts files.<br/>
3299</li>
3300<li>The TGAs generated by LMTools don't work in Irrlicht for some reason (the textures are upside down). Opening and resaving them in a graphics app will solve the problem. </li>
3301</ul>
3302</td></tr>
3303<tr>
3304<td>Quake 3 levels (.bsp) </td><td>Quake 3 is a popular game by IDSoftware, and .pk3 files contain .bsp files and textures/lightmaps describing huge prelighted levels. Irrlicht can read .pk3 and .bsp files directly and thus render Quake 3 levels directly. Written by Nikolaus Gebhardt enhanced by Dean P. Macri with the curved surfaces feature. </td></tr>
3305<tr>
3306<td>Quake 2 models (.md2) </td><td>Quake 2 models are characters with morph target animation. Irrlicht can read, display and animate them directly with this importer. </td></tr>
3307<tr>
3308<td>Quake 3 models (.md3) </td><td>Quake 3 models are characters with morph target animation, they contain mount points for weapons and body parts and are typically made of several sections which are manually joined together. </td></tr>
3309<tr>
3310<td>Stanford Triangle (.ply) </td><td>Invented by Stanford University and known as the native format of the infamous "Stanford Bunny" model, this is a popular static mesh format used by 3D scanning hardware and software. This loader supports extremely large models in both ASCII and binary format, but only has rudimentary material support in the form of vertex colors and texture coordinates. </td></tr>
3311<tr>
3312<td>Stereolithography (.stl) </td><td>The STL format is used for rapid prototyping and computer-aided manufacturing, thus has no support for materials. </td></tr>
3313</table>
3314<p>To load and display a mesh quickly, just do this: </p>
3315<div class="fragment"><pre class="fragment"> SceneManager-&gt;addAnimatedMeshSceneNode(
3316 SceneManager-&gt;getMesh(<span class="stringliteral">&quot;yourmesh.3ds&quot;</span>));
3317</pre></div><p> If you would like to implement and add your own file format loader to Irrlicht, see <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a808972cc001db86c0576c38b3b3fbbf7" title="Adds an external mesh loader for extending the engine with new file formats.">addExternalMeshLoader()</a>. </p>
3318<dl><dt><b>Parameters:</b></dt><dd>
3319 <table class="params">
3320 <tr><td class="paramname">filename,:</td><td>Filename of the mesh to load. </td></tr>
3321 </table>
3322 </dd>
3323</dl>
3324<dl class="return"><dt><b>Returns:</b></dt><dd>Null if failed, otherwise pointer to the mesh. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3325
3326</div>
3327</div>
3328<a class="anchor" id="af0ff82d7bac969d6a30f67c7b1fa0c46"></a><!-- doxytag: member="irr::scene::ISceneManager::getMesh" ref="af0ff82d7bac969d6a30f67c7b1fa0c46" args="(io::IReadFile *file)=0" -->
3329<div class="memitem">
3330<div class="memproto">
3331 <table class="memname">
3332 <tr>
3333 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_animated_mesh.html">IAnimatedMesh</a>* irr::scene::ISceneManager::getMesh </td>
3334 <td>(</td>
3335 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *&#160;</td>
3336 <td class="paramname"><em>file</em></td><td>)</td>
3337 <td><code> [pure virtual]</code></td>
3338 </tr>
3339 </table>
3340</div>
3341<div class="memdoc">
3342
3343<p>Get pointer to an animateable mesh. Loads the file if not loaded already. </p>
3344<p>Works just as getMesh(const char* filename). If you want to remove a loaded mesh from the cache again, use removeMesh(). </p>
3345<dl><dt><b>Parameters:</b></dt><dd>
3346 <table class="params">
3347 <tr><td class="paramname">file</td><td>File handle of the mesh to load. </td></tr>
3348 </table>
3349 </dd>
3350</dl>
3351<dl class="return"><dt><b>Returns:</b></dt><dd>NULL if failed and pointer to the mesh if successful. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3352
3353</div>
3354</div>
3355<a class="anchor" id="a45d89c816e33abe0e77eb063d7ce58a8"></a><!-- doxytag: member="irr::scene::ISceneManager::getMeshCache" ref="a45d89c816e33abe0e77eb063d7ce58a8" args="()=0" -->
3356<div class="memitem">
3357<div class="memproto">
3358 <table class="memname">
3359 <tr>
3360 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_cache.html">IMeshCache</a>* irr::scene::ISceneManager::getMeshCache </td>
3361 <td>(</td>
3362 <td class="paramname"></td><td>)</td>
3363 <td><code> [pure virtual]</code></td>
3364 </tr>
3365 </table>
3366</div>
3367<div class="memdoc">
3368
3369<p>Get interface to the mesh cache which is shared beween all existing scene managers. </p>
3370<p>With this interface, it is possible to manually add new loaded meshes (if <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a63894c3f3d46cfc385116f1705935e03" title="Get pointer to an animateable mesh. Loads the file if not loaded already.">ISceneManager::getMesh()</a> is not sufficient), to remove them and to iterate through already loaded meshes. </p>
3371
3372</div>
3373</div>
3374<a class="anchor" id="afabf244b50875a52eb42d5d375fa40d4"></a><!-- doxytag: member="irr::scene::ISceneManager::getMeshLoader" ref="afabf244b50875a52eb42d5d375fa40d4" args="(u32 index) const =0" -->
3375<div class="memitem">
3376<div class="memproto">
3377 <table class="memname">
3378 <tr>
3379 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_loader.html">IMeshLoader</a>* irr::scene::ISceneManager::getMeshLoader </td>
3380 <td>(</td>
3381 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3382 <td class="paramname"><em>index</em></td><td>)</td>
3383 <td> const<code> [pure virtual]</code></td>
3384 </tr>
3385 </table>
3386</div>
3387<div class="memdoc">
3388
3389<p>Retrieve the given mesh loader. </p>
3390<dl><dt><b>Parameters:</b></dt><dd>
3391 <table class="params">
3392 <tr><td class="paramname">index</td><td>The index of the loader to retrieve. This parameter is an 0-based array index. </td></tr>
3393 </table>
3394 </dd>
3395</dl>
3396<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified loader, 0 if the index is incorrect. </dd></dl>
3397
3398</div>
3399</div>
3400<a class="anchor" id="abb3fc9803b7de0cf7177042bd24508ad"></a><!-- doxytag: member="irr::scene::ISceneManager::getMeshLoaderCount" ref="abb3fc9803b7de0cf7177042bd24508ad" args="() const =0" -->
3401<div class="memitem">
3402<div class="memproto">
3403 <table class="memname">
3404 <tr>
3405 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::scene::ISceneManager::getMeshLoaderCount </td>
3406 <td>(</td>
3407 <td class="paramname"></td><td>)</td>
3408 <td> const<code> [pure virtual]</code></td>
3409 </tr>
3410 </table>
3411</div>
3412<div class="memdoc">
3413
3414<p>Returns the number of mesh loaders supported by Irrlicht at this time. </p>
3415
3416</div>
3417</div>
3418<a class="anchor" id="a05138d6b5f99fced0061794fb5c42318"></a><!-- doxytag: member="irr::scene::ISceneManager::getMeshManipulator" ref="a05138d6b5f99fced0061794fb5c42318" args="()=0" -->
3419<div class="memitem">
3420<div class="memproto">
3421 <table class="memname">
3422 <tr>
3423 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_manipulator.html">IMeshManipulator</a>* irr::scene::ISceneManager::getMeshManipulator </td>
3424 <td>(</td>
3425 <td class="paramname"></td><td>)</td>
3426 <td><code> [pure virtual]</code></td>
3427 </tr>
3428 </table>
3429</div>
3430<div class="memdoc">
3431
3432<p>Get pointer to the mesh manipulator. </p>
3433<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the mesh manipulator This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3434
3435</div>
3436</div>
3437<a class="anchor" id="a4dba8ee7f48fdf6ede2c3f4b5fabcad3"></a><!-- doxytag: member="irr::scene::ISceneManager::getParameters" ref="a4dba8ee7f48fdf6ede2c3f4b5fabcad3" args="()=0" -->
3438<div class="memitem">
3439<div class="memproto">
3440 <table class="memname">
3441 <tr>
3442 <td class="memname">virtual <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a>* irr::scene::ISceneManager::getParameters </td>
3443 <td>(</td>
3444 <td class="paramname"></td><td>)</td>
3445 <td><code> [pure virtual]</code></td>
3446 </tr>
3447 </table>
3448</div>
3449<div class="memdoc">
3450
3451<p>Get interface to the parameters set in this scene. </p>
3452<p>String parameters can be used by plugins and mesh loaders. For example the CMS and LMTS loader want a parameter named 'CSM_TexturePath' and 'LMTS_TexturePath' set to the path were attached textures can be found. See CSM_TEXTURE_PATH, LMTS_TEXTURE_PATH, MY3D_TEXTURE_PATH, COLLADA_CREATE_SCENE_INSTANCES, DMF_TEXTURE_PATH and DMF_USE_MATERIALS_DIRS </p>
3453
3454</div>
3455</div>
3456<a class="anchor" id="abf31f8c0dfb5242d07339fbba20a63e5"></a><!-- doxytag: member="irr::scene::ISceneManager::getRegisteredSceneNodeAnimatorFactoryCount" ref="abf31f8c0dfb5242d07339fbba20a63e5" args="() const =0" -->
3457<div class="memitem">
3458<div class="memproto">
3459 <table class="memname">
3460 <tr>
3461 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::scene::ISceneManager::getRegisteredSceneNodeAnimatorFactoryCount </td>
3462 <td>(</td>
3463 <td class="paramname"></td><td>)</td>
3464 <td> const<code> [pure virtual]</code></td>
3465 </tr>
3466 </table>
3467</div>
3468<div class="memdoc">
3469
3470<p>Get amount of registered scene node animator factories. </p>
3471
3472</div>
3473</div>
3474<a class="anchor" id="a405dd898657d08cd1dbf973d1cb88b19"></a><!-- doxytag: member="irr::scene::ISceneManager::getRegisteredSceneNodeFactoryCount" ref="a405dd898657d08cd1dbf973d1cb88b19" args="() const =0" -->
3475<div class="memitem">
3476<div class="memproto">
3477 <table class="memname">
3478 <tr>
3479 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::scene::ISceneManager::getRegisteredSceneNodeFactoryCount </td>
3480 <td>(</td>
3481 <td class="paramname"></td><td>)</td>
3482 <td> const<code> [pure virtual]</code></td>
3483 </tr>
3484 </table>
3485</div>
3486<div class="memdoc">
3487
3488<p>Get amount of registered scene node factories. </p>
3489
3490</div>
3491</div>
3492<a class="anchor" id="a4f7075320f1a3bf2838f29c23f78635f"></a><!-- doxytag: member="irr::scene::ISceneManager::getRootSceneNode" ref="a4f7075320f1a3bf2838f29c23f78635f" args="()=0" -->
3493<div class="memitem">
3494<div class="memproto">
3495 <table class="memname">
3496 <tr>
3497 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::getRootSceneNode </td>
3498 <td>(</td>
3499 <td class="paramname"></td><td>)</td>
3500 <td><code> [pure virtual]</code></td>
3501 </tr>
3502 </table>
3503</div>
3504<div class="memdoc">
3505
3506<p>Gets the root scene node. </p>
3507<p>This is the scene node which is parent of all scene nodes. The root scene node is a special scene node which only exists to manage all scene nodes. It will not be rendered and cannot be removed from the scene. </p>
3508<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the root scene node. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3509
3510</div>
3511</div>
3512<a class="anchor" id="a433b65bfc974d069a1dc2fc296b23d9b"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneCollisionManager" ref="a433b65bfc974d069a1dc2fc296b23d9b" args="()=0" -->
3513<div class="memitem">
3514<div class="memproto">
3515 <table class="memname">
3516 <tr>
3517 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_collision_manager.html">ISceneCollisionManager</a>* irr::scene::ISceneManager::getSceneCollisionManager </td>
3518 <td>(</td>
3519 <td class="paramname"></td><td>)</td>
3520 <td><code> [pure virtual]</code></td>
3521 </tr>
3522 </table>
3523</div>
3524<div class="memdoc">
3525
3526<p>Get pointer to the scene collision manager. </p>
3527<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the collision manager This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3528
3529</div>
3530</div>
3531<a class="anchor" id="a504fd792634ce0fbace4d13e70e4efab"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneLoader" ref="a504fd792634ce0fbace4d13e70e4efab" args="(u32 index) const =0" -->
3532<div class="memitem">
3533<div class="memproto">
3534 <table class="memname">
3535 <tr>
3536 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_loader.html">ISceneLoader</a>* irr::scene::ISceneManager::getSceneLoader </td>
3537 <td>(</td>
3538 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3539 <td class="paramname"><em>index</em></td><td>)</td>
3540 <td> const<code> [pure virtual]</code></td>
3541 </tr>
3542 </table>
3543</div>
3544<div class="memdoc">
3545
3546<p>Retrieve the given scene loader. </p>
3547<dl><dt><b>Parameters:</b></dt><dd>
3548 <table class="params">
3549 <tr><td class="paramname">index</td><td>The index of the loader to retrieve. This parameter is an 0-based array index. </td></tr>
3550 </table>
3551 </dd>
3552</dl>
3553<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified loader, 0 if the index is incorrect. </dd></dl>
3554
3555</div>
3556</div>
3557<a class="anchor" id="a3e5cd3e93d3ed711df7692c830c5a58a"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneLoaderCount" ref="a3e5cd3e93d3ed711df7692c830c5a58a" args="() const =0" -->
3558<div class="memitem">
3559<div class="memproto">
3560 <table class="memname">
3561 <tr>
3562 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::scene::ISceneManager::getSceneLoaderCount </td>
3563 <td>(</td>
3564 <td class="paramname"></td><td>)</td>
3565 <td> const<code> [pure virtual]</code></td>
3566 </tr>
3567 </table>
3568</div>
3569<div class="memdoc">
3570
3571<p>Returns the number of scene loaders supported by Irrlicht at this time. </p>
3572
3573</div>
3574</div>
3575<a class="anchor" id="a96d8272b74bd0adc9138f17e832dc887"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodeAnimatorFactory" ref="a96d8272b74bd0adc9138f17e832dc887" args="(u32 index)=0" -->
3576<div class="memitem">
3577<div class="memproto">
3578 <table class="memname">
3579 <tr>
3580 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_factory.html">ISceneNodeAnimatorFactory</a>* irr::scene::ISceneManager::getSceneNodeAnimatorFactory </td>
3581 <td>(</td>
3582 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3583 <td class="paramname"><em>index</em></td><td>)</td>
3584 <td><code> [pure virtual]</code></td>
3585 </tr>
3586 </table>
3587</div>
3588<div class="memdoc">
3589
3590<p>Get scene node animator factory by index. </p>
3591<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the requested scene node animator factory, or 0 if it does not exist. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3592
3593</div>
3594</div>
3595<a class="anchor" id="ac912b9effd5ce46f5dc038e0568e614c"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodeFactory" ref="ac912b9effd5ce46f5dc038e0568e614c" args="(u32 index)=0" -->
3596<div class="memitem">
3597<div class="memproto">
3598 <table class="memname">
3599 <tr>
3600 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node_factory.html">ISceneNodeFactory</a>* irr::scene::ISceneManager::getSceneNodeFactory </td>
3601 <td>(</td>
3602 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3603 <td class="paramname"><em>index</em></td><td>)</td>
3604 <td><code> [pure virtual]</code></td>
3605 </tr>
3606 </table>
3607</div>
3608<div class="memdoc">
3609
3610<p>Get a scene node factory by index. </p>
3611<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the requested scene node factory, or 0 if it does not exist. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3612
3613</div>
3614</div>
3615<a class="anchor" id="a038e2afb1397fe8f2b6f8f6c55d52b55"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodeFromId" ref="a038e2afb1397fe8f2b6f8f6c55d52b55" args="(s32 id, ISceneNode *start=0)=0" -->
3616<div class="memitem">
3617<div class="memproto">
3618 <table class="memname">
3619 <tr>
3620 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::getSceneNodeFromId </td>
3621 <td>(</td>
3622 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
3623 <td class="paramname"><em>id</em>, </td>
3624 </tr>
3625 <tr>
3626 <td class="paramkey"></td>
3627 <td></td>
3628 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3629 <td class="paramname"><em>start</em> = <code>0</code>&#160;</td>
3630 </tr>
3631 <tr>
3632 <td></td>
3633 <td>)</td>
3634 <td></td><td><code> [pure virtual]</code></td>
3635 </tr>
3636 </table>
3637</div>
3638<div class="memdoc">
3639
3640<p>Get the first scene node with the specified id. </p>
3641<dl><dt><b>Parameters:</b></dt><dd>
3642 <table class="params">
3643 <tr><td class="paramname">id,:</td><td>The id to search for </td></tr>
3644 <tr><td class="paramname">start,:</td><td>Scene node to start from. All children of this scene node are searched. If null is specified, the root scene node is taken. </td></tr>
3645 </table>
3646 </dd>
3647</dl>
3648<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the first scene node with this id, and null if no scene node could be found. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3649
3650</div>
3651</div>
3652<a class="anchor" id="a13ada3cca4b9eadee5e8ba3ccb6683da"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodeFromName" ref="a13ada3cca4b9eadee5e8ba3ccb6683da" args="(const c8 *name, ISceneNode *start=0)=0" -->
3653<div class="memitem">
3654<div class="memproto">
3655 <table class="memname">
3656 <tr>
3657 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::getSceneNodeFromName </td>
3658 <td>(</td>
3659 <td class="paramtype">const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *&#160;</td>
3660 <td class="paramname"><em>name</em>, </td>
3661 </tr>
3662 <tr>
3663 <td class="paramkey"></td>
3664 <td></td>
3665 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3666 <td class="paramname"><em>start</em> = <code>0</code>&#160;</td>
3667 </tr>
3668 <tr>
3669 <td></td>
3670 <td>)</td>
3671 <td></td><td><code> [pure virtual]</code></td>
3672 </tr>
3673 </table>
3674</div>
3675<div class="memdoc">
3676
3677<p>Get the first scene node with the specified name. </p>
3678<dl><dt><b>Parameters:</b></dt><dd>
3679 <table class="params">
3680 <tr><td class="paramname">name,:</td><td>The name to search for </td></tr>
3681 <tr><td class="paramname">start,:</td><td>Scene node to start from. All children of this scene node are searched. If null is specified, the root scene node is taken. </td></tr>
3682 </table>
3683 </dd>
3684</dl>
3685<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the first scene node with this id, and null if no scene node could be found. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3686
3687</div>
3688</div>
3689<a class="anchor" id="a5ab8e8f8cc8456a3ea881c75dfe505bb"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodeFromType" ref="a5ab8e8f8cc8456a3ea881c75dfe505bb" args="(scene::ESCENE_NODE_TYPE type, ISceneNode *start=0)=0" -->
3690<div class="memitem">
3691<div class="memproto">
3692 <table class="memname">
3693 <tr>
3694 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a>* irr::scene::ISceneManager::getSceneNodeFromType </td>
3695 <td>(</td>
3696 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#acad3d7ef92a9807d391ba29120f3b7bd">scene::ESCENE_NODE_TYPE</a>&#160;</td>
3697 <td class="paramname"><em>type</em>, </td>
3698 </tr>
3699 <tr>
3700 <td class="paramkey"></td>
3701 <td></td>
3702 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3703 <td class="paramname"><em>start</em> = <code>0</code>&#160;</td>
3704 </tr>
3705 <tr>
3706 <td></td>
3707 <td>)</td>
3708 <td></td><td><code> [pure virtual]</code></td>
3709 </tr>
3710 </table>
3711</div>
3712<div class="memdoc">
3713
3714<p>Get the first scene node with the specified type. </p>
3715<dl><dt><b>Parameters:</b></dt><dd>
3716 <table class="params">
3717 <tr><td class="paramname">type,:</td><td>The type to search for </td></tr>
3718 <tr><td class="paramname">start,:</td><td>Scene node to start from. All children of this scene node are searched. If null is specified, the root scene node is taken. </td></tr>
3719 </table>
3720 </dd>
3721</dl>
3722<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the first scene node with this type, and null if no scene node could be found. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3723
3724</div>
3725</div>
3726<a class="anchor" id="a2b8f844a1367d80648bc055a5639807b"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodeRenderPass" ref="a2b8f844a1367d80648bc055a5639807b" args="() const =0" -->
3727<div class="memitem">
3728<div class="memproto">
3729 <table class="memname">
3730 <tr>
3731 <td class="memname">virtual <a class="el" href="namespaceirr_1_1scene.html#a7862269bd1abc123929d4dbb8200d67f">E_SCENE_NODE_RENDER_PASS</a> irr::scene::ISceneManager::getSceneNodeRenderPass </td>
3732 <td>(</td>
3733 <td class="paramname"></td><td>)</td>
3734 <td> const<code> [pure virtual]</code></td>
3735 </tr>
3736 </table>
3737</div>
3738<div class="memdoc">
3739
3740<p>Get current render pass. </p>
3741<p>All scene nodes are being rendered in a specific order. First lights, cameras, sky boxes, solid geometry, and then transparent stuff. During the rendering process, scene nodes may want to know what the scene manager is rendering currently, because for example they registered for rendering twice, once for transparent geometry and once for solid. When knowing what rendering pass currently is active they can render the correct part of their geometry. </p>
3742
3743</div>
3744</div>
3745<a class="anchor" id="a9afcad318b725b5f95e19c839145d3d6"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodesFromType" ref="a9afcad318b725b5f95e19c839145d3d6" args="(ESCENE_NODE_TYPE type, core::array&lt; scene::ISceneNode * &gt; &amp;outNodes, ISceneNode *start=0)=0" -->
3746<div class="memitem">
3747<div class="memproto">
3748 <table class="memname">
3749 <tr>
3750 <td class="memname">virtual void irr::scene::ISceneManager::getSceneNodesFromType </td>
3751 <td>(</td>
3752 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#acad3d7ef92a9807d391ba29120f3b7bd">ESCENE_NODE_TYPE</a>&#160;</td>
3753 <td class="paramname"><em>type</em>, </td>
3754 </tr>
3755 <tr>
3756 <td class="paramkey"></td>
3757 <td></td>
3758 <td class="paramtype"><a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> * &gt; &amp;&#160;</td>
3759 <td class="paramname"><em>outNodes</em>, </td>
3760 </tr>
3761 <tr>
3762 <td class="paramkey"></td>
3763 <td></td>
3764 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3765 <td class="paramname"><em>start</em> = <code>0</code>&#160;</td>
3766 </tr>
3767 <tr>
3768 <td></td>
3769 <td>)</td>
3770 <td></td><td><code> [pure virtual]</code></td>
3771 </tr>
3772 </table>
3773</div>
3774<div class="memdoc">
3775
3776<p>Get scene nodes by type. </p>
3777<dl><dt><b>Parameters:</b></dt><dd>
3778 <table class="params">
3779 <tr><td class="paramname">type,:</td><td>Type of scene node to find (ESNT_ANY will return all child nodes). </td></tr>
3780 <tr><td class="paramname">outNodes,:</td><td>array to be filled with results. </td></tr>
3781 <tr><td class="paramname">start,:</td><td>Scene node to start from. All children of this scene node are searched. If null is specified, the root scene node is taken. </td></tr>
3782 </table>
3783 </dd>
3784</dl>
3785
3786</div>
3787</div>
3788<a class="anchor" id="a9f8cc1f55b8e067528b7a9a21b7fdd50"></a><!-- doxytag: member="irr::scene::ISceneManager::getSceneNodeTypeName" ref="a9f8cc1f55b8e067528b7a9a21b7fdd50" args="(ESCENE_NODE_TYPE type)=0" -->
3789<div class="memitem">
3790<div class="memproto">
3791 <table class="memname">
3792 <tr>
3793 <td class="memname">virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a>* irr::scene::ISceneManager::getSceneNodeTypeName </td>
3794 <td>(</td>
3795 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#acad3d7ef92a9807d391ba29120f3b7bd">ESCENE_NODE_TYPE</a>&#160;</td>
3796 <td class="paramname"><em>type</em></td><td>)</td>
3797 <td><code> [pure virtual]</code></td>
3798 </tr>
3799 </table>
3800</div>
3801<div class="memdoc">
3802
3803<p>Get typename from a scene node type or null if not found. </p>
3804
3805</div>
3806</div>
3807<a class="anchor" id="ac57d3e4fca82867fd3f0ef2a47c4c07c"></a><!-- doxytag: member="irr::scene::ISceneManager::getShadowColor" ref="ac57d3e4fca82867fd3f0ef2a47c4c07c" args="() const =0" -->
3808<div class="memitem">
3809<div class="memproto">
3810 <table class="memname">
3811 <tr>
3812 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> irr::scene::ISceneManager::getShadowColor </td>
3813 <td>(</td>
3814 <td class="paramname"></td><td>)</td>
3815 <td> const<code> [pure virtual]</code></td>
3816 </tr>
3817 </table>
3818</div>
3819<div class="memdoc">
3820
3821<p>Get the current color of shadows. </p>
3822
3823</div>
3824</div>
3825<a class="anchor" id="afde082160205a8faab44cd5b61e3745c"></a><!-- doxytag: member="irr::scene::ISceneManager::getVideoDriver" ref="afde082160205a8faab44cd5b61e3745c" args="()=0" -->
3826<div class="memitem">
3827<div class="memproto">
3828 <table class="memname">
3829 <tr>
3830 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a>* irr::scene::ISceneManager::getVideoDriver </td>
3831 <td>(</td>
3832 <td class="paramname"></td><td>)</td>
3833 <td><code> [pure virtual]</code></td>
3834 </tr>
3835 </table>
3836</div>
3837<div class="memdoc">
3838
3839<p>Get the video driver. </p>
3840<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the video Driver. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>
3841
3842</div>
3843</div>
3844<a class="anchor" id="aff6c6d553e0faf12bbfd33e814ad4352"></a><!-- doxytag: member="irr::scene::ISceneManager::isCulled" ref="aff6c6d553e0faf12bbfd33e814ad4352" args="(const ISceneNode *node) const =0" -->
3845<div class="memitem">
3846<div class="memproto">
3847 <table class="memname">
3848 <tr>
3849 <td class="memname">virtual bool irr::scene::ISceneManager::isCulled </td>
3850 <td>(</td>
3851 <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3852 <td class="paramname"><em>node</em></td><td>)</td>
3853 <td> const<code> [pure virtual]</code></td>
3854 </tr>
3855 </table>
3856</div>
3857<div class="memdoc">
3858
3859<p>Check if node is culled in current view frustum. </p>
3860<p>Please note that depending on the used culling method this check can be rather coarse, or slow. A positive result is correct, though, i.e. if this method returns true the node is positively not visible. The node might still be invisible even if this method returns false. </p>
3861<dl><dt><b>Parameters:</b></dt><dd>
3862 <table class="params">
3863 <tr><td class="paramname">node</td><td>The scene node which is checked for culling. </td></tr>
3864 </table>
3865 </dd>
3866</dl>
3867<dl class="return"><dt><b>Returns:</b></dt><dd>True if node is not visible in the current scene, else false. </dd></dl>
3868
3869</div>
3870</div>
3871<a class="anchor" id="aa7641dd33e84fca7946ed17047349a3e"></a><!-- doxytag: member="irr::scene::ISceneManager::loadScene" ref="aa7641dd33e84fca7946ed17047349a3e" args="(const io::path &amp;filename, ISceneUserDataSerializer *userDataSerializer=0, ISceneNode *rootNode=0)=0" -->
3872<div class="memitem">
3873<div class="memproto">
3874 <table class="memname">
3875 <tr>
3876 <td class="memname">virtual bool irr::scene::ISceneManager::loadScene </td>
3877 <td>(</td>
3878 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
3879 <td class="paramname"><em>filename</em>, </td>
3880 </tr>
3881 <tr>
3882 <td class="paramkey"></td>
3883 <td></td>
3884 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *&#160;</td>
3885 <td class="paramname"><em>userDataSerializer</em> = <code>0</code>, </td>
3886 </tr>
3887 <tr>
3888 <td class="paramkey"></td>
3889 <td></td>
3890 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3891 <td class="paramname"><em>rootNode</em> = <code>0</code>&#160;</td>
3892 </tr>
3893 <tr>
3894 <td></td>
3895 <td>)</td>
3896 <td></td><td><code> [pure virtual]</code></td>
3897 </tr>
3898 </table>
3899</div>
3900<div class="memdoc">
3901
3902<p>Loads a scene. Note that the current scene is not cleared before. </p>
3903<p>The scene is usually loaded from an .irr file, an xml based format, but other scene formats can be added to the engine via <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a8f0bc0221c4faaca80ac8f560ee424ef" title="Adds an external scene loader for extending the engine with new file formats.">ISceneManager::addExternalSceneLoader</a>. .irr files can Be edited with the Irrlicht Engine Editor, irrEdit (<a href="http://www.ambiera.com/irredit/">http://www.ambiera.com/irredit/</a>) or saved directly by the engine using <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a6dd059e96ff4f7233b7ba1ed7e39c337" title="Saves the current scene into a file.">ISceneManager::saveScene()</a>. </p>
3904<dl><dt><b>Parameters:</b></dt><dd>
3905 <table class="params">
3906 <tr><td class="paramname">filename</td><td>Name of the file to load from. </td></tr>
3907 <tr><td class="paramname">userDataSerializer</td><td>If you want to load user data possibily saved in that file for some scene nodes in the file, implement the <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html" title="Interface to read and write user data to and from .irr files.">ISceneUserDataSerializer</a> interface and provide it as parameter here. Otherwise, simply specify 0 as this parameter. </td></tr>
3908 <tr><td class="paramname">rootNode</td><td>Node which is taken as the root node of the scene. Pass 0 to add the scene directly to the scene manager (which is also the default). </td></tr>
3909 </table>
3910 </dd>
3911</dl>
3912<dl class="return"><dt><b>Returns:</b></dt><dd>True if successful. </dd></dl>
3913
3914</div>
3915</div>
3916<a class="anchor" id="a21549d3cae3526313c37d9ed7fd08767"></a><!-- doxytag: member="irr::scene::ISceneManager::loadScene" ref="a21549d3cae3526313c37d9ed7fd08767" args="(io::IReadFile *file, ISceneUserDataSerializer *userDataSerializer=0, ISceneNode *rootNode=0)=0" -->
3917<div class="memitem">
3918<div class="memproto">
3919 <table class="memname">
3920 <tr>
3921 <td class="memname">virtual bool irr::scene::ISceneManager::loadScene </td>
3922 <td>(</td>
3923 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *&#160;</td>
3924 <td class="paramname"><em>file</em>, </td>
3925 </tr>
3926 <tr>
3927 <td class="paramkey"></td>
3928 <td></td>
3929 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *&#160;</td>
3930 <td class="paramname"><em>userDataSerializer</em> = <code>0</code>, </td>
3931 </tr>
3932 <tr>
3933 <td class="paramkey"></td>
3934 <td></td>
3935 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3936 <td class="paramname"><em>rootNode</em> = <code>0</code>&#160;</td>
3937 </tr>
3938 <tr>
3939 <td></td>
3940 <td>)</td>
3941 <td></td><td><code> [pure virtual]</code></td>
3942 </tr>
3943 </table>
3944</div>
3945<div class="memdoc">
3946
3947<p>Loads a scene. Note that the current scene is not cleared before. </p>
3948<p>The scene is usually loaded from an .irr file, an xml based format, but other scene formats can be added to the engine via <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a8f0bc0221c4faaca80ac8f560ee424ef" title="Adds an external scene loader for extending the engine with new file formats.">ISceneManager::addExternalSceneLoader</a>. .irr files can Be edited with the Irrlicht Engine Editor, irrEdit (<a href="http://www.ambiera.com/irredit/">http://www.ambiera.com/irredit/</a>) or saved directly by the engine using <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a6dd059e96ff4f7233b7ba1ed7e39c337" title="Saves the current scene into a file.">ISceneManager::saveScene()</a>. </p>
3949<dl><dt><b>Parameters:</b></dt><dd>
3950 <table class="params">
3951 <tr><td class="paramname">file</td><td>File where the scene is loaded from. </td></tr>
3952 <tr><td class="paramname">userDataSerializer</td><td>If you want to load user data possibily saved in that file for some scene nodes in the file, implement the <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html" title="Interface to read and write user data to and from .irr files.">ISceneUserDataSerializer</a> interface and provide it as parameter here. Otherwise, simply specify 0 as this parameter. </td></tr>
3953 <tr><td class="paramname">rootNode</td><td>Node which is taken as the root node of the scene. Pass 0 to add the scene directly to the scene manager (which is also the default). </td></tr>
3954 </table>
3955 </dd>
3956</dl>
3957<dl class="return"><dt><b>Returns:</b></dt><dd>True if successful. </dd></dl>
3958
3959</div>
3960</div>
3961<a class="anchor" id="ac68aa8d654884f19ad52fa28f11db424"></a><!-- doxytag: member="irr::scene::ISceneManager::postEventFromUser" ref="ac68aa8d654884f19ad52fa28f11db424" args="(const SEvent &amp;event)=0" -->
3962<div class="memitem">
3963<div class="memproto">
3964 <table class="memname">
3965 <tr>
3966 <td class="memname">virtual bool irr::scene::ISceneManager::postEventFromUser </td>
3967 <td>(</td>
3968 <td class="paramtype">const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> &amp;&#160;</td>
3969 <td class="paramname"><em>event</em></td><td>)</td>
3970 <td><code> [pure virtual]</code></td>
3971 </tr>
3972 </table>
3973</div>
3974<div class="memdoc">
3975
3976<p>Posts an input event to the environment. </p>
3977<p>Usually you do not have to use this method, it is used by the internal engine. </p>
3978
3979</div>
3980</div>
3981<a class="anchor" id="aaf17bdde6d4e9ef61a76f3b43100ecb8"></a><!-- doxytag: member="irr::scene::ISceneManager::registerNodeForRendering" ref="aaf17bdde6d4e9ef61a76f3b43100ecb8" args="(ISceneNode *node, E_SCENE_NODE_RENDER_PASS pass=ESNRP_AUTOMATIC)=0" -->
3982<div class="memitem">
3983<div class="memproto">
3984 <table class="memname">
3985 <tr>
3986 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::scene::ISceneManager::registerNodeForRendering </td>
3987 <td>(</td>
3988 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
3989 <td class="paramname"><em>node</em>, </td>
3990 </tr>
3991 <tr>
3992 <td class="paramkey"></td>
3993 <td></td>
3994 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a7862269bd1abc123929d4dbb8200d67f">E_SCENE_NODE_RENDER_PASS</a>&#160;</td>
3995 <td class="paramname"><em>pass</em> = <code>ESNRP_AUTOMATIC</code>&#160;</td>
3996 </tr>
3997 <tr>
3998 <td></td>
3999 <td>)</td>
4000 <td></td><td><code> [pure virtual]</code></td>
4001 </tr>
4002 </table>
4003</div>
4004<div class="memdoc">
4005
4006<p>Registers a node for rendering it at a specific time. </p>
4007<p>This method should only be used by SceneNodes when they get a <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#ac9795bfcb88dcaf8cba6ea3296e5d8d0" title="This method is called just before the rendering process of the whole scene.">ISceneNode::OnRegisterSceneNode()</a> call. </p>
4008<dl><dt><b>Parameters:</b></dt><dd>
4009 <table class="params">
4010 <tr><td class="paramname">node,:</td><td>Node to register for drawing. Usually scene nodes would set 'this' as parameter here because they want to be drawn. </td></tr>
4011 <tr><td class="paramname">pass,:</td><td>Specifies when the node wants to be drawn in relation to the other nodes. For example, if the node is a shadow, it usually wants to be drawn after all other nodes and will use ESNRP_SHADOW for this. See <a class="el" href="namespaceirr_1_1scene.html#a7862269bd1abc123929d4dbb8200d67f" title="Enumeration for render passes.">scene::E_SCENE_NODE_RENDER_PASS</a> for details. </td></tr>
4012 </table>
4013 </dd>
4014</dl>
4015<dl class="return"><dt><b>Returns:</b></dt><dd>scene will be rendered ( passed culling ) </dd></dl>
4016
4017</div>
4018</div>
4019<a class="anchor" id="af48c93cc41f986f08ed964cc575ee7a0"></a><!-- doxytag: member="irr::scene::ISceneManager::registerSceneNodeAnimatorFactory" ref="af48c93cc41f986f08ed964cc575ee7a0" args="(ISceneNodeAnimatorFactory *factoryToAdd)=0" -->
4020<div class="memitem">
4021<div class="memproto">
4022 <table class="memname">
4023 <tr>
4024 <td class="memname">virtual void irr::scene::ISceneManager::registerSceneNodeAnimatorFactory </td>
4025 <td>(</td>
4026 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node_animator_factory.html">ISceneNodeAnimatorFactory</a> *&#160;</td>
4027 <td class="paramname"><em>factoryToAdd</em></td><td>)</td>
4028 <td><code> [pure virtual]</code></td>
4029 </tr>
4030 </table>
4031</div>
4032<div class="memdoc">
4033
4034<p>Adds a scene node animator factory to the scene manager. </p>
4035<p>Use this to extend the scene manager with new scene node animator types which it should be able to create automaticly, for example when loading data from xml files. </p>
4036
4037</div>
4038</div>
4039<a class="anchor" id="a75ac9315def74ae5e26a2d6a2f5a38e9"></a><!-- doxytag: member="irr::scene::ISceneManager::registerSceneNodeFactory" ref="a75ac9315def74ae5e26a2d6a2f5a38e9" args="(ISceneNodeFactory *factoryToAdd)=0" -->
4040<div class="memitem">
4041<div class="memproto">
4042 <table class="memname">
4043 <tr>
4044 <td class="memname">virtual void irr::scene::ISceneManager::registerSceneNodeFactory </td>
4045 <td>(</td>
4046 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node_factory.html">ISceneNodeFactory</a> *&#160;</td>
4047 <td class="paramname"><em>factoryToAdd</em></td><td>)</td>
4048 <td><code> [pure virtual]</code></td>
4049 </tr>
4050 </table>
4051</div>
4052<div class="memdoc">
4053
4054<p>Adds a scene node factory to the scene manager. </p>
4055<p>Use this to extend the scene manager with new scene node types which it should be able to create automaticly, for example when loading data from xml files. </p>
4056
4057</div>
4058</div>
4059<a class="anchor" id="a6dd059e96ff4f7233b7ba1ed7e39c337"></a><!-- doxytag: member="irr::scene::ISceneManager::saveScene" ref="a6dd059e96ff4f7233b7ba1ed7e39c337" args="(const io::path &amp;filename, ISceneUserDataSerializer *userDataSerializer=0, ISceneNode *node=0)=0" -->
4060<div class="memitem">
4061<div class="memproto">
4062 <table class="memname">
4063 <tr>
4064 <td class="memname">virtual bool irr::scene::ISceneManager::saveScene </td>
4065 <td>(</td>
4066 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
4067 <td class="paramname"><em>filename</em>, </td>
4068 </tr>
4069 <tr>
4070 <td class="paramkey"></td>
4071 <td></td>
4072 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *&#160;</td>
4073 <td class="paramname"><em>userDataSerializer</em> = <code>0</code>, </td>
4074 </tr>
4075 <tr>
4076 <td class="paramkey"></td>
4077 <td></td>
4078 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
4079 <td class="paramname"><em>node</em> = <code>0</code>&#160;</td>
4080 </tr>
4081 <tr>
4082 <td></td>
4083 <td>)</td>
4084 <td></td><td><code> [pure virtual]</code></td>
4085 </tr>
4086 </table>
4087</div>
4088<div class="memdoc">
4089
4090<p>Saves the current scene into a file. </p>
4091<p>Scene nodes with the option isDebugObject set to true are not being saved. The scene is usually written to an .irr file, an xml based format. .irr files can Be edited with the Irrlicht Engine Editor, irrEdit (<a href="http://www.ambiera.com/irredit/">http://www.ambiera.com/irredit/</a>). To load .irr files again, see <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aa7641dd33e84fca7946ed17047349a3e" title="Loads a scene. Note that the current scene is not cleared before.">ISceneManager::loadScene()</a>. </p>
4092<dl><dt><b>Parameters:</b></dt><dd>
4093 <table class="params">
4094 <tr><td class="paramname">filename</td><td>Name of the file. </td></tr>
4095 <tr><td class="paramname">userDataSerializer</td><td>If you want to save some user data for every scene node into the file, implement the <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html" title="Interface to read and write user data to and from .irr files.">ISceneUserDataSerializer</a> interface and provide it as parameter here. Otherwise, simply specify 0 as this parameter. </td></tr>
4096 <tr><td class="paramname">node</td><td>Node which is taken as the top node of the scene. This node and all of its descendants are saved into the scene file. Pass 0 or the scene manager to save the full scene (which is also the default). </td></tr>
4097 </table>
4098 </dd>
4099</dl>
4100<dl class="return"><dt><b>Returns:</b></dt><dd>True if successful. </dd></dl>
4101
4102</div>
4103</div>
4104<a class="anchor" id="a5de4b5131186f3bcd8b0213f68e4a9ce"></a><!-- doxytag: member="irr::scene::ISceneManager::saveScene" ref="a5de4b5131186f3bcd8b0213f68e4a9ce" args="(io::IWriteFile *file, ISceneUserDataSerializer *userDataSerializer=0, ISceneNode *node=0)=0" -->
4105<div class="memitem">
4106<div class="memproto">
4107 <table class="memname">
4108 <tr>
4109 <td class="memname">virtual bool irr::scene::ISceneManager::saveScene </td>
4110 <td>(</td>
4111 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_write_file.html">io::IWriteFile</a> *&#160;</td>
4112 <td class="paramname"><em>file</em>, </td>
4113 </tr>
4114 <tr>
4115 <td class="paramkey"></td>
4116 <td></td>
4117 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *&#160;</td>
4118 <td class="paramname"><em>userDataSerializer</em> = <code>0</code>, </td>
4119 </tr>
4120 <tr>
4121 <td class="paramkey"></td>
4122 <td></td>
4123 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
4124 <td class="paramname"><em>node</em> = <code>0</code>&#160;</td>
4125 </tr>
4126 <tr>
4127 <td></td>
4128 <td>)</td>
4129 <td></td><td><code> [pure virtual]</code></td>
4130 </tr>
4131 </table>
4132</div>
4133<div class="memdoc">
4134
4135<p>Saves the current scene into a file. </p>
4136<p>Scene nodes with the option isDebugObject set to true are not being saved. The scene is usually written to an .irr file, an xml based format. .irr files can Be edited with the Irrlicht Engine Editor, irrEdit (<a href="http://www.ambiera.com/irredit/">http://www.ambiera.com/irredit/</a>). To load .irr files again, see <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aa7641dd33e84fca7946ed17047349a3e" title="Loads a scene. Note that the current scene is not cleared before.">ISceneManager::loadScene()</a>. </p>
4137<dl><dt><b>Parameters:</b></dt><dd>
4138 <table class="params">
4139 <tr><td class="paramname">file</td><td>File where the scene is saved into. </td></tr>
4140 <tr><td class="paramname">userDataSerializer</td><td>If you want to save some user data for every scene node into the file, implement the <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html" title="Interface to read and write user data to and from .irr files.">ISceneUserDataSerializer</a> interface and provide it as parameter here. Otherwise, simply specify 0 as this parameter. </td></tr>
4141 <tr><td class="paramname">node</td><td>Node which is taken as the top node of the scene. This node and all of its descendants are saved into the scene file. Pass 0 or the scene manager to save the full scene (which is also the default). </td></tr>
4142 </table>
4143 </dd>
4144</dl>
4145<dl class="return"><dt><b>Returns:</b></dt><dd>True if successful. </dd></dl>
4146
4147</div>
4148</div>
4149<a class="anchor" id="a824daa42c8bcf5c5eff159a56052000d"></a><!-- doxytag: member="irr::scene::ISceneManager::saveScene" ref="a824daa42c8bcf5c5eff159a56052000d" args="(io::IXMLWriter *writer, const io::path &amp;currentPath, ISceneUserDataSerializer *userDataSerializer=0, ISceneNode *node=0)=0" -->
4150<div class="memitem">
4151<div class="memproto">
4152 <table class="memname">
4153 <tr>
4154 <td class="memname">virtual bool irr::scene::ISceneManager::saveScene </td>
4155 <td>(</td>
4156 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_x_m_l_writer.html">io::IXMLWriter</a> *&#160;</td>
4157 <td class="paramname"><em>writer</em>, </td>
4158 </tr>
4159 <tr>
4160 <td class="paramkey"></td>
4161 <td></td>
4162 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
4163 <td class="paramname"><em>currentPath</em>, </td>
4164 </tr>
4165 <tr>
4166 <td class="paramkey"></td>
4167 <td></td>
4168 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html">ISceneUserDataSerializer</a> *&#160;</td>
4169 <td class="paramname"><em>userDataSerializer</em> = <code>0</code>, </td>
4170 </tr>
4171 <tr>
4172 <td class="paramkey"></td>
4173 <td></td>
4174 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
4175 <td class="paramname"><em>node</em> = <code>0</code>&#160;</td>
4176 </tr>
4177 <tr>
4178 <td></td>
4179 <td>)</td>
4180 <td></td><td><code> [pure virtual]</code></td>
4181 </tr>
4182 </table>
4183</div>
4184<div class="memdoc">
4185
4186<p>Saves the current scene into a file. </p>
4187<p>Scene nodes with the option isDebugObject set to true are not being saved. The scene is usually written to an .irr file, an xml based format. .irr files can Be edited with the Irrlicht Engine Editor, irrEdit (<a href="http://www.ambiera.com/irredit/">http://www.ambiera.com/irredit/</a>). To load .irr files again, see <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#aa7641dd33e84fca7946ed17047349a3e" title="Loads a scene. Note that the current scene is not cleared before.">ISceneManager::loadScene()</a>. </p>
4188<dl><dt><b>Parameters:</b></dt><dd>
4189 <table class="params">
4190 <tr><td class="paramname">writer</td><td>XMLWriter with which the scene is saved. </td></tr>
4191 <tr><td class="paramname">currentPath</td><td>Path which is used for relative file names. Usually the directory of the file written into. </td></tr>
4192 <tr><td class="paramname">userDataSerializer</td><td>If you want to save some user data for every scene node into the file, implement the <a class="el" href="classirr_1_1scene_1_1_i_scene_user_data_serializer.html" title="Interface to read and write user data to and from .irr files.">ISceneUserDataSerializer</a> interface and provide it as parameter here. Otherwise, simply specify 0 as this parameter. </td></tr>
4193 <tr><td class="paramname">node</td><td>Node which is taken as the top node of the scene. This node and all of its descendants are saved into the scene file. Pass 0 or the scene manager to save the full scene (which is also the default). </td></tr>
4194 </table>
4195 </dd>
4196</dl>
4197<dl class="return"><dt><b>Returns:</b></dt><dd>True if successful. </dd></dl>
4198
4199</div>
4200</div>
4201<a class="anchor" id="a5d19b7a6803a0a021082fc2b86043b3d"></a><!-- doxytag: member="irr::scene::ISceneManager::setActiveCamera" ref="a5d19b7a6803a0a021082fc2b86043b3d" args="(ICameraSceneNode *camera)=0" -->
4202<div class="memitem">
4203<div class="memproto">
4204 <table class="memname">
4205 <tr>
4206 <td class="memname">virtual void irr::scene::ISceneManager::setActiveCamera </td>
4207 <td>(</td>
4208 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> *&#160;</td>
4209 <td class="paramname"><em>camera</em></td><td>)</td>
4210 <td><code> [pure virtual]</code></td>
4211 </tr>
4212 </table>
4213</div>
4214<div class="memdoc">
4215
4216<p>Sets the currently active camera. </p>
4217<p>The previous active camera will be deactivated. </p>
4218<dl><dt><b>Parameters:</b></dt><dd>
4219 <table class="params">
4220 <tr><td class="paramname">camera,:</td><td>The new camera which should be active. </td></tr>
4221 </table>
4222 </dd>
4223</dl>
4224
4225</div>
4226</div>
4227<a class="anchor" id="a8a424accb615c4f60fde59f55033a816"></a><!-- doxytag: member="irr::scene::ISceneManager::setAmbientLight" ref="a8a424accb615c4f60fde59f55033a816" args="(const video::SColorf &amp;ambientColor)=0" -->
4228<div class="memitem">
4229<div class="memproto">
4230 <table class="memname">
4231 <tr>
4232 <td class="memname">virtual void irr::scene::ISceneManager::setAmbientLight </td>
4233 <td>(</td>
4234 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_colorf.html">video::SColorf</a> &amp;&#160;</td>
4235 <td class="paramname"><em>ambientColor</em></td><td>)</td>
4236 <td><code> [pure virtual]</code></td>
4237 </tr>
4238 </table>
4239</div>
4240<div class="memdoc">
4241
4242<p>Sets ambient color of the scene. </p>
4243
4244</div>
4245</div>
4246<a class="anchor" id="a0065307bf3ff12fdc5b7bb624987a1c2"></a><!-- doxytag: member="irr::scene::ISceneManager::setLightManager" ref="a0065307bf3ff12fdc5b7bb624987a1c2" args="(ILightManager *lightManager)=0" -->
4247<div class="memitem">
4248<div class="memproto">
4249 <table class="memname">
4250 <tr>
4251 <td class="memname">virtual void irr::scene::ISceneManager::setLightManager </td>
4252 <td>(</td>
4253 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_light_manager.html">ILightManager</a> *&#160;</td>
4254 <td class="paramname"><em>lightManager</em></td><td>)</td>
4255 <td><code> [pure virtual]</code></td>
4256 </tr>
4257 </table>
4258</div>
4259<div class="memdoc">
4260
4261<p>Register a custom callbacks manager which gets callbacks during scene rendering. </p>
4262<dl><dt><b>Parameters:</b></dt><dd>
4263 <table class="params">
4264 <tr><td class="paramdir">[in]</td><td class="paramname">lightManager,:</td><td>the new callbacks manager. You may pass 0 to remove the current callbacks manager and restore the default behavior. </td></tr>
4265 </table>
4266 </dd>
4267</dl>
4268
4269</div>
4270</div>
4271<a class="anchor" id="a074feb54d61f5402befef5e1bf0aff37"></a><!-- doxytag: member="irr::scene::ISceneManager::setShadowColor" ref="a074feb54d61f5402befef5e1bf0aff37" args="(video::SColor color=video::SColor(150, 0, 0, 0))=0" -->
4272<div class="memitem">
4273<div class="memproto">
4274 <table class="memname">
4275 <tr>
4276 <td class="memname">virtual void irr::scene::ISceneManager::setShadowColor </td>
4277 <td>(</td>
4278 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
4279 <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(150,&#160;0,&#160;0,&#160;0)</code></td><td>)</td>
4280 <td><code> [pure virtual]</code></td>
4281 </tr>
4282 </table>
4283</div>
4284<div class="memdoc">
4285
4286<p>Sets the color of stencil buffers shadows drawn by the scene manager. </p>
4287
4288</div>
4289</div>
4290<hr/>The documentation for this class was generated from the following file:<ul>
4291<li><a class="el" href="_i_scene_manager_8h_source.html">ISceneManager.h</a></li>
4292</ul>
4293</div>
4294</div>
4295 <div id="nav-path" class="navpath">
4296 <ul>
4297 <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
4298 <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a> </li>
4299 <li class="navelem"><a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">ISceneManager</a> </li>
4300<!-- window showing the filter options -->
4301<div id="MSearchSelectWindow"
4302 onmouseover="return searchBox.OnSearchSelectShow()"
4303 onmouseout="return searchBox.OnSearchSelectHide()"
4304 onkeydown="return searchBox.OnSearchSelectKey(event)">
4305<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
4306
4307<!-- iframe showing the search results (closed by default) -->
4308<div id="MSearchResultsWindow">
4309<iframe src="javascript:void(0)" frameborder="0"
4310 name="MSearchResults" id="MSearchResults">
4311</iframe>
4312</div>
4313
4314
4315 <li class="footer">
4316<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
4317Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:47 for Irrlicht 3D Engine by
4318<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
4319 </ul>
4320 </div>
4321
4322
4323</body>
4324</html>