diff options
Diffstat (limited to 'libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_light_scene_node.html')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_light_scene_node.html | 437 |
1 files changed, 437 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_light_scene_node.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_light_scene_node.html new file mode 100644 index 0000000..893a42d --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_light_scene_node.html | |||
@@ -0,0 +1,437 @@ | |||
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::ILightSceneNode Class Reference</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('classirr_1_1scene_1_1_i_light_scene_node.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::ILightSceneNode Class Reference</div> </div> | ||
91 | </div> | ||
92 | <div class="contents"> | ||
93 | <!-- doxytag: class="irr::scene::ILightSceneNode" --><!-- doxytag: inherits="irr::scene::ISceneNode" --> | ||
94 | <p>Scene node which is a dynamic light. | ||
95 | <a href="classirr_1_1scene_1_1_i_light_scene_node.html#details">More...</a></p> | ||
96 | |||
97 | <p><code>#include <<a class="el" href="_i_light_scene_node_8h_source.html">ILightSceneNode.h</a>></code></p> | ||
98 | <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | ||
99 | <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::scene::ILightSceneNode:</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_light_scene_node.png" usemap="#irr::scene::ILightSceneNode_map" alt=""/> | ||
105 | <map id="irr::scene::ILightSceneNode_map" name="irr::scene::ILightSceneNode_map"> | ||
106 | <area href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface." alt="irr::scene::ISceneNode" shape="rect" coords="0,112,200,136"/> | ||
107 | <area href="classirr_1_1io_1_1_i_attribute_exchanging_object.html" title="An object which is able to serialize and deserialize its attributes into an attributes object..." alt="irr::io::IAttributeExchangingObject" shape="rect" coords="0,56,200,80"/> | ||
108 | <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,200,24"/> | ||
109 | </map> | ||
110 | </div></div> | ||
111 | |||
112 | <p><a href="classirr_1_1scene_1_1_i_light_scene_node-members.html">List of all members.</a></p> | ||
113 | <h2><a name="pub-methods"></a> | ||
114 | Public Member Functions</h2> | ||
115 | <ul> | ||
116 | <li><a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#aa13c236d797d731c1035820a909ba961">ILightSceneNode</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *parent, <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">ISceneManager</a> *mgr, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &position=<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0, 0, 0)) | ||
117 | <dl class="el"><dd class="mdescRight">constructor <a href="#aa13c236d797d731c1035820a909ba961"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a1520d051fe04bc8c5c8975fb3908161b">enableCastShadow</a> (bool shadow=true)=0 | ||
118 | <dl class="el"><dd class="mdescRight">Sets whether this light casts shadows. <a href="#a1520d051fe04bc8c5c8975fb3908161b"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a5ba3a03fc0cfbad7dd8ce2f338a1991a">getCastShadow</a> () const =0 | ||
119 | <dl class="el"><dd class="mdescRight">Check whether this light casts shadows. <a href="#a5ba3a03fc0cfbad7dd8ce2f338a1991a"></a><br/></dl><li>virtual const <a class="el" href="structirr_1_1video_1_1_s_light.html">video::SLight</a> & <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a687813feae9312a86882e12c2bd10194">getLightData</a> () const =0 | ||
120 | <dl class="el"><dd class="mdescRight">Gets the light data associated with this <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html" title="Scene node which is a dynamic light.">ILightSceneNode</a>. <a href="#a687813feae9312a86882e12c2bd10194"></a><br/></dl><li>virtual <a class="el" href="structirr_1_1video_1_1_s_light.html">video::SLight</a> & <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a20147e049be1a4790346fd72b150b30c">getLightData</a> ()=0 | ||
121 | <dl class="el"><dd class="mdescRight">Gets the light data associated with this <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html" title="Scene node which is a dynamic light.">ILightSceneNode</a>. <a href="#a20147e049be1a4790346fd72b150b30c"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1video.html#aaf0e02f6f83cc35cf9e764bf18400d39">video::E_LIGHT_TYPE</a> <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a47e327388c75391ebc910369af7eedce">getLightType</a> () const =0 | ||
122 | <dl class="el"><dd class="mdescRight">Gets the light type. <a href="#a47e327388c75391ebc910369af7eedce"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a4ce3cd789ed3adabd381ff7f915861a0">getRadius</a> () const =0 | ||
123 | <dl class="el"><dd class="mdescRight">Gets the light's radius of influence. <a href="#a4ce3cd789ed3adabd381ff7f915861a0"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#acf74ff3400a26ae31eb96b9c479e62d5">setLightData</a> (const <a class="el" href="structirr_1_1video_1_1_s_light.html">video::SLight</a> &light)=0 | ||
124 | <dl class="el"><dd class="mdescRight">Sets the light data associated with this <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html" title="Scene node which is a dynamic light.">ILightSceneNode</a>. <a href="#acf74ff3400a26ae31eb96b9c479e62d5"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a18b3c0ba831bdc9166db341a35701c9b">setLightType</a> (<a class="el" href="namespaceirr_1_1video.html#aaf0e02f6f83cc35cf9e764bf18400d39">video::E_LIGHT_TYPE</a> type)=0 | ||
125 | <dl class="el"><dd class="mdescRight">Sets the light type. <a href="#a18b3c0ba831bdc9166db341a35701c9b"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a7da64c8c4776988a39927827f2c3f364">setRadius</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius)=0 | ||
126 | <dl class="el"><dd class="mdescRight">Sets the light's radius of influence. <a href="#a7da64c8c4776988a39927827f2c3f364"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html#a3a6a6681a665ec4c214cda8a84a29337">setVisible</a> (bool isVisible)=0 | ||
127 | <dl class="el"><dd class="mdescRight">Sets if the node should be visible or not. <a href="#a3a6a6681a665ec4c214cda8a84a29337"></a><br/></dl></ul> | ||
128 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
129 | <div class="textblock"><p>Scene node which is a dynamic light. </p> | ||
130 | <p>You can switch the light on and off by making it visible or not. It can be animated by ordinary scene node animators. If the light type is directional or spot, the direction of the light source is defined by the rotation of the scene node (assuming (0,0,1) as the local direction of the light). </p> | ||
131 | |||
132 | <p>Definition at line <a class="el" href="_i_light_scene_node_8h_source.html#l00022">22</a> of file <a class="el" href="_i_light_scene_node_8h_source.html">ILightSceneNode.h</a>.</p> | ||
133 | </div><hr/><h2>Constructor & Destructor Documentation</h2> | ||
134 | <a class="anchor" id="aa13c236d797d731c1035820a909ba961"></a><!-- doxytag: member="irr::scene::ILightSceneNode::ILightSceneNode" ref="aa13c236d797d731c1035820a909ba961" args="(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position=core::vector3df(0, 0, 0))" --> | ||
135 | <div class="memitem"> | ||
136 | <div class="memproto"> | ||
137 | <table class="memname"> | ||
138 | <tr> | ||
139 | <td class="memname">irr::scene::ILightSceneNode::ILightSceneNode </td> | ||
140 | <td>(</td> | ||
141 | <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> * </td> | ||
142 | <td class="paramname"><em>parent</em>, </td> | ||
143 | </tr> | ||
144 | <tr> | ||
145 | <td class="paramkey"></td> | ||
146 | <td></td> | ||
147 | <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">ISceneManager</a> * </td> | ||
148 | <td class="paramname"><em>mgr</em>, </td> | ||
149 | </tr> | ||
150 | <tr> | ||
151 | <td class="paramkey"></td> | ||
152 | <td></td> | ||
153 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
154 | <td class="paramname"><em>id</em>, </td> | ||
155 | </tr> | ||
156 | <tr> | ||
157 | <td class="paramkey"></td> | ||
158 | <td></td> | ||
159 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> & </td> | ||
160 | <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,0,0)</code> </td> | ||
161 | </tr> | ||
162 | <tr> | ||
163 | <td></td> | ||
164 | <td>)</td> | ||
165 | <td></td><td><code> [inline]</code></td> | ||
166 | </tr> | ||
167 | </table> | ||
168 | </div> | ||
169 | <div class="memdoc"> | ||
170 | |||
171 | <p>constructor </p> | ||
172 | |||
173 | <p>Definition at line <a class="el" href="_i_light_scene_node_8h_source.html#l00027">27</a> of file <a class="el" href="_i_light_scene_node_8h_source.html">ILightSceneNode.h</a>.</p> | ||
174 | |||
175 | </div> | ||
176 | </div> | ||
177 | <hr/><h2>Member Function Documentation</h2> | ||
178 | <a class="anchor" id="a1520d051fe04bc8c5c8975fb3908161b"></a><!-- doxytag: member="irr::scene::ILightSceneNode::enableCastShadow" ref="a1520d051fe04bc8c5c8975fb3908161b" args="(bool shadow=true)=0" --> | ||
179 | <div class="memitem"> | ||
180 | <div class="memproto"> | ||
181 | <table class="memname"> | ||
182 | <tr> | ||
183 | <td class="memname">virtual void irr::scene::ILightSceneNode::enableCastShadow </td> | ||
184 | <td>(</td> | ||
185 | <td class="paramtype">bool </td> | ||
186 | <td class="paramname"><em>shadow</em> = <code>true</code></td><td>)</td> | ||
187 | <td><code> [pure virtual]</code></td> | ||
188 | </tr> | ||
189 | </table> | ||
190 | </div> | ||
191 | <div class="memdoc"> | ||
192 | |||
193 | <p>Sets whether this light casts shadows. </p> | ||
194 | <p>Enabling this flag won't automatically cast shadows, the meshes will still need shadow scene nodes attached. But one can enable or disable distinct lights for shadow casting for performance reasons. </p> | ||
195 | <dl><dt><b>Parameters:</b></dt><dd> | ||
196 | <table class="params"> | ||
197 | <tr><td class="paramname">shadow</td><td>True if this light shall cast shadows. </td></tr> | ||
198 | </table> | ||
199 | </dd> | ||
200 | </dl> | ||
201 | |||
202 | </div> | ||
203 | </div> | ||
204 | <a class="anchor" id="a5ba3a03fc0cfbad7dd8ce2f338a1991a"></a><!-- doxytag: member="irr::scene::ILightSceneNode::getCastShadow" ref="a5ba3a03fc0cfbad7dd8ce2f338a1991a" args="() const =0" --> | ||
205 | <div class="memitem"> | ||
206 | <div class="memproto"> | ||
207 | <table class="memname"> | ||
208 | <tr> | ||
209 | <td class="memname">virtual bool irr::scene::ILightSceneNode::getCastShadow </td> | ||
210 | <td>(</td> | ||
211 | <td class="paramname"></td><td>)</td> | ||
212 | <td> const<code> [pure virtual]</code></td> | ||
213 | </tr> | ||
214 | </table> | ||
215 | </div> | ||
216 | <div class="memdoc"> | ||
217 | |||
218 | <p>Check whether this light casts shadows. </p> | ||
219 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if light would cast shadows, else false. </dd></dl> | ||
220 | |||
221 | </div> | ||
222 | </div> | ||
223 | <a class="anchor" id="a687813feae9312a86882e12c2bd10194"></a><!-- doxytag: member="irr::scene::ILightSceneNode::getLightData" ref="a687813feae9312a86882e12c2bd10194" args="() const =0" --> | ||
224 | <div class="memitem"> | ||
225 | <div class="memproto"> | ||
226 | <table class="memname"> | ||
227 | <tr> | ||
228 | <td class="memname">virtual const <a class="el" href="structirr_1_1video_1_1_s_light.html">video::SLight</a>& irr::scene::ILightSceneNode::getLightData </td> | ||
229 | <td>(</td> | ||
230 | <td class="paramname"></td><td>)</td> | ||
231 | <td> const<code> [pure virtual]</code></td> | ||
232 | </tr> | ||
233 | </table> | ||
234 | </div> | ||
235 | <div class="memdoc"> | ||
236 | |||
237 | <p>Gets the light data associated with this <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html" title="Scene node which is a dynamic light.">ILightSceneNode</a>. </p> | ||
238 | <dl class="return"><dt><b>Returns:</b></dt><dd>The light data. </dd></dl> | ||
239 | |||
240 | </div> | ||
241 | </div> | ||
242 | <a class="anchor" id="a20147e049be1a4790346fd72b150b30c"></a><!-- doxytag: member="irr::scene::ILightSceneNode::getLightData" ref="a20147e049be1a4790346fd72b150b30c" args="()=0" --> | ||
243 | <div class="memitem"> | ||
244 | <div class="memproto"> | ||
245 | <table class="memname"> | ||
246 | <tr> | ||
247 | <td class="memname">virtual <a class="el" href="structirr_1_1video_1_1_s_light.html">video::SLight</a>& irr::scene::ILightSceneNode::getLightData </td> | ||
248 | <td>(</td> | ||
249 | <td class="paramname"></td><td>)</td> | ||
250 | <td><code> [pure virtual]</code></td> | ||
251 | </tr> | ||
252 | </table> | ||
253 | </div> | ||
254 | <div class="memdoc"> | ||
255 | |||
256 | <p>Gets the light data associated with this <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html" title="Scene node which is a dynamic light.">ILightSceneNode</a>. </p> | ||
257 | <dl class="return"><dt><b>Returns:</b></dt><dd>The light data. </dd></dl> | ||
258 | |||
259 | </div> | ||
260 | </div> | ||
261 | <a class="anchor" id="a47e327388c75391ebc910369af7eedce"></a><!-- doxytag: member="irr::scene::ILightSceneNode::getLightType" ref="a47e327388c75391ebc910369af7eedce" args="() const =0" --> | ||
262 | <div class="memitem"> | ||
263 | <div class="memproto"> | ||
264 | <table class="memname"> | ||
265 | <tr> | ||
266 | <td class="memname">virtual <a class="el" href="namespaceirr_1_1video.html#aaf0e02f6f83cc35cf9e764bf18400d39">video::E_LIGHT_TYPE</a> irr::scene::ILightSceneNode::getLightType </td> | ||
267 | <td>(</td> | ||
268 | <td class="paramname"></td><td>)</td> | ||
269 | <td> const<code> [pure virtual]</code></td> | ||
270 | </tr> | ||
271 | </table> | ||
272 | </div> | ||
273 | <div class="memdoc"> | ||
274 | |||
275 | <p>Gets the light type. </p> | ||
276 | <dl class="return"><dt><b>Returns:</b></dt><dd>The current light type. </dd></dl> | ||
277 | |||
278 | </div> | ||
279 | </div> | ||
280 | <a class="anchor" id="a4ce3cd789ed3adabd381ff7f915861a0"></a><!-- doxytag: member="irr::scene::ILightSceneNode::getRadius" ref="a4ce3cd789ed3adabd381ff7f915861a0" args="() const =0" --> | ||
281 | <div class="memitem"> | ||
282 | <div class="memproto"> | ||
283 | <table class="memname"> | ||
284 | <tr> | ||
285 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> irr::scene::ILightSceneNode::getRadius </td> | ||
286 | <td>(</td> | ||
287 | <td class="paramname"></td><td>)</td> | ||
288 | <td> const<code> [pure virtual]</code></td> | ||
289 | </tr> | ||
290 | </table> | ||
291 | </div> | ||
292 | <div class="memdoc"> | ||
293 | |||
294 | <p>Gets the light's radius of influence. </p> | ||
295 | <dl class="return"><dt><b>Returns:</b></dt><dd>The current radius. </dd></dl> | ||
296 | |||
297 | </div> | ||
298 | </div> | ||
299 | <a class="anchor" id="acf74ff3400a26ae31eb96b9c479e62d5"></a><!-- doxytag: member="irr::scene::ILightSceneNode::setLightData" ref="acf74ff3400a26ae31eb96b9c479e62d5" args="(const video::SLight &light)=0" --> | ||
300 | <div class="memitem"> | ||
301 | <div class="memproto"> | ||
302 | <table class="memname"> | ||
303 | <tr> | ||
304 | <td class="memname">virtual void irr::scene::ILightSceneNode::setLightData </td> | ||
305 | <td>(</td> | ||
306 | <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s_light.html">video::SLight</a> & </td> | ||
307 | <td class="paramname"><em>light</em></td><td>)</td> | ||
308 | <td><code> [pure virtual]</code></td> | ||
309 | </tr> | ||
310 | </table> | ||
311 | </div> | ||
312 | <div class="memdoc"> | ||
313 | |||
314 | <p>Sets the light data associated with this <a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html" title="Scene node which is a dynamic light.">ILightSceneNode</a>. </p> | ||
315 | <dl><dt><b>Parameters:</b></dt><dd> | ||
316 | <table class="params"> | ||
317 | <tr><td class="paramname">light</td><td>The new light data. </td></tr> | ||
318 | </table> | ||
319 | </dd> | ||
320 | </dl> | ||
321 | |||
322 | </div> | ||
323 | </div> | ||
324 | <a class="anchor" id="a18b3c0ba831bdc9166db341a35701c9b"></a><!-- doxytag: member="irr::scene::ILightSceneNode::setLightType" ref="a18b3c0ba831bdc9166db341a35701c9b" args="(video::E_LIGHT_TYPE type)=0" --> | ||
325 | <div class="memitem"> | ||
326 | <div class="memproto"> | ||
327 | <table class="memname"> | ||
328 | <tr> | ||
329 | <td class="memname">virtual void irr::scene::ILightSceneNode::setLightType </td> | ||
330 | <td>(</td> | ||
331 | <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#aaf0e02f6f83cc35cf9e764bf18400d39">video::E_LIGHT_TYPE</a> </td> | ||
332 | <td class="paramname"><em>type</em></td><td>)</td> | ||
333 | <td><code> [pure virtual]</code></td> | ||
334 | </tr> | ||
335 | </table> | ||
336 | </div> | ||
337 | <div class="memdoc"> | ||
338 | |||
339 | <p>Sets the light type. </p> | ||
340 | <dl><dt><b>Parameters:</b></dt><dd> | ||
341 | <table class="params"> | ||
342 | <tr><td class="paramname">type</td><td>The new type. </td></tr> | ||
343 | </table> | ||
344 | </dd> | ||
345 | </dl> | ||
346 | |||
347 | </div> | ||
348 | </div> | ||
349 | <a class="anchor" id="a7da64c8c4776988a39927827f2c3f364"></a><!-- doxytag: member="irr::scene::ILightSceneNode::setRadius" ref="a7da64c8c4776988a39927827f2c3f364" args="(f32 radius)=0" --> | ||
350 | <div class="memitem"> | ||
351 | <div class="memproto"> | ||
352 | <table class="memname"> | ||
353 | <tr> | ||
354 | <td class="memname">virtual void irr::scene::ILightSceneNode::setRadius </td> | ||
355 | <td>(</td> | ||
356 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
357 | <td class="paramname"><em>radius</em></td><td>)</td> | ||
358 | <td><code> [pure virtual]</code></td> | ||
359 | </tr> | ||
360 | </table> | ||
361 | </div> | ||
362 | <div class="memdoc"> | ||
363 | |||
364 | <p>Sets the light's radius of influence. </p> | ||
365 | <p>Outside this radius the light won't lighten geometry and cast no shadows. Setting the radius will also influence the attenuation, setting it to (0,1/radius,0). If you want to override this behavior, set the attenuation after the radius. </p> | ||
366 | <dl><dt><b>Parameters:</b></dt><dd> | ||
367 | <table class="params"> | ||
368 | <tr><td class="paramname">radius</td><td>The new radius. </td></tr> | ||
369 | </table> | ||
370 | </dd> | ||
371 | </dl> | ||
372 | |||
373 | </div> | ||
374 | </div> | ||
375 | <a class="anchor" id="a3a6a6681a665ec4c214cda8a84a29337"></a><!-- doxytag: member="irr::scene::ILightSceneNode::setVisible" ref="a3a6a6681a665ec4c214cda8a84a29337" args="(bool isVisible)=0" --> | ||
376 | <div class="memitem"> | ||
377 | <div class="memproto"> | ||
378 | <table class="memname"> | ||
379 | <tr> | ||
380 | <td class="memname">virtual void irr::scene::ILightSceneNode::setVisible </td> | ||
381 | <td>(</td> | ||
382 | <td class="paramtype">bool </td> | ||
383 | <td class="paramname"><em>isVisible</em></td><td>)</td> | ||
384 | <td><code> [pure virtual]</code></td> | ||
385 | </tr> | ||
386 | </table> | ||
387 | </div> | ||
388 | <div class="memdoc"> | ||
389 | |||
390 | <p>Sets if the node should be visible or not. </p> | ||
391 | <p>All children of this node won't be visible either, when set to true. </p> | ||
392 | <dl><dt><b>Parameters:</b></dt><dd> | ||
393 | <table class="params"> | ||
394 | <tr><td class="paramname">isVisible</td><td>If the node shall be visible. </td></tr> | ||
395 | </table> | ||
396 | </dd> | ||
397 | </dl> | ||
398 | |||
399 | <p>Reimplemented from <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a2e3a88fe87d11caa7986a203afe6838c">irr::scene::ISceneNode</a>.</p> | ||
400 | |||
401 | </div> | ||
402 | </div> | ||
403 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
404 | <li><a class="el" href="_i_light_scene_node_8h_source.html">ILightSceneNode.h</a></li> | ||
405 | </ul> | ||
406 | </div> | ||
407 | </div> | ||
408 | <div id="nav-path" class="navpath"> | ||
409 | <ul> | ||
410 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
411 | <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a> </li> | ||
412 | <li class="navelem"><a class="el" href="classirr_1_1scene_1_1_i_light_scene_node.html">ILightSceneNode</a> </li> | ||
413 | <!-- window showing the filter options --> | ||
414 | <div id="MSearchSelectWindow" | ||
415 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
416 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
417 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
418 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
419 | |||
420 | <!-- iframe showing the search results (closed by default) --> | ||
421 | <div id="MSearchResultsWindow"> | ||
422 | <iframe src="javascript:void(0)" frameborder="0" | ||
423 | name="MSearchResults" id="MSearchResults"> | ||
424 | </iframe> | ||
425 | </div> | ||
426 | |||
427 | |||
428 | <li class="footer"> | ||
429 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
430 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:46 for Irrlicht 3D Engine by | ||
431 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
432 | </ul> | ||
433 | </div> | ||
434 | |||
435 | |||
436 | </body> | ||
437 | </html> | ||