aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_camera_scene_node.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_camera_scene_node.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_camera_scene_node.html927
1 files changed, 927 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_camera_scene_node.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_camera_scene_node.html
new file mode 100644
index 0000000..1ccd096
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_camera_scene_node.html
@@ -0,0 +1,927 @@
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::ICameraSceneNode 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_camera_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> &#124;
89<a href="#pro-methods">Protected Member Functions</a> &#124;
90<a href="#pro-attribs">Protected Attributes</a> </div>
91 <div class="headertitle">
92<div class="title">irr::scene::ICameraSceneNode Class Reference</div> </div>
93</div>
94<div class="contents">
95<!-- doxytag: class="irr::scene::ICameraSceneNode" --><!-- doxytag: inherits="irr::scene::ISceneNode,irr::IEventReceiver" -->
96<p>Scene Node which is a (controlable) camera.
97 <a href="classirr_1_1scene_1_1_i_camera_scene_node.html#details">More...</a></p>
98
99<p><code>#include &lt;<a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>&gt;</code></p>
100<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
101 <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::scene::ICameraSceneNode:</div>
102<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
103</div>
104<div id="dynsection-0-content" class="dyncontent" style="display:none;">
105 <div class="center">
106 <img src="classirr_1_1scene_1_1_i_camera_scene_node.png" usemap="#irr::scene::ICameraSceneNode_map" alt=""/>
107 <map id="irr::scene::ICameraSceneNode_map" name="irr::scene::ICameraSceneNode_map">
108<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"/>
109<area href="classirr_1_1_i_event_receiver.html" title="Interface of an object which can receive events." alt="irr::IEventReceiver" shape="rect" coords="210,112,410,136"/>
110<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"/>
111<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"/>
112</map>
113 </div></div>
114
115<p><a href="classirr_1_1scene_1_1_i_camera_scene_node-members.html">List of all members.</a></p>
116<h2><a name="pub-methods"></a>
117Public Member Functions</h2>
118<ul>
119<li><a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a80e2a6e96feaf3191129eb6abefebc6f">ICameraSceneNode</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> &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))
120<dl class="el"><dd class="mdescRight">Constructor. <a href="#a80e2a6e96feaf3191129eb6abefebc6f"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#ad8785d7b2f730933a8d4425ac54e7205">bindTargetAndRotation</a> (bool bound)=0
121<dl class="el"><dd class="mdescRight">Binds the camera scene node's rotation to its target position and vice vera, or unbinds them. <a href="#ad8785d7b2f730933a8d4425ac54e7205"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a0df881cb5e2a55562399281061151ae8">deserializeAttributes</a> (<a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *in, <a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *options=0)
122<dl class="el"><dd class="mdescRight">Reads attributes of the camera node. <a href="#a0df881cb5e2a55562399281061151ae8"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#aed7af13bc5a076d61a10a1998f71742e">getAspectRatio</a> () const =0
123<dl class="el"><dd class="mdescRight">Gets the aspect ratio of the camera. <a href="#aed7af13bc5a076d61a10a1998f71742e"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a7a6603b808522605276359b834d48245">getFarValue</a> () const =0
124<dl class="el"><dd class="mdescRight">Gets the value of the far plane of the camera. <a href="#a7a6603b808522605276359b834d48245"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a8396148b1c3e27e79a615a859ae7d75d">getFOV</a> () const =0
125<dl class="el"><dd class="mdescRight">Gets the field of view of the camera. <a href="#a8396148b1c3e27e79a615a859ae7d75d"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#aee5dfccee2ec0b0cbcdb1079a6430a25">getNearValue</a> () const =0
126<dl class="el"><dd class="mdescRight">Gets the value of the near plane of the camera. <a href="#aee5dfccee2ec0b0cbcdb1079a6430a25"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a80f4a43d24dc31d797a84e0e2f62f1a1">getProjectionMatrix</a> () const =0
127<dl class="el"><dd class="mdescRight">Gets the current projection matrix of the camera. <a href="#a80f4a43d24dc31d797a84e0e2f62f1a1"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp; <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a3ce50433986650eea15b20e4ed19c952">getTarget</a> () const =0
128<dl class="el"><dd class="mdescRight">Gets the current look at target of the camera. <a href="#a3ce50433986650eea15b20e4ed19c952"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a343be24b2c43db7580127229db2dec6a">getTargetAndRotationBinding</a> (void) const =0
129<dl class="el"><dd class="mdescRight">Queries if the camera scene node's rotation and its target position are bound together. <a href="#a343be24b2c43db7580127229db2dec6a"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp; <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a0dfb97859302021b9a44f2ead59fa230">getUpVector</a> () const =0
130<dl class="el"><dd class="mdescRight">Gets the up vector of the camera. <a href="#a0dfb97859302021b9a44f2ead59fa230"></a><br/></dl><li>virtual const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> * <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#add0cba097d3e59714546f04f2c53477e">getViewFrustum</a> () const =0
131<dl class="el"><dd class="mdescRight">Get the view frustum. <a href="#add0cba097d3e59714546f04f2c53477e"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#aef40bb2f8f4a95a66dbb7fc3abee3e49">getViewMatrix</a> () const =0
132<dl class="el"><dd class="mdescRight">Gets the current view matrix of the camera. <a href="#aef40bb2f8f4a95a66dbb7fc3abee3e49"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a033018cccdb26f94cc33256e23d764c6">getViewMatrixAffector</a> () const =0
133<dl class="el"><dd class="mdescRight">Get the custom view matrix affector. <a href="#a033018cccdb26f94cc33256e23d764c6"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a15eeaf8a5c69af91d920b8243f76796f">isInputReceiverEnabled</a> () const =0
134<dl class="el"><dd class="mdescRight">Checks if the input receiver of the camera is currently enabled. <a href="#a15eeaf8a5c69af91d920b8243f76796f"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a6d3054077c7514f05101644e143b1ab8">isOrthogonal</a> () const
135<dl class="el"><dd class="mdescRight">Checks if a camera is orthogonal. <a href="#a6d3054077c7514f05101644e143b1ab8"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#af27145518f43a17f803cdea086f68f3c">OnEvent</a> (const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> &amp;event)=0
136<dl class="el"><dd class="mdescRight">It is possible to send mouse and key events to the camera. <a href="#af27145518f43a17f803cdea086f68f3c"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a791d54174833671499cd6e9ce677f2cc">serializeAttributes</a> (<a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *out, <a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *options=0) const
137<dl class="el"><dd class="mdescRight">Writes attributes of the camera node. <a href="#a791d54174833671499cd6e9ce677f2cc"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a5c3728a61a208376b9df6a701f4a5b3c">setAspectRatio</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> aspect)=0
138<dl class="el"><dd class="mdescRight">Sets the aspect ratio (default: 4.0f / 3.0f) <a href="#a5c3728a61a208376b9df6a701f4a5b3c"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#ab7e427dd639b6bb63f648d6d087da1ea">setFarValue</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zf)=0
139<dl class="el"><dd class="mdescRight">Sets the value of the far clipping plane (default: 2000.0f) <a href="#ab7e427dd639b6bb63f648d6d087da1ea"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a43ee11523e9cf842d4b5d8c6a572241c">setFOV</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> fovy)=0
140<dl class="el"><dd class="mdescRight">Sets the field of view (Default: PI / 2.5f) <a href="#a43ee11523e9cf842d4b5d8c6a572241c"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a5b5c89233c1805676d6fcb392236dfec">setInputReceiverEnabled</a> (bool enabled)=0
141<dl class="el"><dd class="mdescRight">Disables or enables the camera to get key or mouse inputs. <a href="#a5b5c89233c1805676d6fcb392236dfec"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#aab5107ae5d0373d6fb005a87741e7057">setNearValue</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zn)=0
142<dl class="el"><dd class="mdescRight">Sets the value of the near clipping plane. (default: 1.0f) <a href="#aab5107ae5d0373d6fb005a87741e7057"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a022415e06070ad77c6053eba64ba62ae">setProjectionMatrix</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;projection, bool isOrthogonal=false)=0
143<dl class="el"><dd class="mdescRight">Sets the projection matrix of the camera. <a href="#a022415e06070ad77c6053eba64ba62ae"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#af95d5f50c192f212e11f3f050e92a470">setRotation</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;rotation)=0
144<dl class="el"><dd class="mdescRight">Sets the rotation of the node. <a href="#af95d5f50c192f212e11f3f050e92a470"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a7280b07fd7915c64350db5a132b4ba07">setTarget</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;pos)=0
145<dl class="el"><dd class="mdescRight">Sets the look at target of the camera. <a href="#a7280b07fd7915c64350db5a132b4ba07"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a1e74c17d89979fde4738276ccdcc0d3a">setUpVector</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;pos)=0
146<dl class="el"><dd class="mdescRight">Sets the up vector of the camera. <a href="#a1e74c17d89979fde4738276ccdcc0d3a"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#adb3500cac2a8a47e6a3f48aa343ce2fd">setViewMatrixAffector</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;affector)=0
147<dl class="el"><dd class="mdescRight">Sets a custom view matrix affector. <a href="#adb3500cac2a8a47e6a3f48aa343ce2fd"></a><br/></dl></ul>
148<h2><a name="pro-methods"></a>
149Protected Member Functions</h2>
150<ul>
151<li>void <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a5e96861b208dfbb8845748dfc35eb9b7">cloneMembers</a> (<a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> *toCopyFrom)
152</ul>
153<h2><a name="pro-attribs"></a>
154Protected Attributes</h2>
155<ul>
156<li>bool <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#ab0487690db54b06683f5ceb5db2dcad1">IsOrthogonal</a>
157</ul>
158<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
159<div class="textblock"><p>Scene Node which is a (controlable) camera. </p>
160<p>The whole scene will be rendered from the cameras point of view. Because the ICameraScenNode is a SceneNode, it can be attached to any other scene node, and will follow its parents movement, rotation and so on. </p>
161
162<p>Definition at line <a class="el" href="_i_camera_scene_node_8h_source.html#l00023">23</a> of file <a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>.</p>
163</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
164<a class="anchor" id="a80e2a6e96feaf3191129eb6abefebc6f"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::ICameraSceneNode" ref="a80e2a6e96feaf3191129eb6abefebc6f" args="(ISceneNode *parent, ISceneManager *mgr, s32 id, 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))" -->
165<div class="memitem">
166<div class="memproto">
167 <table class="memname">
168 <tr>
169 <td class="memname">irr::scene::ICameraSceneNode::ICameraSceneNode </td>
170 <td>(</td>
171 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">ISceneNode</a> *&#160;</td>
172 <td class="paramname"><em>parent</em>, </td>
173 </tr>
174 <tr>
175 <td class="paramkey"></td>
176 <td></td>
177 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">ISceneManager</a> *&#160;</td>
178 <td class="paramname"><em>mgr</em>, </td>
179 </tr>
180 <tr>
181 <td class="paramkey"></td>
182 <td></td>
183 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
184 <td class="paramname"><em>id</em>, </td>
185 </tr>
186 <tr>
187 <td class="paramkey"></td>
188 <td></td>
189 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
190 <td class="paramname"><em>position</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,0,0)</code>, </td>
191 </tr>
192 <tr>
193 <td class="paramkey"></td>
194 <td></td>
195 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
196 <td class="paramname"><em>rotation</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(0,0,0)</code>, </td>
197 </tr>
198 <tr>
199 <td class="paramkey"></td>
200 <td></td>
201 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
202 <td class="paramname"><em>scale</em> = <code><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>(1.0f,1.0f,1.0f)</code>&#160;</td>
203 </tr>
204 <tr>
205 <td></td>
206 <td>)</td>
207 <td></td><td><code> [inline]</code></td>
208 </tr>
209 </table>
210</div>
211<div class="memdoc">
212
213<p>Constructor. </p>
214
215<p>Definition at line <a class="el" href="_i_camera_scene_node_8h_source.html#l00028">28</a> of file <a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>.</p>
216
217</div>
218</div>
219<hr/><h2>Member Function Documentation</h2>
220<a class="anchor" id="ad8785d7b2f730933a8d4425ac54e7205"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::bindTargetAndRotation" ref="ad8785d7b2f730933a8d4425ac54e7205" args="(bool bound)=0" -->
221<div class="memitem">
222<div class="memproto">
223 <table class="memname">
224 <tr>
225 <td class="memname">virtual void irr::scene::ICameraSceneNode::bindTargetAndRotation </td>
226 <td>(</td>
227 <td class="paramtype">bool&#160;</td>
228 <td class="paramname"><em>bound</em></td><td>)</td>
229 <td><code> [pure virtual]</code></td>
230 </tr>
231 </table>
232</div>
233<div class="memdoc">
234
235<p>Binds the camera scene node's rotation to its target position and vice vera, or unbinds them. </p>
236<p>When bound, calling <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#af95d5f50c192f212e11f3f050e92a470" title="Sets the rotation of the node.">setRotation()</a> will update the camera's target position to be along its +Z axis, and likewise calling <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a7280b07fd7915c64350db5a132b4ba07" title="Sets the look at target of the camera.">setTarget()</a> will update its rotation so that its +Z axis will point at the target point. FPS camera use this binding by default; other cameras do not. </p>
237<dl><dt><b>Parameters:</b></dt><dd>
238 <table class="params">
239 <tr><td class="paramname">bound</td><td>True to bind the camera's scene node rotation and targetting, false to unbind them. </td></tr>
240 </table>
241 </dd>
242</dl>
243<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a343be24b2c43db7580127229db2dec6a" title="Queries if the camera scene node&#39;s rotation and its target position are bound together.">getTargetAndRotationBinding()</a> </dd></dl>
244
245</div>
246</div>
247<a class="anchor" id="a5e96861b208dfbb8845748dfc35eb9b7"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::cloneMembers" ref="a5e96861b208dfbb8845748dfc35eb9b7" args="(ICameraSceneNode *toCopyFrom)" -->
248<div class="memitem">
249<div class="memproto">
250 <table class="memname">
251 <tr>
252 <td class="memname">void irr::scene::ICameraSceneNode::cloneMembers </td>
253 <td>(</td>
254 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> *&#160;</td>
255 <td class="paramname"><em>toCopyFrom</em></td><td>)</td>
256 <td><code> [inline, protected]</code></td>
257 </tr>
258 </table>
259</div>
260<div class="memdoc">
261
262<p>Definition at line <a class="el" href="_i_camera_scene_node_8h_source.html#l00195">195</a> of file <a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>.</p>
263
264<p>References <a class="el" href="_i_camera_scene_node_8h_source.html#l00200">IsOrthogonal</a>.</p>
265
266</div>
267</div>
268<a class="anchor" id="a0df881cb5e2a55562399281061151ae8"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::deserializeAttributes" ref="a0df881cb5e2a55562399281061151ae8" args="(io::IAttributes *in, io::SAttributeReadWriteOptions *options=0)" -->
269<div class="memitem">
270<div class="memproto">
271 <table class="memname">
272 <tr>
273 <td class="memname">virtual void irr::scene::ICameraSceneNode::deserializeAttributes </td>
274 <td>(</td>
275 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *&#160;</td>
276 <td class="paramname"><em>in</em>, </td>
277 </tr>
278 <tr>
279 <td class="paramkey"></td>
280 <td></td>
281 <td class="paramtype"><a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *&#160;</td>
282 <td class="paramname"><em>options</em> = <code>0</code>&#160;</td>
283 </tr>
284 <tr>
285 <td></td>
286 <td>)</td>
287 <td></td><td><code> [inline, virtual]</code></td>
288 </tr>
289 </table>
290</div>
291<div class="memdoc">
292
293<p>Reads attributes of the camera node. </p>
294
295<p>Reimplemented from <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a5fb609b08fc89a92f928c19ce3b181eb">irr::scene::ISceneNode</a>.</p>
296
297<p>Definition at line <a class="el" href="_i_camera_scene_node_8h_source.html#l00183">183</a> of file <a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>.</p>
298
299<p>References <a class="el" href="classirr_1_1io_1_1_i_attributes.html#abda2f84c5b87d69d9008485740afcb7c">irr::io::IAttributes::findAttribute()</a>, <a class="el" href="classirr_1_1io_1_1_i_attributes.html#a197407f5b0f1d0c1aefab3e1b8d7c02d">irr::io::IAttributes::getAttributeAsBool()</a>, and <a class="el" href="_i_camera_scene_node_8h_source.html#l00200">IsOrthogonal</a>.</p>
300
301</div>
302</div>
303<a class="anchor" id="aed7af13bc5a076d61a10a1998f71742e"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getAspectRatio" ref="aed7af13bc5a076d61a10a1998f71742e" args="() const =0" -->
304<div class="memitem">
305<div class="memproto">
306 <table class="memname">
307 <tr>
308 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> irr::scene::ICameraSceneNode::getAspectRatio </td>
309 <td>(</td>
310 <td class="paramname"></td><td>)</td>
311 <td> const<code> [pure virtual]</code></td>
312 </tr>
313 </table>
314</div>
315<div class="memdoc">
316
317<p>Gets the aspect ratio of the camera. </p>
318<dl class="return"><dt><b>Returns:</b></dt><dd>The aspect ratio of the camera. </dd></dl>
319
320</div>
321</div>
322<a class="anchor" id="a7a6603b808522605276359b834d48245"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getFarValue" ref="a7a6603b808522605276359b834d48245" args="() const =0" -->
323<div class="memitem">
324<div class="memproto">
325 <table class="memname">
326 <tr>
327 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> irr::scene::ICameraSceneNode::getFarValue </td>
328 <td>(</td>
329 <td class="paramname"></td><td>)</td>
330 <td> const<code> [pure virtual]</code></td>
331 </tr>
332 </table>
333</div>
334<div class="memdoc">
335
336<p>Gets the value of the far plane of the camera. </p>
337<dl class="return"><dt><b>Returns:</b></dt><dd>The value of the far plane of the camera. </dd></dl>
338
339</div>
340</div>
341<a class="anchor" id="a8396148b1c3e27e79a615a859ae7d75d"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getFOV" ref="a8396148b1c3e27e79a615a859ae7d75d" args="() const =0" -->
342<div class="memitem">
343<div class="memproto">
344 <table class="memname">
345 <tr>
346 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> irr::scene::ICameraSceneNode::getFOV </td>
347 <td>(</td>
348 <td class="paramname"></td><td>)</td>
349 <td> const<code> [pure virtual]</code></td>
350 </tr>
351 </table>
352</div>
353<div class="memdoc">
354
355<p>Gets the field of view of the camera. </p>
356<dl class="return"><dt><b>Returns:</b></dt><dd>The field of view of the camera in radians. </dd></dl>
357
358</div>
359</div>
360<a class="anchor" id="aee5dfccee2ec0b0cbcdb1079a6430a25"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getNearValue" ref="aee5dfccee2ec0b0cbcdb1079a6430a25" args="() const =0" -->
361<div class="memitem">
362<div class="memproto">
363 <table class="memname">
364 <tr>
365 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> irr::scene::ICameraSceneNode::getNearValue </td>
366 <td>(</td>
367 <td class="paramname"></td><td>)</td>
368 <td> const<code> [pure virtual]</code></td>
369 </tr>
370 </table>
371</div>
372<div class="memdoc">
373
374<p>Gets the value of the near plane of the camera. </p>
375<dl class="return"><dt><b>Returns:</b></dt><dd>The value of the near plane of the camera. </dd></dl>
376
377</div>
378</div>
379<a class="anchor" id="a80f4a43d24dc31d797a84e0e2f62f1a1"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getProjectionMatrix" ref="a80f4a43d24dc31d797a84e0e2f62f1a1" args="() const =0" -->
380<div class="memitem">
381<div class="memproto">
382 <table class="memname">
383 <tr>
384 <td class="memname">virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a>&amp; irr::scene::ICameraSceneNode::getProjectionMatrix </td>
385 <td>(</td>
386 <td class="paramname"></td><td>)</td>
387 <td> const<code> [pure virtual]</code></td>
388 </tr>
389 </table>
390</div>
391<div class="memdoc">
392
393<p>Gets the current projection matrix of the camera. </p>
394<dl class="return"><dt><b>Returns:</b></dt><dd>The current projection matrix of the camera. </dd></dl>
395
396</div>
397</div>
398<a class="anchor" id="a3ce50433986650eea15b20e4ed19c952"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getTarget" ref="a3ce50433986650eea15b20e4ed19c952" args="() const =0" -->
399<div class="memitem">
400<div class="memproto">
401 <table class="memname">
402 <tr>
403 <td class="memname">virtual const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>&amp; irr::scene::ICameraSceneNode::getTarget </td>
404 <td>(</td>
405 <td class="paramname"></td><td>)</td>
406 <td> const<code> [pure virtual]</code></td>
407 </tr>
408 </table>
409</div>
410<div class="memdoc">
411
412<p>Gets the current look at target of the camera. </p>
413<dl class="return"><dt><b>Returns:</b></dt><dd>The current look at target of the camera, in world co-ordinates </dd></dl>
414
415</div>
416</div>
417<a class="anchor" id="a343be24b2c43db7580127229db2dec6a"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getTargetAndRotationBinding" ref="a343be24b2c43db7580127229db2dec6a" args="(void) const =0" -->
418<div class="memitem">
419<div class="memproto">
420 <table class="memname">
421 <tr>
422 <td class="memname">virtual bool irr::scene::ICameraSceneNode::getTargetAndRotationBinding </td>
423 <td>(</td>
424 <td class="paramtype">void&#160;</td>
425 <td class="paramname"></td><td>)</td>
426 <td> const<code> [pure virtual]</code></td>
427 </tr>
428 </table>
429</div>
430<div class="memdoc">
431
432<p>Queries if the camera scene node's rotation and its target position are bound together. </p>
433<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...">bindTargetAndRotation()</a> </dd></dl>
434
435</div>
436</div>
437<a class="anchor" id="a0dfb97859302021b9a44f2ead59fa230"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getUpVector" ref="a0dfb97859302021b9a44f2ead59fa230" args="() const =0" -->
438<div class="memitem">
439<div class="memproto">
440 <table class="memname">
441 <tr>
442 <td class="memname">virtual const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a>&amp; irr::scene::ICameraSceneNode::getUpVector </td>
443 <td>(</td>
444 <td class="paramname"></td><td>)</td>
445 <td> const<code> [pure virtual]</code></td>
446 </tr>
447 </table>
448</div>
449<div class="memdoc">
450
451<p>Gets the up vector of the camera. </p>
452<dl class="return"><dt><b>Returns:</b></dt><dd>The up vector of the camera, in world space. </dd></dl>
453
454</div>
455</div>
456<a class="anchor" id="add0cba097d3e59714546f04f2c53477e"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getViewFrustum" ref="add0cba097d3e59714546f04f2c53477e" args="() const =0" -->
457<div class="memitem">
458<div class="memproto">
459 <table class="memname">
460 <tr>
461 <td class="memname">virtual const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a>* irr::scene::ICameraSceneNode::getViewFrustum </td>
462 <td>(</td>
463 <td class="paramname"></td><td>)</td>
464 <td> const<code> [pure virtual]</code></td>
465 </tr>
466 </table>
467</div>
468<div class="memdoc">
469
470<p>Get the view frustum. </p>
471<p>Needed sometimes by bspTree or LOD render nodes. </p>
472<dl class="return"><dt><b>Returns:</b></dt><dd>The current view frustum. </dd></dl>
473
474</div>
475</div>
476<a class="anchor" id="aef40bb2f8f4a95a66dbb7fc3abee3e49"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getViewMatrix" ref="aef40bb2f8f4a95a66dbb7fc3abee3e49" args="() const =0" -->
477<div class="memitem">
478<div class="memproto">
479 <table class="memname">
480 <tr>
481 <td class="memname">virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a>&amp; irr::scene::ICameraSceneNode::getViewMatrix </td>
482 <td>(</td>
483 <td class="paramname"></td><td>)</td>
484 <td> const<code> [pure virtual]</code></td>
485 </tr>
486 </table>
487</div>
488<div class="memdoc">
489
490<p>Gets the current view matrix of the camera. </p>
491<dl class="return"><dt><b>Returns:</b></dt><dd>The current view matrix of the camera. </dd></dl>
492
493</div>
494</div>
495<a class="anchor" id="a033018cccdb26f94cc33256e23d764c6"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::getViewMatrixAffector" ref="a033018cccdb26f94cc33256e23d764c6" args="() const =0" -->
496<div class="memitem">
497<div class="memproto">
498 <table class="memname">
499 <tr>
500 <td class="memname">virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a>&amp; irr::scene::ICameraSceneNode::getViewMatrixAffector </td>
501 <td>(</td>
502 <td class="paramname"></td><td>)</td>
503 <td> const<code> [pure virtual]</code></td>
504 </tr>
505 </table>
506</div>
507<div class="memdoc">
508
509<p>Get the custom view matrix affector. </p>
510<dl class="return"><dt><b>Returns:</b></dt><dd>The affector matrix. </dd></dl>
511
512</div>
513</div>
514<a class="anchor" id="a15eeaf8a5c69af91d920b8243f76796f"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::isInputReceiverEnabled" ref="a15eeaf8a5c69af91d920b8243f76796f" args="() const =0" -->
515<div class="memitem">
516<div class="memproto">
517 <table class="memname">
518 <tr>
519 <td class="memname">virtual bool irr::scene::ICameraSceneNode::isInputReceiverEnabled </td>
520 <td>(</td>
521 <td class="paramname"></td><td>)</td>
522 <td> const<code> [pure virtual]</code></td>
523 </tr>
524 </table>
525</div>
526<div class="memdoc">
527
528<p>Checks if the input receiver of the camera is currently enabled. </p>
529
530</div>
531</div>
532<a class="anchor" id="a6d3054077c7514f05101644e143b1ab8"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::isOrthogonal" ref="a6d3054077c7514f05101644e143b1ab8" args="() const " -->
533<div class="memitem">
534<div class="memproto">
535 <table class="memname">
536 <tr>
537 <td class="memname">virtual bool irr::scene::ICameraSceneNode::isOrthogonal </td>
538 <td>(</td>
539 <td class="paramname"></td><td>)</td>
540 <td> const<code> [inline, virtual]</code></td>
541 </tr>
542 </table>
543</div>
544<div class="memdoc">
545
546<p>Checks if a camera is orthogonal. </p>
547
548<p>Definition at line <a class="el" href="_i_camera_scene_node_8h_source.html#l00151">151</a> of file <a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>.</p>
549
550<p>References <a class="el" href="irr_types_8h_source.html#l00207">_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX</a>, and <a class="el" href="_i_camera_scene_node_8h_source.html#l00200">IsOrthogonal</a>.</p>
551
552</div>
553</div>
554<a class="anchor" id="af27145518f43a17f803cdea086f68f3c"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::OnEvent" ref="af27145518f43a17f803cdea086f68f3c" args="(const SEvent &amp;event)=0" -->
555<div class="memitem">
556<div class="memproto">
557 <table class="memname">
558 <tr>
559 <td class="memname">virtual bool irr::scene::ICameraSceneNode::OnEvent </td>
560 <td>(</td>
561 <td class="paramtype">const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> &amp;&#160;</td>
562 <td class="paramname"><em>event</em></td><td>)</td>
563 <td><code> [pure virtual]</code></td>
564 </tr>
565 </table>
566</div>
567<div class="memdoc">
568
569<p>It is possible to send mouse and key events to the camera. </p>
570<p>Most cameras may ignore this input, but camera scene nodes which are created for example with <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.">ISceneManager::addCameraSceneNodeMaya</a> or <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...">ISceneManager::addCameraSceneNodeFPS</a>, may want to get this input for changing their position, look at target or whatever. </p>
571
572<p>Implements <a class="el" href="classirr_1_1_i_event_receiver.html#a571f744ceffc3b4fe8a81f529163eb97">irr::IEventReceiver</a>.</p>
573
574</div>
575</div>
576<a class="anchor" id="a791d54174833671499cd6e9ce677f2cc"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::serializeAttributes" ref="a791d54174833671499cd6e9ce677f2cc" args="(io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const " -->
577<div class="memitem">
578<div class="memproto">
579 <table class="memname">
580 <tr>
581 <td class="memname">virtual void irr::scene::ICameraSceneNode::serializeAttributes </td>
582 <td>(</td>
583 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *&#160;</td>
584 <td class="paramname"><em>out</em>, </td>
585 </tr>
586 <tr>
587 <td class="paramkey"></td>
588 <td></td>
589 <td class="paramtype"><a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *&#160;</td>
590 <td class="paramname"><em>options</em> = <code>0</code>&#160;</td>
591 </tr>
592 <tr>
593 <td></td>
594 <td>)</td>
595 <td></td><td> const<code> [inline, virtual]</code></td>
596 </tr>
597 </table>
598</div>
599<div class="memdoc">
600
601<p>Writes attributes of the camera node. </p>
602
603<p>Reimplemented from <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#a04142f1f0e5ec49a81aaeb2bc6db124c">irr::scene::ISceneNode</a>.</p>
604
605<p>Definition at line <a class="el" href="_i_camera_scene_node_8h_source.html#l00173">173</a> of file <a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>.</p>
606
607<p>References <a class="el" href="classirr_1_1io_1_1_i_attributes.html#a3335f912c0dfcf0e88f662796314123b">irr::io::IAttributes::addBool()</a>, and <a class="el" href="_i_camera_scene_node_8h_source.html#l00200">IsOrthogonal</a>.</p>
608
609</div>
610</div>
611<a class="anchor" id="a5c3728a61a208376b9df6a701f4a5b3c"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setAspectRatio" ref="a5c3728a61a208376b9df6a701f4a5b3c" args="(f32 aspect)=0" -->
612<div class="memitem">
613<div class="memproto">
614 <table class="memname">
615 <tr>
616 <td class="memname">virtual void irr::scene::ICameraSceneNode::setAspectRatio </td>
617 <td>(</td>
618 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
619 <td class="paramname"><em>aspect</em></td><td>)</td>
620 <td><code> [pure virtual]</code></td>
621 </tr>
622 </table>
623</div>
624<div class="memdoc">
625
626<p>Sets the aspect ratio (default: 4.0f / 3.0f) </p>
627<dl><dt><b>Parameters:</b></dt><dd>
628 <table class="params">
629 <tr><td class="paramname">aspect,:</td><td>New aspect ratio. </td></tr>
630 </table>
631 </dd>
632</dl>
633
634</div>
635</div>
636<a class="anchor" id="ab7e427dd639b6bb63f648d6d087da1ea"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setFarValue" ref="ab7e427dd639b6bb63f648d6d087da1ea" args="(f32 zf)=0" -->
637<div class="memitem">
638<div class="memproto">
639 <table class="memname">
640 <tr>
641 <td class="memname">virtual void irr::scene::ICameraSceneNode::setFarValue </td>
642 <td>(</td>
643 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
644 <td class="paramname"><em>zf</em></td><td>)</td>
645 <td><code> [pure virtual]</code></td>
646 </tr>
647 </table>
648</div>
649<div class="memdoc">
650
651<p>Sets the value of the far clipping plane (default: 2000.0f) </p>
652<dl><dt><b>Parameters:</b></dt><dd>
653 <table class="params">
654 <tr><td class="paramname">zf,:</td><td>New z far value. </td></tr>
655 </table>
656 </dd>
657</dl>
658
659</div>
660</div>
661<a class="anchor" id="a43ee11523e9cf842d4b5d8c6a572241c"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setFOV" ref="a43ee11523e9cf842d4b5d8c6a572241c" args="(f32 fovy)=0" -->
662<div class="memitem">
663<div class="memproto">
664 <table class="memname">
665 <tr>
666 <td class="memname">virtual void irr::scene::ICameraSceneNode::setFOV </td>
667 <td>(</td>
668 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
669 <td class="paramname"><em>fovy</em></td><td>)</td>
670 <td><code> [pure virtual]</code></td>
671 </tr>
672 </table>
673</div>
674<div class="memdoc">
675
676<p>Sets the field of view (Default: PI / 2.5f) </p>
677<dl><dt><b>Parameters:</b></dt><dd>
678 <table class="params">
679 <tr><td class="paramname">fovy,:</td><td>New field of view in radians. </td></tr>
680 </table>
681 </dd>
682</dl>
683
684</div>
685</div>
686<a class="anchor" id="a5b5c89233c1805676d6fcb392236dfec"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setInputReceiverEnabled" ref="a5b5c89233c1805676d6fcb392236dfec" args="(bool enabled)=0" -->
687<div class="memitem">
688<div class="memproto">
689 <table class="memname">
690 <tr>
691 <td class="memname">virtual void irr::scene::ICameraSceneNode::setInputReceiverEnabled </td>
692 <td>(</td>
693 <td class="paramtype">bool&#160;</td>
694 <td class="paramname"><em>enabled</em></td><td>)</td>
695 <td><code> [pure virtual]</code></td>
696 </tr>
697 </table>
698</div>
699<div class="memdoc">
700
701<p>Disables or enables the camera to get key or mouse inputs. </p>
702<p>If this is set to true, the camera will respond to key inputs otherwise not. </p>
703
704</div>
705</div>
706<a class="anchor" id="aab5107ae5d0373d6fb005a87741e7057"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setNearValue" ref="aab5107ae5d0373d6fb005a87741e7057" args="(f32 zn)=0" -->
707<div class="memitem">
708<div class="memproto">
709 <table class="memname">
710 <tr>
711 <td class="memname">virtual void irr::scene::ICameraSceneNode::setNearValue </td>
712 <td>(</td>
713 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
714 <td class="paramname"><em>zn</em></td><td>)</td>
715 <td><code> [pure virtual]</code></td>
716 </tr>
717 </table>
718</div>
719<div class="memdoc">
720
721<p>Sets the value of the near clipping plane. (default: 1.0f) </p>
722<dl><dt><b>Parameters:</b></dt><dd>
723 <table class="params">
724 <tr><td class="paramname">zn,:</td><td>New z near value. </td></tr>
725 </table>
726 </dd>
727</dl>
728
729</div>
730</div>
731<a class="anchor" id="a022415e06070ad77c6053eba64ba62ae"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setProjectionMatrix" ref="a022415e06070ad77c6053eba64ba62ae" args="(const core::matrix4 &amp;projection, bool isOrthogonal=false)=0" -->
732<div class="memitem">
733<div class="memproto">
734 <table class="memname">
735 <tr>
736 <td class="memname">virtual void irr::scene::ICameraSceneNode::setProjectionMatrix </td>
737 <td>(</td>
738 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
739 <td class="paramname"><em>projection</em>, </td>
740 </tr>
741 <tr>
742 <td class="paramkey"></td>
743 <td></td>
744 <td class="paramtype">bool&#160;</td>
745 <td class="paramname"><em>isOrthogonal</em> = <code>false</code>&#160;</td>
746 </tr>
747 <tr>
748 <td></td>
749 <td>)</td>
750 <td></td><td><code> [pure virtual]</code></td>
751 </tr>
752 </table>
753</div>
754<div class="memdoc">
755
756<p>Sets the projection matrix of the camera. </p>
757<p>The <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65" title="Typedef for f32 matrix.">core::matrix4</a> class has some methods to build a projection matrix. e.g: <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a1895b967a8f8c9d7ad90fe5434f2499f" title="Builds a left-handed perspective projection matrix based on a field of view.">core::matrix4::buildProjectionMatrixPerspectiveFovLH</a>. Note that the matrix will only stay as set by this method until one of the following Methods are called: setNearValue, setFarValue, setAspectRatio, setFOV. </p>
758<dl><dt><b>Parameters:</b></dt><dd>
759 <table class="params">
760 <tr><td class="paramname">projection</td><td>The new projection matrix of the camera. </td></tr>
761 <tr><td class="paramname">isOrthogonal</td><td>Set this to true if the matrix is an orthogonal one (e.g. from matrix4::buildProjectionMatrixOrtho). </td></tr>
762 </table>
763 </dd>
764</dl>
765
766</div>
767</div>
768<a class="anchor" id="af95d5f50c192f212e11f3f050e92a470"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setRotation" ref="af95d5f50c192f212e11f3f050e92a470" args="(const core::vector3df &amp;rotation)=0" -->
769<div class="memitem">
770<div class="memproto">
771 <table class="memname">
772 <tr>
773 <td class="memname">virtual void irr::scene::ICameraSceneNode::setRotation </td>
774 <td>(</td>
775 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
776 <td class="paramname"><em>rotation</em></td><td>)</td>
777 <td><code> [pure virtual]</code></td>
778 </tr>
779 </table>
780</div>
781<div class="memdoc">
782
783<p>Sets the rotation of the node. </p>
784<p>This only modifies the relative rotation of the node. If the camera's target and rotation are bound ( </p>
785<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...">bindTargetAndRotation()</a> ) then calling this will also change the camera's target to match the rotation. </dd></dl>
786<dl><dt><b>Parameters:</b></dt><dd>
787 <table class="params">
788 <tr><td class="paramname">rotation</td><td>New rotation of the node in degrees. </td></tr>
789 </table>
790 </dd>
791</dl>
792
793<p>Reimplemented from <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#adb6ff54f52d3a9e1514cd487a550935c">irr::scene::ISceneNode</a>.</p>
794
795</div>
796</div>
797<a class="anchor" id="a7280b07fd7915c64350db5a132b4ba07"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setTarget" ref="a7280b07fd7915c64350db5a132b4ba07" args="(const core::vector3df &amp;pos)=0" -->
798<div class="memitem">
799<div class="memproto">
800 <table class="memname">
801 <tr>
802 <td class="memname">virtual void irr::scene::ICameraSceneNode::setTarget </td>
803 <td>(</td>
804 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
805 <td class="paramname"><em>pos</em></td><td>)</td>
806 <td><code> [pure virtual]</code></td>
807 </tr>
808 </table>
809</div>
810<div class="memdoc">
811
812<p>Sets the look at target of the camera. </p>
813<p>If the camera's target and rotation are bound ( </p>
814<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...">bindTargetAndRotation()</a> ) then calling this will also change the camera's <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...">scene</a> node rotation to match the target. Note that <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#a7280b07fd7915c64350db5a132b4ba07" title="Sets the look at target of the camera.">setTarget</a> uses the current absolute position internally, so if you changed <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.">setPosition</a> since last rendering you must call <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html#aeb6e0dc034bb2101600ce87acbcf0f6e" title="Updates the absolute position based on the relative and the parents position.">updateAbsolutePosition</a> before using this function. </dd></dl>
815<dl><dt><b>Parameters:</b></dt><dd>
816 <table class="params">
817 <tr><td class="paramname">pos</td><td>Look at target of the camera, in world co-ordinates. </td></tr>
818 </table>
819 </dd>
820</dl>
821
822</div>
823</div>
824<a class="anchor" id="a1e74c17d89979fde4738276ccdcc0d3a"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setUpVector" ref="a1e74c17d89979fde4738276ccdcc0d3a" args="(const core::vector3df &amp;pos)=0" -->
825<div class="memitem">
826<div class="memproto">
827 <table class="memname">
828 <tr>
829 <td class="memname">virtual void irr::scene::ICameraSceneNode::setUpVector </td>
830 <td>(</td>
831 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
832 <td class="paramname"><em>pos</em></td><td>)</td>
833 <td><code> [pure virtual]</code></td>
834 </tr>
835 </table>
836</div>
837<div class="memdoc">
838
839<p>Sets the up vector of the camera. </p>
840<dl><dt><b>Parameters:</b></dt><dd>
841 <table class="params">
842 <tr><td class="paramname">pos,:</td><td>New upvector of the camera. </td></tr>
843 </table>
844 </dd>
845</dl>
846
847</div>
848</div>
849<a class="anchor" id="adb3500cac2a8a47e6a3f48aa343ce2fd"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::setViewMatrixAffector" ref="adb3500cac2a8a47e6a3f48aa343ce2fd" args="(const core::matrix4 &amp;affector)=0" -->
850<div class="memitem">
851<div class="memproto">
852 <table class="memname">
853 <tr>
854 <td class="memname">virtual void irr::scene::ICameraSceneNode::setViewMatrixAffector </td>
855 <td>(</td>
856 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
857 <td class="paramname"><em>affector</em></td><td>)</td>
858 <td><code> [pure virtual]</code></td>
859 </tr>
860 </table>
861</div>
862<div class="memdoc">
863
864<p>Sets a custom view matrix affector. </p>
865<p>The matrix passed here, will be multiplied with the view matrix when it gets updated. This allows for custom camera setups like, for example, a reflection camera. </p>
866<dl><dt><b>Parameters:</b></dt><dd>
867 <table class="params">
868 <tr><td class="paramname">affector</td><td>The affector matrix. </td></tr>
869 </table>
870 </dd>
871</dl>
872
873</div>
874</div>
875<hr/><h2>Member Data Documentation</h2>
876<a class="anchor" id="ab0487690db54b06683f5ceb5db2dcad1"></a><!-- doxytag: member="irr::scene::ICameraSceneNode::IsOrthogonal" ref="ab0487690db54b06683f5ceb5db2dcad1" args="" -->
877<div class="memitem">
878<div class="memproto">
879 <table class="memname">
880 <tr>
881 <td class="memname">bool <a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html#ab0487690db54b06683f5ceb5db2dcad1">irr::scene::ICameraSceneNode::IsOrthogonal</a><code> [protected]</code></td>
882 </tr>
883 </table>
884</div>
885<div class="memdoc">
886
887<p>Definition at line <a class="el" href="_i_camera_scene_node_8h_source.html#l00200">200</a> of file <a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a>.</p>
888
889<p>Referenced by <a class="el" href="_i_camera_scene_node_8h_source.html#l00195">cloneMembers()</a>, <a class="el" href="_i_camera_scene_node_8h_source.html#l00183">deserializeAttributes()</a>, <a class="el" href="_i_camera_scene_node_8h_source.html#l00151">isOrthogonal()</a>, and <a class="el" href="_i_camera_scene_node_8h_source.html#l00173">serializeAttributes()</a>.</p>
890
891</div>
892</div>
893<hr/>The documentation for this class was generated from the following file:<ul>
894<li><a class="el" href="_i_camera_scene_node_8h_source.html">ICameraSceneNode.h</a></li>
895</ul>
896</div>
897</div>
898 <div id="nav-path" class="navpath">
899 <ul>
900 <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
901 <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a> </li>
902 <li class="navelem"><a class="el" href="classirr_1_1scene_1_1_i_camera_scene_node.html">ICameraSceneNode</a> </li>
903<!-- window showing the filter options -->
904<div id="MSearchSelectWindow"
905 onmouseover="return searchBox.OnSearchSelectShow()"
906 onmouseout="return searchBox.OnSearchSelectHide()"
907 onkeydown="return searchBox.OnSearchSelectKey(event)">
908<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>
909
910<!-- iframe showing the search results (closed by default) -->
911<div id="MSearchResultsWindow">
912<iframe src="javascript:void(0)" frameborder="0"
913 name="MSearchResults" id="MSearchResults">
914</iframe>
915</div>
916
917
918 <li class="footer">
919<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
920Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:46 for Irrlicht 3D Engine by
921<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
922 </ul>
923 </div>
924
925
926</body>
927</html>