1 | <html> |
---|
2 | <head> |
---|
3 | <title>OgreRefApp::CollideCamera class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>OgreRefApp::CollideCamera Class Reference</h1>A camera which can interact with the world. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>></code> |
---|
14 | <p> |
---|
15 | <p>Inheritance diagram for OgreRefApp::CollideCamera: |
---|
16 | <p><center><img src="classOgreRefApp_1_1CollideCamera.png" usemap="#OgreRefApp::CollideCamera_map" border="0" alt=""></center> |
---|
17 | <map name="OgreRefApp::CollideCamera_map"> |
---|
18 | <area href="classOgreRefApp_1_1ApplicationObject.html" alt="OgreRefApp::ApplicationObject" shape="rect" coords="0,56,189,80"> |
---|
19 | <area href="classOgre_1_1UserDefinedObject.html" alt="Ogre::UserDefinedObject" shape="rect" coords="0,0,189,24"> |
---|
20 | </map> |
---|
21 | <a href="classOgreRefApp_1_1CollideCamera-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
22 | <tr><td></td></tr> |
---|
23 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
24 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa0">CollideCamera</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name)</td></tr> |
---|
25 | |
---|
26 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Camera.html">Camera</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa1">getRealCamera</a> (void)</td></tr> |
---|
27 | |
---|
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the internal Camera object. <a href="#OgreRefApp_1_1CollideCameraa1"></a><br><br></td></tr> |
---|
29 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa2">_notifyCollided</a> (<a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> *wf, const CollisionInfo &info)</td></tr> |
---|
30 | |
---|
31 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method is called automatically if testCollide indicates a real collision. <a href="#OgreRefApp_1_1CollideCameraa2"></a><br><br></td></tr> |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa3">setOrientation</a> (const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &orientation)</td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the orientation of this object. <a href="#OgreRefApp_1_1CollideCameraa3"></a><br><br></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa4">getOrientation</a> (void)</td></tr> |
---|
36 | |
---|
37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current orientation of this object. <a href="#OgreRefApp_1_1CollideCameraa4"></a><br><br></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa5">translate</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &d)</td></tr> |
---|
39 | |
---|
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the object along it's local axes. <a href="#OgreRefApp_1_1CollideCameraa5"></a><br><br></td></tr> |
---|
41 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa6">roll</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &angle)</td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the object around the local Z-axis. <a href="#OgreRefApp_1_1CollideCameraa6"></a><br><br></td></tr> |
---|
44 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa7">roll</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> angleunits)</td></tr> |
---|
45 | |
---|
46 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa8">pitch</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &angle)</td></tr> |
---|
47 | |
---|
48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the object around the local X-axis. <a href="#OgreRefApp_1_1CollideCameraa8"></a><br><br></td></tr> |
---|
49 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa9">pitch</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> angleunits)</td></tr> |
---|
50 | |
---|
51 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa10">yaw</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &angle)</td></tr> |
---|
52 | |
---|
53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the object around the local Y-axis. <a href="#OgreRefApp_1_1CollideCameraa10"></a><br><br></td></tr> |
---|
54 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa11">yaw</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> angleunits)</td></tr> |
---|
55 | |
---|
56 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa12">rotate</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &axis, const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &angle)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the object around an arbitrary axis. <a href="#OgreRefApp_1_1CollideCameraa12"></a><br><br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa13">rotate</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &axis, <a class="el" href="namespaceOgre.html#a420">Real</a> angleunits)</td></tr> |
---|
60 | |
---|
61 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa14">rotate</a> (const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &q)</td></tr> |
---|
62 | |
---|
63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the object around an aritrary axis using a Quarternion. <a href="#OgreRefApp_1_1CollideCameraa14"></a><br><br></td></tr> |
---|
64 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa15">setProjectionType</a> (ProjectionType pt)</td></tr> |
---|
65 | |
---|
66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the type of projection to use (orthographic or perspective). <a href="#OgreRefApp_1_1CollideCameraa15"></a><br><br></td></tr> |
---|
67 | <tr><td class="memItemLeft" nowrap align=right valign=top>ProjectionType </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa16">getProjectionType</a> (void) const </td></tr> |
---|
68 | |
---|
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves info on the type of projection used (orthographic or perspective). <a href="#OgreRefApp_1_1CollideCameraa16"></a><br><br></td></tr> |
---|
70 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa17">setDetailLevel</a> (SceneDetailLevel sd)</td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the level of rendering detail required from this camera. <a href="#OgreRefApp_1_1CollideCameraa17"></a><br><br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align=right valign=top>SceneDetailLevel </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa18">getDetailLevel</a> (void) const </td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the level of detail that the camera will render. <a href="#OgreRefApp_1_1CollideCameraa18"></a><br><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa19">setDirection</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the camera's direction vector. <a href="#OgreRefApp_1_1CollideCameraa19"></a><br><br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa20">setDirection</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &vec)</td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the camera's direction vector. <a href="#OgreRefApp_1_1CollideCameraa20"></a><br><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa21">getDirection</a> (void) const </td></tr> |
---|
83 | |
---|
84 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa22">lookAt</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &targetPoint)</td></tr> |
---|
85 | |
---|
86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Points the camera at a location in worldspace. <a href="#OgreRefApp_1_1CollideCameraa22"></a><br><br></td></tr> |
---|
87 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa23">lookAt</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
88 | |
---|
89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Points the camera at a location in worldspace. <a href="#OgreRefApp_1_1CollideCameraa23"></a><br><br></td></tr> |
---|
90 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa24">setFixedYawAxis</a> (bool useFixed, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &fixedAxis=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a>)</td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tells the camera whether to yaw around it's own local Y axis or a fixed axis of choice. <a href="#OgreRefApp_1_1CollideCameraa24"></a><br><br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa25">setFOVy</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &fovy)</td></tr> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the Y-dimension Field Of View (FOV) of the camera. <a href="#OgreRefApp_1_1CollideCameraa25"></a><br><br></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa26">setFOVy</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fovy)</td></tr> |
---|
97 | |
---|
98 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa27">getFOVy</a> (void) const </td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the cameras Y-dimension Field Of View (FOV). <a href="#OgreRefApp_1_1CollideCameraa27"></a><br><br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa28">setNearClipDistance</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> nearDist)</td></tr> |
---|
102 | |
---|
103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the position of the near clipping plane. <a href="#OgreRefApp_1_1CollideCameraa28"></a><br><br></td></tr> |
---|
104 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa29">getNearClipDistance</a> (void) const </td></tr> |
---|
105 | |
---|
106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the position of the near clipping plane. <a href="#OgreRefApp_1_1CollideCameraa29"></a><br><br></td></tr> |
---|
107 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa30">setFarClipDistance</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> farDist)</td></tr> |
---|
108 | |
---|
109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the distance to the far clipping plane. <a href="#OgreRefApp_1_1CollideCameraa30"></a><br><br></td></tr> |
---|
110 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa31">getFarClipDistance</a> (void) const </td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the distance from the camera to the far clipping plane. <a href="#OgreRefApp_1_1CollideCameraa31"></a><br><br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa32">setAspectRatio</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> ratio)</td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the aspect ratio for the camera viewport. <a href="#OgreRefApp_1_1CollideCameraa32"></a><br><br></td></tr> |
---|
116 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa33">getAspectRatio</a> (void) const </td></tr> |
---|
117 | |
---|
118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retreives the current aspect ratio. <a href="#OgreRefApp_1_1CollideCameraa33"></a><br><br></td></tr> |
---|
119 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Plane.html">Plane</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa34">getFrustumPlane</a> (FrustumPlane plane)</td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a specified plane of the frustum. <a href="#OgreRefApp_1_1CollideCameraa34"></a><br><br></td></tr> |
---|
122 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa35">isVisible</a> (const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &bound, FrustumPlane *culledBy=0)</td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether the given container is visible in the Frustum. <a href="#OgreRefApp_1_1CollideCameraa35"></a><br><br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa36">isVisible</a> (const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &bound, FrustumPlane *culledBy=0)</td></tr> |
---|
126 | |
---|
127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether the given container is visible in the Frustum. <a href="#OgreRefApp_1_1CollideCameraa36"></a><br><br></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCameraa37">isVisible</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &vert, FrustumPlane *culledBy=0)</td></tr> |
---|
129 | |
---|
130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether the given vertex is visible in the Frustum. <a href="#OgreRefApp_1_1CollideCameraa37"></a><br><br></td></tr> |
---|
131 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada2">setPosition</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &vec)</td></tr> |
---|
132 | |
---|
133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the position of this object. <a href="#OgreRefApp_1_1OgreHeada2"></a><br><br></td></tr> |
---|
134 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada3">setPosition</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
135 | |
---|
136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the position of this object. <a href="#OgreRefApp_1_1OgreHeada3"></a><br><br></td></tr> |
---|
137 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada5">getPosition</a> (void)</td></tr> |
---|
138 | |
---|
139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current position of this object. <a href="#OgreRefApp_1_1OgreHeada5"></a><br><br></td></tr> |
---|
140 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada7">_updateFromDynamics</a> (void)</td></tr> |
---|
141 | |
---|
142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the position of this game object from the simulation. <a href="#OgreRefApp_1_1OgreHeada7"></a><br><br></td></tr> |
---|
143 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada8">isCollisionEnabled</a> (void)</td></tr> |
---|
144 | |
---|
145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether or not this object is considered for collision. <a href="#OgreRefApp_1_1OgreHeada8"></a><br><br></td></tr> |
---|
146 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada9">isDynamicsEnabled</a> (void)</td></tr> |
---|
147 | |
---|
148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether or not this object is physically simulated. <a href="#OgreRefApp_1_1OgreHeada9"></a><br><br></td></tr> |
---|
149 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada10">setDynamicsDisableThreshold</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> linearSq, <a class="el" href="namespaceOgre.html#a420">Real</a> angularSq, <a class="el" href="namespaceOgre.html#a420">Real</a> overTime)</td></tr> |
---|
150 | |
---|
151 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the linear and angular velocity thresholds, below which the object will have it's dynamics automatically disabled for performance. <a href="#OgreRefApp_1_1OgreHeada10"></a><br><br></td></tr> |
---|
152 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada11">setCollisionEnabled</a> (bool enabled)</td></tr> |
---|
153 | |
---|
154 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada12">setDynamicsEnabled</a> (bool enabled, bool reEnableOnInteraction=false)</td></tr> |
---|
155 | |
---|
156 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether or not this object is physically simulated at this time. <a href="#OgreRefApp_1_1OgreHeada12"></a><br><br></td></tr> |
---|
157 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada13">setBounceParameters</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> restitutionValue, <a class="el" href="namespaceOgre.html#a420">Real</a> velocityThreshold)</td></tr> |
---|
158 | |
---|
159 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the 'bounciness' of this object. <a href="#OgreRefApp_1_1OgreHeada13"></a><br><br></td></tr> |
---|
160 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada14">getBounceRestitutionValue</a> (void)</td></tr> |
---|
161 | |
---|
162 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the cefficient of restitution (bounciness) for this object. <a href="#OgreRefApp_1_1OgreHeada14"></a><br><br></td></tr> |
---|
163 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada15">getBounceVelocityThreshold</a> (void)</td></tr> |
---|
164 | |
---|
165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the bounce velocity threshold for this object. <a href="#OgreRefApp_1_1OgreHeada15"></a><br><br></td></tr> |
---|
166 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada16">setSoftness</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> softness)</td></tr> |
---|
167 | |
---|
168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the softness of this object, which determines how much it is allowed to penetrate other objects. <a href="#OgreRefApp_1_1OgreHeada16"></a><br><br></td></tr> |
---|
169 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada17">getSoftness</a> (void)</td></tr> |
---|
170 | |
---|
171 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the softness factor of this object. <a href="#OgreRefApp_1_1OgreHeada17"></a><br><br></td></tr> |
---|
172 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada18">setFriction</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> friction)</td></tr> |
---|
173 | |
---|
174 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the Coulomb frictional coefficient for this object. <a href="#OgreRefApp_1_1OgreHeada18"></a><br><br></td></tr> |
---|
175 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada19">getFriction</a> (void)</td></tr> |
---|
176 | |
---|
177 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the Coulomb frictional coefficient for this object. <a href="#OgreRefApp_1_1OgreHeada19"></a><br><br></td></tr> |
---|
178 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada20">addForce</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &direction, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &atPosition=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a>)</td></tr> |
---|
179 | |
---|
180 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a linear force to this object, in object space, at the position indicated. <a href="#OgreRefApp_1_1OgreHeada20"></a><br><br></td></tr> |
---|
181 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada21">addForce</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> dir_x, <a class="el" href="namespaceOgre.html#a420">Real</a> dir_y, <a class="el" href="namespaceOgre.html#a420">Real</a> dir_z, <a class="el" href="namespaceOgre.html#a420">Real</a> pos_x=0, <a class="el" href="namespaceOgre.html#a420">Real</a> pos_y=0, <a class="el" href="namespaceOgre.html#a420">Real</a> pos_z=0)</td></tr> |
---|
182 | |
---|
183 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a linear force to this object, in object space, at the position indicated. <a href="#OgreRefApp_1_1OgreHeada21"></a><br><br></td></tr> |
---|
184 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada22">addForceWorldSpace</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &direction, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &atPosition=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a>)</td></tr> |
---|
185 | |
---|
186 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a linear force to this object, in world space, at the position indicated. <a href="#OgreRefApp_1_1OgreHeada22"></a><br><br></td></tr> |
---|
187 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada23">addForceWorldSpace</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> dir_x, <a class="el" href="namespaceOgre.html#a420">Real</a> dir_y, <a class="el" href="namespaceOgre.html#a420">Real</a> dir_z, <a class="el" href="namespaceOgre.html#a420">Real</a> pos_x, <a class="el" href="namespaceOgre.html#a420">Real</a> pos_y, <a class="el" href="namespaceOgre.html#a420">Real</a> pos_z)</td></tr> |
---|
188 | |
---|
189 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a linear force to this object, in world space, at the position indicated. <a href="#OgreRefApp_1_1OgreHeada23"></a><br><br></td></tr> |
---|
190 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada24">addTorque</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &direction)</td></tr> |
---|
191 | |
---|
192 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds rotational force to this object, in object space. <a href="#OgreRefApp_1_1OgreHeada24"></a><br><br></td></tr> |
---|
193 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada25">addTorque</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
194 | |
---|
195 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds rotational force to this object, in object space. <a href="#OgreRefApp_1_1OgreHeada25"></a><br><br></td></tr> |
---|
196 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada26">addTorqueWorldSpace</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &direction)</td></tr> |
---|
197 | |
---|
198 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds rotational force to this object, in world space. <a href="#OgreRefApp_1_1OgreHeada26"></a><br><br></td></tr> |
---|
199 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada27">addTorqueWorldSpace</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
200 | |
---|
201 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds rotational force to this object, in world space. <a href="#OgreRefApp_1_1OgreHeada27"></a><br><br></td></tr> |
---|
202 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada28">testCollide</a> (<a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *otherObj)</td></tr> |
---|
203 | |
---|
204 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests to see if there is a detailed collision between this object and the object passed in. <a href="#OgreRefApp_1_1OgreHeada28"></a><br><br></td></tr> |
---|
205 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada29">testCollide</a> (<a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> *wf)</td></tr> |
---|
206 | |
---|
207 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests to see if there is a detailed collision between this object and the world fragment passed in. <a href="#OgreRefApp_1_1OgreHeada29"></a><br><br></td></tr> |
---|
208 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada30">_notifyCollided</a> (<a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *otherObj, const CollisionInfo &info)</td></tr> |
---|
209 | |
---|
210 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method is called automatically if testCollide indicates a real collision. <a href="#OgreRefApp_1_1OgreHeada30"></a><br><br></td></tr> |
---|
211 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada32">getSceneNode</a> (void)</td></tr> |
---|
212 | |
---|
213 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the SceneNode which is being used to represent this object's position in the OGRE world. <a href="#OgreRefApp_1_1OgreHeada32"></a><br><br></td></tr> |
---|
214 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Entity.html">Entity</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada33">getEntity</a> (void)</td></tr> |
---|
215 | |
---|
216 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the Entity which is being used to represent this object in the OGRE world. <a href="#OgreRefApp_1_1OgreHeada33"></a><br><br></td></tr> |
---|
217 | <tr><td class="memItemLeft" nowrap align=right valign=top>dBody * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada34">getOdeBody</a> (void)</td></tr> |
---|
218 | |
---|
219 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the ODE body used to represent this object's mass and current velocity. <a href="#OgreRefApp_1_1OgreHeada34"></a><br><br></td></tr> |
---|
220 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada35">setMassSphere</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> density, <a class="el" href="namespaceOgre.html#a420">Real</a> radius)</td></tr> |
---|
221 | |
---|
222 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the mass parameters of this object to represent a sphere. <a href="#OgreRefApp_1_1OgreHeada35"></a><br><br></td></tr> |
---|
223 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada36">setMassBox</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> density, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &dimensions, const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &orientation=<a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a>)</td></tr> |
---|
224 | |
---|
225 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the mass parameters of this object to represent a box. <a href="#OgreRefApp_1_1OgreHeada36"></a><br><br></td></tr> |
---|
226 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada37">setMassCappedCylinder</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> density, <a class="el" href="namespaceOgre.html#a420">Real</a> length, <a class="el" href="namespaceOgre.html#a420">Real</a> width, const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &orientation=<a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a>)</td></tr> |
---|
227 | |
---|
228 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the mass parameters of this object to represent a capped cylinder. <a href="#OgreRefApp_1_1OgreHeada37"></a><br><br></td></tr> |
---|
229 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada38">setMassExpert</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> mass, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> center, const <a class="el" href="classOgre_1_1Matrix3.html">Matrix3</a> inertia)</td></tr> |
---|
230 | |
---|
231 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the mass parameters manually, use only if you know how! <a href="#OgreRefApp_1_1OgreHeada38"></a><br><br></td></tr> |
---|
232 | <tr><td class="memItemLeft" nowrap align=right valign=top>const dMass * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada39">getOdeMass</a> (void)</td></tr> |
---|
233 | |
---|
234 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the ODE mass parameters for this object. <a href="#OgreRefApp_1_1OgreHeada39"></a><br><br></td></tr> |
---|
235 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada40">setLinearVelocity</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &vel)</td></tr> |
---|
236 | |
---|
237 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current linear velocity of this object. <a href="#OgreRefApp_1_1OgreHeada40"></a><br><br></td></tr> |
---|
238 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada41">setLinearVelocity</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
239 | |
---|
240 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current linear velocity of this object. <a href="#OgreRefApp_1_1OgreHeada41"></a><br><br></td></tr> |
---|
241 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada42">getLinearVelocity</a> (void)</td></tr> |
---|
242 | |
---|
243 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current linear velocity of this object. <a href="#OgreRefApp_1_1OgreHeada42"></a><br><br></td></tr> |
---|
244 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada43">getAngularVelocity</a> (void)</td></tr> |
---|
245 | |
---|
246 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current angular velocity of this object. <a href="#OgreRefApp_1_1OgreHeada43"></a><br><br></td></tr> |
---|
247 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada44">setAngularVelocity</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &vel)</td></tr> |
---|
248 | |
---|
249 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current angular velocity of this object. <a href="#OgreRefApp_1_1OgreHeada44"></a><br><br></td></tr> |
---|
250 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada45">setAngularVelocity</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
251 | |
---|
252 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current angular velocity of this object. <a href="#OgreRefApp_1_1OgreHeada45"></a><br><br></td></tr> |
---|
253 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada47">translate</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
254 | |
---|
255 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the object along it's local axes. <a href="#OgreRefApp_1_1OgreHeada47"></a><br><br></td></tr> |
---|
256 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada48">translateWorldSpace</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &d)</td></tr> |
---|
257 | |
---|
258 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the object along the world axes. <a href="#OgreRefApp_1_1OgreHeada48"></a><br><br></td></tr> |
---|
259 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada49">translateWorldSpace</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> x, <a class="el" href="namespaceOgre.html#a420">Real</a> y, <a class="el" href="namespaceOgre.html#a420">Real</a> z)</td></tr> |
---|
260 | |
---|
261 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the object along the world axes. <a href="#OgreRefApp_1_1OgreHeada49"></a><br><br></td></tr> |
---|
262 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1UserDefinedObject.html#Ogre_1_1UserDefinedObjecta2">getTypeID</a> (void) const </td></tr> |
---|
263 | |
---|
264 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a number identifying the type of user defined object. <a href="#Ogre_1_1UserDefinedObjecta2"></a><br><br></td></tr> |
---|
265 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="namespaceOgre.html#a426">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1UserDefinedObject.html#Ogre_1_1UserDefinedObjecta3">getTypeName</a> (void) const </td></tr> |
---|
266 | |
---|
267 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a string identifying the type of user defined object. <a href="#Ogre_1_1UserDefinedObjecta3"></a><br><br></td></tr> |
---|
268 | <tr><td colspan=2><br><h2>Protected Types</h2></td></tr> |
---|
269 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list< dGeom * > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadx0">CollisionProxyList</a></td></tr> |
---|
270 | |
---|
271 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Collision proxies, must be set up if collision enabled. <a href="#OgreRefApp_1_1OgreHeadx0"></a><br><br></td></tr> |
---|
272 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
273 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCamerab0">setUp</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name)</td></tr> |
---|
274 | |
---|
275 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set up. <a href="#OgreRefApp_1_1CollideCamerab0"></a><br><br></td></tr> |
---|
276 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCamerab1">nearDistChanged</a> (void)</td></tr> |
---|
277 | |
---|
278 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Triggers recacl of collison bounds. <a href="#OgreRefApp_1_1CollideCamerab1"></a><br><br></td></tr> |
---|
279 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadb1">updateCollisionProxies</a> (void)</td></tr> |
---|
280 | |
---|
281 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for updating the state of the collision proxies. <a href="#OgreRefApp_1_1OgreHeadb1"></a><br><br></td></tr> |
---|
282 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadb2">testCollidePlaneBounds</a> (<a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> *wf)</td></tr> |
---|
283 | |
---|
284 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for testing the plane bounded region WorldFragment type. <a href="#OgreRefApp_1_1OgreHeadb2"></a><br><br></td></tr> |
---|
285 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadb3">setEntityQueryFlags</a> (void)</td></tr> |
---|
286 | |
---|
287 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for updating the query mask. <a href="#OgreRefApp_1_1OgreHeadb3"></a><br><br></td></tr> |
---|
288 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
289 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Camera.html">Camera</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCamerap0">mCamera</a></td></tr> |
---|
290 | |
---|
291 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Contained camera. <a href="#OgreRefApp_1_1CollideCamerap0"></a><br><br></td></tr> |
---|
292 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp0">mSceneNode</a></td></tr> |
---|
293 | |
---|
294 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Entity.html">Entity</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp1">mEntity</a></td></tr> |
---|
295 | |
---|
296 | <tr><td class="memItemLeft" nowrap align=right valign=top>dBody * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp2">mOdeBody</a></td></tr> |
---|
297 | |
---|
298 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Dynamics properties, must be set up by subclasses if dynamics enabled. <a href="#OgreRefApp_1_1OgreHeadp2"></a><br><br></td></tr> |
---|
299 | <tr><td class="memItemLeft" nowrap align=right valign=top>dMass </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp3">mMass</a></td></tr> |
---|
300 | |
---|
301 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Mass parameters. <a href="#OgreRefApp_1_1OgreHeadp3"></a><br><br></td></tr> |
---|
302 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadx0">CollisionProxyList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp4">mCollisionProxies</a></td></tr> |
---|
303 | |
---|
304 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp5">mDynamicsEnabled</a></td></tr> |
---|
305 | |
---|
306 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp6">mReenableIfInteractedWith</a></td></tr> |
---|
307 | |
---|
308 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp7">mCollisionEnabled</a></td></tr> |
---|
309 | |
---|
310 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp8">mBounceCoeffRestitution</a></td></tr> |
---|
311 | |
---|
312 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp9">mBounceVelocityThreshold</a></td></tr> |
---|
313 | |
---|
314 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp10">mSoftness</a></td></tr> |
---|
315 | |
---|
316 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp11">mFriction</a></td></tr> |
---|
317 | |
---|
318 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp12">mLinearVelDisableThreshold</a></td></tr> |
---|
319 | |
---|
320 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp13">mAngularVelDisableThreshold</a></td></tr> |
---|
321 | |
---|
322 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp14">mDisableTime</a></td></tr> |
---|
323 | |
---|
324 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp15">mDisableTimeEnd</a></td></tr> |
---|
325 | |
---|
326 | </table> |
---|
327 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
328 | A camera which can interact with the world. |
---|
329 | <p> |
---|
330 | |
---|
331 | <p> |
---|
332 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00035">35</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
333 | <a class="anchor" name="OgreRefApp_1_1OgreHeadx0" doxytag="OgreRefApp::CollideCamera::CollisionProxyList" ></a><p> |
---|
334 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
335 | <tr> |
---|
336 | <td class="mdRow"> |
---|
337 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
338 | <tr> |
---|
339 | <td class="md" nowrap valign="top"> typedef std::list<dGeom*> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadx0">OgreRefApp::ApplicationObject::CollisionProxyList</a><code> [protected, inherited]</code> |
---|
340 | </table> |
---|
341 | </td> |
---|
342 | </tr> |
---|
343 | </table> |
---|
344 | <table cellspacing=5 cellpadding=0 border=0> |
---|
345 | <tr> |
---|
346 | <td> |
---|
347 | |
---|
348 | </td> |
---|
349 | <td> |
---|
350 | |
---|
351 | <p> |
---|
352 | Collision proxies, must be set up if collision enabled. |
---|
353 | <p> |
---|
354 | |
---|
355 | <p> |
---|
356 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00056">56</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
357 | </tr> |
---|
358 | </table> |
---|
359 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
360 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa0" doxytag="OgreRefApp::CollideCamera::CollideCamera" ></a><p> |
---|
361 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
362 | <tr> |
---|
363 | <td class="mdRow"> |
---|
364 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
365 | <tr> |
---|
366 | <td class="md" nowrap valign="top"> OgreRefApp::CollideCamera::CollideCamera </td> |
---|
367 | <td class="md" valign="top">( </td> |
---|
368 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
369 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
370 | <td class="md" valign="top"> ) </td> |
---|
371 | <td class="md" nowrap></td> |
---|
372 | </tr> |
---|
373 | |
---|
374 | </table> |
---|
375 | </td> |
---|
376 | </tr> |
---|
377 | </table> |
---|
378 | <table cellspacing=5 cellpadding=0 border=0> |
---|
379 | <tr> |
---|
380 | <td> |
---|
381 | |
---|
382 | </td> |
---|
383 | <td> |
---|
384 | |
---|
385 | <p> |
---|
386 | </td> |
---|
387 | </tr> |
---|
388 | </table> |
---|
389 | <hr><h2>Member Function Documentation</h2> |
---|
390 | <a class="anchor" name="OgreRefApp_1_1OgreHeada30" doxytag="OgreRefApp::CollideCamera::_notifyCollided" ></a><p> |
---|
391 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
392 | <tr> |
---|
393 | <td class="mdRow"> |
---|
394 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
395 | <tr> |
---|
396 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::_notifyCollided </td> |
---|
397 | <td class="md" valign="top">( </td> |
---|
398 | <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> |
---|
399 | <td class="mdname" nowrap> <em>otherObj</em>, </td> |
---|
400 | </tr> |
---|
401 | <tr> |
---|
402 | <td class="md" nowrap align="right"></td> |
---|
403 | <td></td> |
---|
404 | <td class="md" nowrap>const <a class="el" href="structOgreRefApp_1_1ApplicationObject_1_1CollisionInfo.html">CollisionInfo</a> & </td> |
---|
405 | <td class="mdname" nowrap> <em>info</em></td> |
---|
406 | </tr> |
---|
407 | <tr> |
---|
408 | <td></td> |
---|
409 | <td class="md">) </td> |
---|
410 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
411 | </tr> |
---|
412 | |
---|
413 | </table> |
---|
414 | </td> |
---|
415 | </tr> |
---|
416 | </table> |
---|
417 | <table cellspacing=5 cellpadding=0 border=0> |
---|
418 | <tr> |
---|
419 | <td> |
---|
420 | |
---|
421 | </td> |
---|
422 | <td> |
---|
423 | |
---|
424 | <p> |
---|
425 | This method is called automatically if testCollide indicates a real collision. |
---|
426 | <p> |
---|
427 | |
---|
428 | <p> |
---|
429 | Reimplemented in <a class="el" href="classOgreRefApp_1_1Box.html#OgreRefApp_1_1Boxa2">OgreRefApp::Box</a>. </td> |
---|
430 | </tr> |
---|
431 | </table> |
---|
432 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa2" doxytag="OgreRefApp::CollideCamera::_notifyCollided" ></a><p> |
---|
433 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
434 | <tr> |
---|
435 | <td class="mdRow"> |
---|
436 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
437 | <tr> |
---|
438 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::_notifyCollided </td> |
---|
439 | <td class="md" valign="top">( </td> |
---|
440 | <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> * </td> |
---|
441 | <td class="mdname" nowrap> <em>wf</em>, </td> |
---|
442 | </tr> |
---|
443 | <tr> |
---|
444 | <td class="md" nowrap align="right"></td> |
---|
445 | <td></td> |
---|
446 | <td class="md" nowrap>const CollisionInfo & </td> |
---|
447 | <td class="mdname" nowrap> <em>info</em></td> |
---|
448 | </tr> |
---|
449 | <tr> |
---|
450 | <td></td> |
---|
451 | <td class="md">) </td> |
---|
452 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
453 | </tr> |
---|
454 | |
---|
455 | </table> |
---|
456 | </td> |
---|
457 | </tr> |
---|
458 | </table> |
---|
459 | <table cellspacing=5 cellpadding=0 border=0> |
---|
460 | <tr> |
---|
461 | <td> |
---|
462 | |
---|
463 | </td> |
---|
464 | <td> |
---|
465 | |
---|
466 | <p> |
---|
467 | This method is called automatically if testCollide indicates a real collision. |
---|
468 | <p> |
---|
469 | |
---|
470 | <p> |
---|
471 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada31">OgreRefApp::ApplicationObject</a>. </td> |
---|
472 | </tr> |
---|
473 | </table> |
---|
474 | <a class="anchor" name="OgreRefApp_1_1OgreHeada7" doxytag="OgreRefApp::CollideCamera::_updateFromDynamics" ></a><p> |
---|
475 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
476 | <tr> |
---|
477 | <td class="mdRow"> |
---|
478 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
479 | <tr> |
---|
480 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::_updateFromDynamics </td> |
---|
481 | <td class="md" valign="top">( </td> |
---|
482 | <td class="md" nowrap valign="top">void </td> |
---|
483 | <td class="mdname1" valign="top" nowrap> </td> |
---|
484 | <td class="md" valign="top"> ) </td> |
---|
485 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
486 | </tr> |
---|
487 | |
---|
488 | </table> |
---|
489 | </td> |
---|
490 | </tr> |
---|
491 | </table> |
---|
492 | <table cellspacing=5 cellpadding=0 border=0> |
---|
493 | <tr> |
---|
494 | <td> |
---|
495 | |
---|
496 | </td> |
---|
497 | <td> |
---|
498 | |
---|
499 | <p> |
---|
500 | Updates the position of this game object from the simulation. |
---|
501 | <p> |
---|
502 | </td> |
---|
503 | </tr> |
---|
504 | </table> |
---|
505 | <a class="anchor" name="OgreRefApp_1_1OgreHeada21" doxytag="OgreRefApp::CollideCamera::addForce" ></a><p> |
---|
506 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
507 | <tr> |
---|
508 | <td class="mdRow"> |
---|
509 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
510 | <tr> |
---|
511 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addForce </td> |
---|
512 | <td class="md" valign="top">( </td> |
---|
513 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
514 | <td class="mdname" nowrap> <em>dir_x</em>, </td> |
---|
515 | </tr> |
---|
516 | <tr> |
---|
517 | <td class="md" nowrap align="right"></td> |
---|
518 | <td></td> |
---|
519 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
520 | <td class="mdname" nowrap> <em>dir_y</em>, </td> |
---|
521 | </tr> |
---|
522 | <tr> |
---|
523 | <td class="md" nowrap align="right"></td> |
---|
524 | <td></td> |
---|
525 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
526 | <td class="mdname" nowrap> <em>dir_z</em>, </td> |
---|
527 | </tr> |
---|
528 | <tr> |
---|
529 | <td class="md" nowrap align="right"></td> |
---|
530 | <td></td> |
---|
531 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
532 | <td class="mdname" nowrap> <em>pos_x</em> = 0, </td> |
---|
533 | </tr> |
---|
534 | <tr> |
---|
535 | <td class="md" nowrap align="right"></td> |
---|
536 | <td></td> |
---|
537 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
538 | <td class="mdname" nowrap> <em>pos_y</em> = 0, </td> |
---|
539 | </tr> |
---|
540 | <tr> |
---|
541 | <td class="md" nowrap align="right"></td> |
---|
542 | <td></td> |
---|
543 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
544 | <td class="mdname" nowrap> <em>pos_z</em> = 0</td> |
---|
545 | </tr> |
---|
546 | <tr> |
---|
547 | <td></td> |
---|
548 | <td class="md">) </td> |
---|
549 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
550 | </tr> |
---|
551 | |
---|
552 | </table> |
---|
553 | </td> |
---|
554 | </tr> |
---|
555 | </table> |
---|
556 | <table cellspacing=5 cellpadding=0 border=0> |
---|
557 | <tr> |
---|
558 | <td> |
---|
559 | |
---|
560 | </td> |
---|
561 | <td> |
---|
562 | |
---|
563 | <p> |
---|
564 | Adds a linear force to this object, in object space, at the position indicated. |
---|
565 | <p> |
---|
566 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
567 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
568 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
569 | <tr><td valign=top><em>dir_x,dir_y,dir_z</em> </td><td>The force direction in object coordinates. </td></tr> |
---|
570 | <tr><td valign=top><em>pos_x,pos_y,pos_z</em> </td><td>The position at which the force is to be applied, in object coordinates. </td></tr> |
---|
571 | </table> |
---|
572 | </dl> |
---|
573 | </td> |
---|
574 | </tr> |
---|
575 | </table> |
---|
576 | <a class="anchor" name="OgreRefApp_1_1OgreHeada20" doxytag="OgreRefApp::CollideCamera::addForce" ></a><p> |
---|
577 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
578 | <tr> |
---|
579 | <td class="mdRow"> |
---|
580 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
581 | <tr> |
---|
582 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addForce </td> |
---|
583 | <td class="md" valign="top">( </td> |
---|
584 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
585 | <td class="mdname" nowrap> <em>direction</em>, </td> |
---|
586 | </tr> |
---|
587 | <tr> |
---|
588 | <td class="md" nowrap align="right"></td> |
---|
589 | <td></td> |
---|
590 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
591 | <td class="mdname" nowrap> <em>atPosition</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a></td> |
---|
592 | </tr> |
---|
593 | <tr> |
---|
594 | <td></td> |
---|
595 | <td class="md">) </td> |
---|
596 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
597 | </tr> |
---|
598 | |
---|
599 | </table> |
---|
600 | </td> |
---|
601 | </tr> |
---|
602 | </table> |
---|
603 | <table cellspacing=5 cellpadding=0 border=0> |
---|
604 | <tr> |
---|
605 | <td> |
---|
606 | |
---|
607 | </td> |
---|
608 | <td> |
---|
609 | |
---|
610 | <p> |
---|
611 | Adds a linear force to this object, in object space, at the position indicated. |
---|
612 | <p> |
---|
613 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
614 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
615 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
616 | <tr><td valign=top><em>direction</em> </td><td>The force direction in object coordinates. </td></tr> |
---|
617 | <tr><td valign=top><em>atPosition</em> </td><td>The position at which the force is to be applied, in object coordinates. </td></tr> |
---|
618 | </table> |
---|
619 | </dl> |
---|
620 | </td> |
---|
621 | </tr> |
---|
622 | </table> |
---|
623 | <a class="anchor" name="OgreRefApp_1_1OgreHeada23" doxytag="OgreRefApp::CollideCamera::addForceWorldSpace" ></a><p> |
---|
624 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
625 | <tr> |
---|
626 | <td class="mdRow"> |
---|
627 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
628 | <tr> |
---|
629 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addForceWorldSpace </td> |
---|
630 | <td class="md" valign="top">( </td> |
---|
631 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
632 | <td class="mdname" nowrap> <em>dir_x</em>, </td> |
---|
633 | </tr> |
---|
634 | <tr> |
---|
635 | <td class="md" nowrap align="right"></td> |
---|
636 | <td></td> |
---|
637 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
638 | <td class="mdname" nowrap> <em>dir_y</em>, </td> |
---|
639 | </tr> |
---|
640 | <tr> |
---|
641 | <td class="md" nowrap align="right"></td> |
---|
642 | <td></td> |
---|
643 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
644 | <td class="mdname" nowrap> <em>dir_z</em>, </td> |
---|
645 | </tr> |
---|
646 | <tr> |
---|
647 | <td class="md" nowrap align="right"></td> |
---|
648 | <td></td> |
---|
649 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
650 | <td class="mdname" nowrap> <em>pos_x</em>, </td> |
---|
651 | </tr> |
---|
652 | <tr> |
---|
653 | <td class="md" nowrap align="right"></td> |
---|
654 | <td></td> |
---|
655 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
656 | <td class="mdname" nowrap> <em>pos_y</em>, </td> |
---|
657 | </tr> |
---|
658 | <tr> |
---|
659 | <td class="md" nowrap align="right"></td> |
---|
660 | <td></td> |
---|
661 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
662 | <td class="mdname" nowrap> <em>pos_z</em></td> |
---|
663 | </tr> |
---|
664 | <tr> |
---|
665 | <td></td> |
---|
666 | <td class="md">) </td> |
---|
667 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
668 | </tr> |
---|
669 | |
---|
670 | </table> |
---|
671 | </td> |
---|
672 | </tr> |
---|
673 | </table> |
---|
674 | <table cellspacing=5 cellpadding=0 border=0> |
---|
675 | <tr> |
---|
676 | <td> |
---|
677 | |
---|
678 | </td> |
---|
679 | <td> |
---|
680 | |
---|
681 | <p> |
---|
682 | Adds a linear force to this object, in world space, at the position indicated. |
---|
683 | <p> |
---|
684 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
685 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
686 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
687 | <tr><td valign=top><em>dir_x,dir_y,dir_z</em> </td><td>The force direction in world coordinates. </td></tr> |
---|
688 | <tr><td valign=top><em>pos_x,pos_y,pos_z</em> </td><td>The position at which the force is to be applied, in world coordinates. </td></tr> |
---|
689 | </table> |
---|
690 | </dl> |
---|
691 | </td> |
---|
692 | </tr> |
---|
693 | </table> |
---|
694 | <a class="anchor" name="OgreRefApp_1_1OgreHeada22" doxytag="OgreRefApp::CollideCamera::addForceWorldSpace" ></a><p> |
---|
695 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
696 | <tr> |
---|
697 | <td class="mdRow"> |
---|
698 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
699 | <tr> |
---|
700 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addForceWorldSpace </td> |
---|
701 | <td class="md" valign="top">( </td> |
---|
702 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
703 | <td class="mdname" nowrap> <em>direction</em>, </td> |
---|
704 | </tr> |
---|
705 | <tr> |
---|
706 | <td class="md" nowrap align="right"></td> |
---|
707 | <td></td> |
---|
708 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
709 | <td class="mdname" nowrap> <em>atPosition</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a></td> |
---|
710 | </tr> |
---|
711 | <tr> |
---|
712 | <td></td> |
---|
713 | <td class="md">) </td> |
---|
714 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
715 | </tr> |
---|
716 | |
---|
717 | </table> |
---|
718 | </td> |
---|
719 | </tr> |
---|
720 | </table> |
---|
721 | <table cellspacing=5 cellpadding=0 border=0> |
---|
722 | <tr> |
---|
723 | <td> |
---|
724 | |
---|
725 | </td> |
---|
726 | <td> |
---|
727 | |
---|
728 | <p> |
---|
729 | Adds a linear force to this object, in world space, at the position indicated. |
---|
730 | <p> |
---|
731 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
732 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
733 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
734 | <tr><td valign=top><em>direction</em> </td><td>The force direction in world coordinates. </td></tr> |
---|
735 | <tr><td valign=top><em>atPosition</em> </td><td>The position at which the force is to be applied, in world coordinates. </td></tr> |
---|
736 | </table> |
---|
737 | </dl> |
---|
738 | </td> |
---|
739 | </tr> |
---|
740 | </table> |
---|
741 | <a class="anchor" name="OgreRefApp_1_1OgreHeada25" doxytag="OgreRefApp::CollideCamera::addTorque" ></a><p> |
---|
742 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
743 | <tr> |
---|
744 | <td class="mdRow"> |
---|
745 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
746 | <tr> |
---|
747 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addTorque </td> |
---|
748 | <td class="md" valign="top">( </td> |
---|
749 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
750 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
751 | </tr> |
---|
752 | <tr> |
---|
753 | <td class="md" nowrap align="right"></td> |
---|
754 | <td></td> |
---|
755 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
756 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
757 | </tr> |
---|
758 | <tr> |
---|
759 | <td class="md" nowrap align="right"></td> |
---|
760 | <td></td> |
---|
761 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
762 | <td class="mdname" nowrap> <em>z</em></td> |
---|
763 | </tr> |
---|
764 | <tr> |
---|
765 | <td></td> |
---|
766 | <td class="md">) </td> |
---|
767 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
768 | </tr> |
---|
769 | |
---|
770 | </table> |
---|
771 | </td> |
---|
772 | </tr> |
---|
773 | </table> |
---|
774 | <table cellspacing=5 cellpadding=0 border=0> |
---|
775 | <tr> |
---|
776 | <td> |
---|
777 | |
---|
778 | </td> |
---|
779 | <td> |
---|
780 | |
---|
781 | <p> |
---|
782 | Adds rotational force to this object, in object space. |
---|
783 | <p> |
---|
784 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
785 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
786 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
787 | <tr><td valign=top><em>x,y,z</em> </td><td>The direction of the torque to apply, in object space. </td></tr> |
---|
788 | </table> |
---|
789 | </dl> |
---|
790 | </td> |
---|
791 | </tr> |
---|
792 | </table> |
---|
793 | <a class="anchor" name="OgreRefApp_1_1OgreHeada24" doxytag="OgreRefApp::CollideCamera::addTorque" ></a><p> |
---|
794 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
795 | <tr> |
---|
796 | <td class="mdRow"> |
---|
797 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
798 | <tr> |
---|
799 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addTorque </td> |
---|
800 | <td class="md" valign="top">( </td> |
---|
801 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
802 | <td class="mdname1" valign="top" nowrap> <em>direction</em> </td> |
---|
803 | <td class="md" valign="top"> ) </td> |
---|
804 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
805 | </tr> |
---|
806 | |
---|
807 | </table> |
---|
808 | </td> |
---|
809 | </tr> |
---|
810 | </table> |
---|
811 | <table cellspacing=5 cellpadding=0 border=0> |
---|
812 | <tr> |
---|
813 | <td> |
---|
814 | |
---|
815 | </td> |
---|
816 | <td> |
---|
817 | |
---|
818 | <p> |
---|
819 | Adds rotational force to this object, in object space. |
---|
820 | <p> |
---|
821 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
822 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
823 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
824 | <tr><td valign=top><em>direction</em> </td><td>The direction of the torque to apply, in object space. </td></tr> |
---|
825 | </table> |
---|
826 | </dl> |
---|
827 | </td> |
---|
828 | </tr> |
---|
829 | </table> |
---|
830 | <a class="anchor" name="OgreRefApp_1_1OgreHeada27" doxytag="OgreRefApp::CollideCamera::addTorqueWorldSpace" ></a><p> |
---|
831 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
832 | <tr> |
---|
833 | <td class="mdRow"> |
---|
834 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
835 | <tr> |
---|
836 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addTorqueWorldSpace </td> |
---|
837 | <td class="md" valign="top">( </td> |
---|
838 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
839 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
840 | </tr> |
---|
841 | <tr> |
---|
842 | <td class="md" nowrap align="right"></td> |
---|
843 | <td></td> |
---|
844 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
845 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
846 | </tr> |
---|
847 | <tr> |
---|
848 | <td class="md" nowrap align="right"></td> |
---|
849 | <td></td> |
---|
850 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
851 | <td class="mdname" nowrap> <em>z</em></td> |
---|
852 | </tr> |
---|
853 | <tr> |
---|
854 | <td></td> |
---|
855 | <td class="md">) </td> |
---|
856 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
857 | </tr> |
---|
858 | |
---|
859 | </table> |
---|
860 | </td> |
---|
861 | </tr> |
---|
862 | </table> |
---|
863 | <table cellspacing=5 cellpadding=0 border=0> |
---|
864 | <tr> |
---|
865 | <td> |
---|
866 | |
---|
867 | </td> |
---|
868 | <td> |
---|
869 | |
---|
870 | <p> |
---|
871 | Adds rotational force to this object, in world space. |
---|
872 | <p> |
---|
873 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
874 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
875 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
876 | <tr><td valign=top><em>x,y,z</em> </td><td>The direction of the torque to apply, in world space. </td></tr> |
---|
877 | </table> |
---|
878 | </dl> |
---|
879 | </td> |
---|
880 | </tr> |
---|
881 | </table> |
---|
882 | <a class="anchor" name="OgreRefApp_1_1OgreHeada26" doxytag="OgreRefApp::CollideCamera::addTorqueWorldSpace" ></a><p> |
---|
883 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
884 | <tr> |
---|
885 | <td class="mdRow"> |
---|
886 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
887 | <tr> |
---|
888 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::addTorqueWorldSpace </td> |
---|
889 | <td class="md" valign="top">( </td> |
---|
890 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
891 | <td class="mdname1" valign="top" nowrap> <em>direction</em> </td> |
---|
892 | <td class="md" valign="top"> ) </td> |
---|
893 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
894 | </tr> |
---|
895 | |
---|
896 | </table> |
---|
897 | </td> |
---|
898 | </tr> |
---|
899 | </table> |
---|
900 | <table cellspacing=5 cellpadding=0 border=0> |
---|
901 | <tr> |
---|
902 | <td> |
---|
903 | |
---|
904 | </td> |
---|
905 | <td> |
---|
906 | |
---|
907 | <p> |
---|
908 | Adds rotational force to this object, in world space. |
---|
909 | <p> |
---|
910 | <dl compact><dt><b>Remarks:</b></dt><dd>All forces are applied, then reset after World::applyDynamics is called. </dd></dl> |
---|
911 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
912 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
913 | <tr><td valign=top><em>direction</em> </td><td>The direction of the torque to apply, in world space. </td></tr> |
---|
914 | </table> |
---|
915 | </dl> |
---|
916 | </td> |
---|
917 | </tr> |
---|
918 | </table> |
---|
919 | <a class="anchor" name="OgreRefApp_1_1OgreHeada43" doxytag="OgreRefApp::CollideCamera::getAngularVelocity" ></a><p> |
---|
920 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
921 | <tr> |
---|
922 | <td class="mdRow"> |
---|
923 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
924 | <tr> |
---|
925 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>& OgreRefApp::ApplicationObject::getAngularVelocity </td> |
---|
926 | <td class="md" valign="top">( </td> |
---|
927 | <td class="md" nowrap valign="top">void </td> |
---|
928 | <td class="mdname1" valign="top" nowrap> </td> |
---|
929 | <td class="md" valign="top"> ) </td> |
---|
930 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
931 | </tr> |
---|
932 | |
---|
933 | </table> |
---|
934 | </td> |
---|
935 | </tr> |
---|
936 | </table> |
---|
937 | <table cellspacing=5 cellpadding=0 border=0> |
---|
938 | <tr> |
---|
939 | <td> |
---|
940 | |
---|
941 | </td> |
---|
942 | <td> |
---|
943 | |
---|
944 | <p> |
---|
945 | Gets the current angular velocity of this object. |
---|
946 | <p> |
---|
947 | <dl compact><dt><b>Remarks:</b></dt><dd>Only applicable if dynamics are enabled for this object. </dd></dl> |
---|
948 | <dl compact><dt><b>Returns:</b></dt><dd>Vector3 representing the angular velocity in units per second around each axis. </dd></dl> |
---|
949 | </td> |
---|
950 | </tr> |
---|
951 | </table> |
---|
952 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa33" doxytag="OgreRefApp::CollideCamera::getAspectRatio" ></a><p> |
---|
953 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
954 | <tr> |
---|
955 | <td class="mdRow"> |
---|
956 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
957 | <tr> |
---|
958 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> OgreRefApp::CollideCamera::getAspectRatio </td> |
---|
959 | <td class="md" valign="top">( </td> |
---|
960 | <td class="md" nowrap valign="top">void </td> |
---|
961 | <td class="mdname1" valign="top" nowrap> </td> |
---|
962 | <td class="md" valign="top"> ) </td> |
---|
963 | <td class="md" nowrap> const</td> |
---|
964 | </tr> |
---|
965 | |
---|
966 | </table> |
---|
967 | </td> |
---|
968 | </tr> |
---|
969 | </table> |
---|
970 | <table cellspacing=5 cellpadding=0 border=0> |
---|
971 | <tr> |
---|
972 | <td> |
---|
973 | |
---|
974 | </td> |
---|
975 | <td> |
---|
976 | |
---|
977 | <p> |
---|
978 | Retreives the current aspect ratio. |
---|
979 | <p> |
---|
980 | </td> |
---|
981 | </tr> |
---|
982 | </table> |
---|
983 | <a class="anchor" name="OgreRefApp_1_1OgreHeada14" doxytag="OgreRefApp::CollideCamera::getBounceRestitutionValue" ></a><p> |
---|
984 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
985 | <tr> |
---|
986 | <td class="mdRow"> |
---|
987 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
988 | <tr> |
---|
989 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> OgreRefApp::ApplicationObject::getBounceRestitutionValue </td> |
---|
990 | <td class="md" valign="top">( </td> |
---|
991 | <td class="md" nowrap valign="top">void </td> |
---|
992 | <td class="mdname1" valign="top" nowrap> </td> |
---|
993 | <td class="md" valign="top"> ) </td> |
---|
994 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
995 | </tr> |
---|
996 | |
---|
997 | </table> |
---|
998 | </td> |
---|
999 | </tr> |
---|
1000 | </table> |
---|
1001 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1002 | <tr> |
---|
1003 | <td> |
---|
1004 | |
---|
1005 | </td> |
---|
1006 | <td> |
---|
1007 | |
---|
1008 | <p> |
---|
1009 | Gets the cefficient of restitution (bounciness) for this object. |
---|
1010 | <p> |
---|
1011 | </td> |
---|
1012 | </tr> |
---|
1013 | </table> |
---|
1014 | <a class="anchor" name="OgreRefApp_1_1OgreHeada15" doxytag="OgreRefApp::CollideCamera::getBounceVelocityThreshold" ></a><p> |
---|
1015 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1016 | <tr> |
---|
1017 | <td class="mdRow"> |
---|
1018 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1019 | <tr> |
---|
1020 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> OgreRefApp::ApplicationObject::getBounceVelocityThreshold </td> |
---|
1021 | <td class="md" valign="top">( </td> |
---|
1022 | <td class="md" nowrap valign="top">void </td> |
---|
1023 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1024 | <td class="md" valign="top"> ) </td> |
---|
1025 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
1026 | </tr> |
---|
1027 | |
---|
1028 | </table> |
---|
1029 | </td> |
---|
1030 | </tr> |
---|
1031 | </table> |
---|
1032 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1033 | <tr> |
---|
1034 | <td> |
---|
1035 | |
---|
1036 | </td> |
---|
1037 | <td> |
---|
1038 | |
---|
1039 | <p> |
---|
1040 | Gets the bounce velocity threshold for this object. |
---|
1041 | <p> |
---|
1042 | </td> |
---|
1043 | </tr> |
---|
1044 | </table> |
---|
1045 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa18" doxytag="OgreRefApp::CollideCamera::getDetailLevel" ></a><p> |
---|
1046 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1047 | <tr> |
---|
1048 | <td class="mdRow"> |
---|
1049 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1050 | <tr> |
---|
1051 | <td class="md" nowrap valign="top"> SceneDetailLevel OgreRefApp::CollideCamera::getDetailLevel </td> |
---|
1052 | <td class="md" valign="top">( </td> |
---|
1053 | <td class="md" nowrap valign="top">void </td> |
---|
1054 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1055 | <td class="md" valign="top"> ) </td> |
---|
1056 | <td class="md" nowrap> const</td> |
---|
1057 | </tr> |
---|
1058 | |
---|
1059 | </table> |
---|
1060 | </td> |
---|
1061 | </tr> |
---|
1062 | </table> |
---|
1063 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1064 | <tr> |
---|
1065 | <td> |
---|
1066 | |
---|
1067 | </td> |
---|
1068 | <td> |
---|
1069 | |
---|
1070 | <p> |
---|
1071 | Retrieves the level of detail that the camera will render. |
---|
1072 | <p> |
---|
1073 | </td> |
---|
1074 | </tr> |
---|
1075 | </table> |
---|
1076 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa21" doxytag="OgreRefApp::CollideCamera::getDirection" ></a><p> |
---|
1077 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1078 | <tr> |
---|
1079 | <td class="mdRow"> |
---|
1080 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1081 | <tr> |
---|
1082 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> OgreRefApp::CollideCamera::getDirection </td> |
---|
1083 | <td class="md" valign="top">( </td> |
---|
1084 | <td class="md" nowrap valign="top">void </td> |
---|
1085 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1086 | <td class="md" valign="top"> ) </td> |
---|
1087 | <td class="md" nowrap> const</td> |
---|
1088 | </tr> |
---|
1089 | |
---|
1090 | </table> |
---|
1091 | </td> |
---|
1092 | </tr> |
---|
1093 | </table> |
---|
1094 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1095 | <tr> |
---|
1096 | <td> |
---|
1097 | |
---|
1098 | </td> |
---|
1099 | <td> |
---|
1100 | |
---|
1101 | <p> |
---|
1102 | </td> |
---|
1103 | </tr> |
---|
1104 | </table> |
---|
1105 | <a class="anchor" name="OgreRefApp_1_1OgreHeada33" doxytag="OgreRefApp::CollideCamera::getEntity" ></a><p> |
---|
1106 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1107 | <tr> |
---|
1108 | <td class="mdRow"> |
---|
1109 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1110 | <tr> |
---|
1111 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Entity.html">Entity</a>* OgreRefApp::ApplicationObject::getEntity </td> |
---|
1112 | <td class="md" valign="top">( </td> |
---|
1113 | <td class="md" nowrap valign="top">void </td> |
---|
1114 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1115 | <td class="md" valign="top"> ) </td> |
---|
1116 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
1117 | </tr> |
---|
1118 | |
---|
1119 | </table> |
---|
1120 | </td> |
---|
1121 | </tr> |
---|
1122 | </table> |
---|
1123 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1124 | <tr> |
---|
1125 | <td> |
---|
1126 | |
---|
1127 | </td> |
---|
1128 | <td> |
---|
1129 | |
---|
1130 | <p> |
---|
1131 | Gets the Entity which is being used to represent this object in the OGRE world. |
---|
1132 | <p> |
---|
1133 | </td> |
---|
1134 | </tr> |
---|
1135 | </table> |
---|
1136 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa31" doxytag="OgreRefApp::CollideCamera::getFarClipDistance" ></a><p> |
---|
1137 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1138 | <tr> |
---|
1139 | <td class="mdRow"> |
---|
1140 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1141 | <tr> |
---|
1142 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> OgreRefApp::CollideCamera::getFarClipDistance </td> |
---|
1143 | <td class="md" valign="top">( </td> |
---|
1144 | <td class="md" nowrap valign="top">void </td> |
---|
1145 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1146 | <td class="md" valign="top"> ) </td> |
---|
1147 | <td class="md" nowrap> const</td> |
---|
1148 | </tr> |
---|
1149 | |
---|
1150 | </table> |
---|
1151 | </td> |
---|
1152 | </tr> |
---|
1153 | </table> |
---|
1154 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1155 | <tr> |
---|
1156 | <td> |
---|
1157 | |
---|
1158 | </td> |
---|
1159 | <td> |
---|
1160 | |
---|
1161 | <p> |
---|
1162 | Retrieves the distance from the camera to the far clipping plane. |
---|
1163 | <p> |
---|
1164 | </td> |
---|
1165 | </tr> |
---|
1166 | </table> |
---|
1167 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa27" doxytag="OgreRefApp::CollideCamera::getFOVy" ></a><p> |
---|
1168 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1169 | <tr> |
---|
1170 | <td class="mdRow"> |
---|
1171 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1172 | <tr> |
---|
1173 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Radian.html">Radian</a>& OgreRefApp::CollideCamera::getFOVy </td> |
---|
1174 | <td class="md" valign="top">( </td> |
---|
1175 | <td class="md" nowrap valign="top">void </td> |
---|
1176 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1177 | <td class="md" valign="top"> ) </td> |
---|
1178 | <td class="md" nowrap> const</td> |
---|
1179 | </tr> |
---|
1180 | |
---|
1181 | </table> |
---|
1182 | </td> |
---|
1183 | </tr> |
---|
1184 | </table> |
---|
1185 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1186 | <tr> |
---|
1187 | <td> |
---|
1188 | |
---|
1189 | </td> |
---|
1190 | <td> |
---|
1191 | |
---|
1192 | <p> |
---|
1193 | Retrieves the cameras Y-dimension Field Of View (FOV). |
---|
1194 | <p> |
---|
1195 | </td> |
---|
1196 | </tr> |
---|
1197 | </table> |
---|
1198 | <a class="anchor" name="OgreRefApp_1_1OgreHeada19" doxytag="OgreRefApp::CollideCamera::getFriction" ></a><p> |
---|
1199 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1200 | <tr> |
---|
1201 | <td class="mdRow"> |
---|
1202 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1203 | <tr> |
---|
1204 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> OgreRefApp::ApplicationObject::getFriction </td> |
---|
1205 | <td class="md" valign="top">( </td> |
---|
1206 | <td class="md" nowrap valign="top">void </td> |
---|
1207 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1208 | <td class="md" valign="top"> ) </td> |
---|
1209 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
1210 | </tr> |
---|
1211 | |
---|
1212 | </table> |
---|
1213 | </td> |
---|
1214 | </tr> |
---|
1215 | </table> |
---|
1216 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1217 | <tr> |
---|
1218 | <td> |
---|
1219 | |
---|
1220 | </td> |
---|
1221 | <td> |
---|
1222 | |
---|
1223 | <p> |
---|
1224 | Gets the Coulomb frictional coefficient for this object. |
---|
1225 | <p> |
---|
1226 | </td> |
---|
1227 | </tr> |
---|
1228 | </table> |
---|
1229 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa34" doxytag="OgreRefApp::CollideCamera::getFrustumPlane" ></a><p> |
---|
1230 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1231 | <tr> |
---|
1232 | <td class="mdRow"> |
---|
1233 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1234 | <tr> |
---|
1235 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Plane.html">Plane</a>& OgreRefApp::CollideCamera::getFrustumPlane </td> |
---|
1236 | <td class="md" valign="top">( </td> |
---|
1237 | <td class="md" nowrap valign="top">FrustumPlane </td> |
---|
1238 | <td class="mdname1" valign="top" nowrap> <em>plane</em> </td> |
---|
1239 | <td class="md" valign="top"> ) </td> |
---|
1240 | <td class="md" nowrap></td> |
---|
1241 | </tr> |
---|
1242 | |
---|
1243 | </table> |
---|
1244 | </td> |
---|
1245 | </tr> |
---|
1246 | </table> |
---|
1247 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1248 | <tr> |
---|
1249 | <td> |
---|
1250 | |
---|
1251 | </td> |
---|
1252 | <td> |
---|
1253 | |
---|
1254 | <p> |
---|
1255 | Retrieves a specified plane of the frustum. |
---|
1256 | <p> |
---|
1257 | <dl compact><dt><b>Remarks:</b></dt><dd>Gets a reference to one of the planes which make up the camera frustum, e.g. for clipping purposes. </dd></dl> |
---|
1258 | </td> |
---|
1259 | </tr> |
---|
1260 | </table> |
---|
1261 | <a class="anchor" name="OgreRefApp_1_1OgreHeada42" doxytag="OgreRefApp::CollideCamera::getLinearVelocity" ></a><p> |
---|
1262 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1263 | <tr> |
---|
1264 | <td class="mdRow"> |
---|
1265 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1266 | <tr> |
---|
1267 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>& OgreRefApp::ApplicationObject::getLinearVelocity </td> |
---|
1268 | <td class="md" valign="top">( </td> |
---|
1269 | <td class="md" nowrap valign="top">void </td> |
---|
1270 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1271 | <td class="md" valign="top"> ) </td> |
---|
1272 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
1273 | </tr> |
---|
1274 | |
---|
1275 | </table> |
---|
1276 | </td> |
---|
1277 | </tr> |
---|
1278 | </table> |
---|
1279 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1280 | <tr> |
---|
1281 | <td> |
---|
1282 | |
---|
1283 | </td> |
---|
1284 | <td> |
---|
1285 | |
---|
1286 | <p> |
---|
1287 | Gets the current linear velocity of this object. |
---|
1288 | <p> |
---|
1289 | <dl compact><dt><b>Remarks:</b></dt><dd>Only applicable if dynamics are enabled for this object. </dd></dl> |
---|
1290 | <dl compact><dt><b>Returns:</b></dt><dd>Vector3 representing the velocity in units per second. </dd></dl> |
---|
1291 | </td> |
---|
1292 | </tr> |
---|
1293 | </table> |
---|
1294 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa29" doxytag="OgreRefApp::CollideCamera::getNearClipDistance" ></a><p> |
---|
1295 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1296 | <tr> |
---|
1297 | <td class="mdRow"> |
---|
1298 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1299 | <tr> |
---|
1300 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> OgreRefApp::CollideCamera::getNearClipDistance </td> |
---|
1301 | <td class="md" valign="top">( </td> |
---|
1302 | <td class="md" nowrap valign="top">void </td> |
---|
1303 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1304 | <td class="md" valign="top"> ) </td> |
---|
1305 | <td class="md" nowrap> const</td> |
---|
1306 | </tr> |
---|
1307 | |
---|
1308 | </table> |
---|
1309 | </td> |
---|
1310 | </tr> |
---|
1311 | </table> |
---|
1312 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1313 | <tr> |
---|
1314 | <td> |
---|
1315 | |
---|
1316 | </td> |
---|
1317 | <td> |
---|
1318 | |
---|
1319 | <p> |
---|
1320 | Sets the position of the near clipping plane. |
---|
1321 | <p> |
---|
1322 | </td> |
---|
1323 | </tr> |
---|
1324 | </table> |
---|
1325 | <a class="anchor" name="OgreRefApp_1_1OgreHeada34" doxytag="OgreRefApp::CollideCamera::getOdeBody" ></a><p> |
---|
1326 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1327 | <tr> |
---|
1328 | <td class="mdRow"> |
---|
1329 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1330 | <tr> |
---|
1331 | <td class="md" nowrap valign="top"> dBody* OgreRefApp::ApplicationObject::getOdeBody </td> |
---|
1332 | <td class="md" valign="top">( </td> |
---|
1333 | <td class="md" nowrap valign="top">void </td> |
---|
1334 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1335 | <td class="md" valign="top"> ) </td> |
---|
1336 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
1337 | </tr> |
---|
1338 | |
---|
1339 | </table> |
---|
1340 | </td> |
---|
1341 | </tr> |
---|
1342 | </table> |
---|
1343 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1344 | <tr> |
---|
1345 | <td> |
---|
1346 | |
---|
1347 | </td> |
---|
1348 | <td> |
---|
1349 | |
---|
1350 | <p> |
---|
1351 | Gets the ODE body used to represent this object's mass and current velocity. |
---|
1352 | <p> |
---|
1353 | </td> |
---|
1354 | </tr> |
---|
1355 | </table> |
---|
1356 | <a class="anchor" name="OgreRefApp_1_1OgreHeada39" doxytag="OgreRefApp::CollideCamera::getOdeMass" ></a><p> |
---|
1357 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1358 | <tr> |
---|
1359 | <td class="mdRow"> |
---|
1360 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1361 | <tr> |
---|
1362 | <td class="md" nowrap valign="top"> const dMass* OgreRefApp::ApplicationObject::getOdeMass </td> |
---|
1363 | <td class="md" valign="top">( </td> |
---|
1364 | <td class="md" nowrap valign="top">void </td> |
---|
1365 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1366 | <td class="md" valign="top"> ) </td> |
---|
1367 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
1368 | </tr> |
---|
1369 | |
---|
1370 | </table> |
---|
1371 | </td> |
---|
1372 | </tr> |
---|
1373 | </table> |
---|
1374 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1375 | <tr> |
---|
1376 | <td> |
---|
1377 | |
---|
1378 | </td> |
---|
1379 | <td> |
---|
1380 | |
---|
1381 | <p> |
---|
1382 | Gets the ODE mass parameters for this object. |
---|
1383 | <p> |
---|
1384 | </td> |
---|
1385 | </tr> |
---|
1386 | </table> |
---|
1387 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa4" doxytag="OgreRefApp::CollideCamera::getOrientation" ></a><p> |
---|
1388 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1389 | <tr> |
---|
1390 | <td class="mdRow"> |
---|
1391 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1392 | <tr> |
---|
1393 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a>& OgreRefApp::CollideCamera::getOrientation </td> |
---|
1394 | <td class="md" valign="top">( </td> |
---|
1395 | <td class="md" nowrap valign="top">void </td> |
---|
1396 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1397 | <td class="md" valign="top"> ) </td> |
---|
1398 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
1399 | </tr> |
---|
1400 | |
---|
1401 | </table> |
---|
1402 | </td> |
---|
1403 | </tr> |
---|
1404 | </table> |
---|
1405 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1406 | <tr> |
---|
1407 | <td> |
---|
1408 | |
---|
1409 | </td> |
---|
1410 | <td> |
---|
1411 | |
---|
1412 | <p> |
---|
1413 | Gets the current orientation of this object. |
---|
1414 | <p> |
---|
1415 | |
---|
1416 | <p> |
---|
1417 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada6">OgreRefApp::ApplicationObject</a>. </td> |
---|
1418 | </tr> |
---|
1419 | </table> |
---|
1420 | <a class="anchor" name="OgreRefApp_1_1OgreHeada5" doxytag="OgreRefApp::CollideCamera::getPosition" ></a><p> |
---|
1421 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1422 | <tr> |
---|
1423 | <td class="mdRow"> |
---|
1424 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1425 | <tr> |
---|
1426 | <td class="md" nowrap valign="top"> virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>& OgreRefApp::ApplicationObject::getPosition </td> |
---|
1427 | <td class="md" valign="top">( </td> |
---|
1428 | <td class="md" nowrap valign="top">void </td> |
---|
1429 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1430 | <td class="md" valign="top"> ) </td> |
---|
1431 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
1432 | </tr> |
---|
1433 | |
---|
1434 | </table> |
---|
1435 | </td> |
---|
1436 | </tr> |
---|
1437 | </table> |
---|
1438 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1439 | <tr> |
---|
1440 | <td> |
---|
1441 | |
---|
1442 | </td> |
---|
1443 | <td> |
---|
1444 | |
---|
1445 | <p> |
---|
1446 | Gets the current position of this object. |
---|
1447 | <p> |
---|
1448 | </td> |
---|
1449 | </tr> |
---|
1450 | </table> |
---|
1451 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa16" doxytag="OgreRefApp::CollideCamera::getProjectionType" ></a><p> |
---|
1452 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1453 | <tr> |
---|
1454 | <td class="mdRow"> |
---|
1455 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1456 | <tr> |
---|
1457 | <td class="md" nowrap valign="top"> ProjectionType OgreRefApp::CollideCamera::getProjectionType </td> |
---|
1458 | <td class="md" valign="top">( </td> |
---|
1459 | <td class="md" nowrap valign="top">void </td> |
---|
1460 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1461 | <td class="md" valign="top"> ) </td> |
---|
1462 | <td class="md" nowrap> const</td> |
---|
1463 | </tr> |
---|
1464 | |
---|
1465 | </table> |
---|
1466 | </td> |
---|
1467 | </tr> |
---|
1468 | </table> |
---|
1469 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1470 | <tr> |
---|
1471 | <td> |
---|
1472 | |
---|
1473 | </td> |
---|
1474 | <td> |
---|
1475 | |
---|
1476 | <p> |
---|
1477 | Retrieves info on the type of projection used (orthographic or perspective). |
---|
1478 | <p> |
---|
1479 | </td> |
---|
1480 | </tr> |
---|
1481 | </table> |
---|
1482 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa1" doxytag="OgreRefApp::CollideCamera::getRealCamera" ></a><p> |
---|
1483 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1484 | <tr> |
---|
1485 | <td class="mdRow"> |
---|
1486 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1487 | <tr> |
---|
1488 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Camera.html">Camera</a>* OgreRefApp::CollideCamera::getRealCamera </td> |
---|
1489 | <td class="md" valign="top">( </td> |
---|
1490 | <td class="md" nowrap valign="top">void </td> |
---|
1491 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1492 | <td class="md" valign="top"> ) </td> |
---|
1493 | <td class="md" nowrap></td> |
---|
1494 | </tr> |
---|
1495 | |
---|
1496 | </table> |
---|
1497 | </td> |
---|
1498 | </tr> |
---|
1499 | </table> |
---|
1500 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1501 | <tr> |
---|
1502 | <td> |
---|
1503 | |
---|
1504 | </td> |
---|
1505 | <td> |
---|
1506 | |
---|
1507 | <p> |
---|
1508 | Gets the internal Camera object. |
---|
1509 | <p> |
---|
1510 | |
---|
1511 | <p> |
---|
1512 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00052">52</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>. </td> |
---|
1513 | </tr> |
---|
1514 | </table> |
---|
1515 | <a class="anchor" name="OgreRefApp_1_1OgreHeada32" doxytag="OgreRefApp::CollideCamera::getSceneNode" ></a><p> |
---|
1516 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1517 | <tr> |
---|
1518 | <td class="mdRow"> |
---|
1519 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1520 | <tr> |
---|
1521 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a>* OgreRefApp::ApplicationObject::getSceneNode </td> |
---|
1522 | <td class="md" valign="top">( </td> |
---|
1523 | <td class="md" nowrap valign="top">void </td> |
---|
1524 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1525 | <td class="md" valign="top"> ) </td> |
---|
1526 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
1527 | </tr> |
---|
1528 | |
---|
1529 | </table> |
---|
1530 | </td> |
---|
1531 | </tr> |
---|
1532 | </table> |
---|
1533 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1534 | <tr> |
---|
1535 | <td> |
---|
1536 | |
---|
1537 | </td> |
---|
1538 | <td> |
---|
1539 | |
---|
1540 | <p> |
---|
1541 | Gets the SceneNode which is being used to represent this object's position in the OGRE world. |
---|
1542 | <p> |
---|
1543 | </td> |
---|
1544 | </tr> |
---|
1545 | </table> |
---|
1546 | <a class="anchor" name="OgreRefApp_1_1OgreHeada17" doxytag="OgreRefApp::CollideCamera::getSoftness" ></a><p> |
---|
1547 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1548 | <tr> |
---|
1549 | <td class="mdRow"> |
---|
1550 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1551 | <tr> |
---|
1552 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> OgreRefApp::ApplicationObject::getSoftness </td> |
---|
1553 | <td class="md" valign="top">( </td> |
---|
1554 | <td class="md" nowrap valign="top">void </td> |
---|
1555 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1556 | <td class="md" valign="top"> ) </td> |
---|
1557 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
1558 | </tr> |
---|
1559 | |
---|
1560 | </table> |
---|
1561 | </td> |
---|
1562 | </tr> |
---|
1563 | </table> |
---|
1564 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1565 | <tr> |
---|
1566 | <td> |
---|
1567 | |
---|
1568 | </td> |
---|
1569 | <td> |
---|
1570 | |
---|
1571 | <p> |
---|
1572 | Gets the softness factor of this object. |
---|
1573 | <p> |
---|
1574 | </td> |
---|
1575 | </tr> |
---|
1576 | </table> |
---|
1577 | <a class="anchor" name="Ogre_1_1UserDefinedObjecta2" doxytag="OgreRefApp::CollideCamera::getTypeID" ></a><p> |
---|
1578 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1579 | <tr> |
---|
1580 | <td class="mdRow"> |
---|
1581 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1582 | <tr> |
---|
1583 | <td class="md" nowrap valign="top"> virtual long Ogre::UserDefinedObject::getTypeID </td> |
---|
1584 | <td class="md" valign="top">( </td> |
---|
1585 | <td class="md" nowrap valign="top">void </td> |
---|
1586 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1587 | <td class="md" valign="top"> ) </td> |
---|
1588 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
1589 | </tr> |
---|
1590 | |
---|
1591 | </table> |
---|
1592 | </td> |
---|
1593 | </tr> |
---|
1594 | </table> |
---|
1595 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1596 | <tr> |
---|
1597 | <td> |
---|
1598 | |
---|
1599 | </td> |
---|
1600 | <td> |
---|
1601 | |
---|
1602 | <p> |
---|
1603 | Return a number identifying the type of user defined object. |
---|
1604 | <p> |
---|
1605 | <dl compact><dt><b>Remarks:</b></dt><dd>Can be used to differentiate between different types of object which you attach to OGRE <a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> instances. Recommend you override this in your classes if you use more than one type of object. </dd></dl> |
---|
1606 | <dl compact><dt><b></b></dt><dd>Alternatively, you can override the getTypeName method and use that instead; that version is a litle more friendly and easier to scope, but obviously slightly less efficient. You choose which you prefer. </dd></dl> |
---|
1607 | </td> |
---|
1608 | </tr> |
---|
1609 | </table> |
---|
1610 | <a class="anchor" name="Ogre_1_1UserDefinedObjecta3" doxytag="OgreRefApp::CollideCamera::getTypeName" ></a><p> |
---|
1611 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1612 | <tr> |
---|
1613 | <td class="mdRow"> |
---|
1614 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1615 | <tr> |
---|
1616 | <td class="md" nowrap valign="top"> virtual const <a class="el" href="namespaceOgre.html#a426">String</a>& Ogre::UserDefinedObject::getTypeName </td> |
---|
1617 | <td class="md" valign="top">( </td> |
---|
1618 | <td class="md" nowrap valign="top">void </td> |
---|
1619 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1620 | <td class="md" valign="top"> ) </td> |
---|
1621 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
1622 | </tr> |
---|
1623 | |
---|
1624 | </table> |
---|
1625 | </td> |
---|
1626 | </tr> |
---|
1627 | </table> |
---|
1628 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1629 | <tr> |
---|
1630 | <td> |
---|
1631 | |
---|
1632 | </td> |
---|
1633 | <td> |
---|
1634 | |
---|
1635 | <p> |
---|
1636 | Return a string identifying the type of user defined object. |
---|
1637 | <p> |
---|
1638 | <dl compact><dt><b>Remarks:</b></dt><dd>Can be used to differentiate between different types of object which you attach to OGRE <a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> instances. Recommend you override this in your classes if you use more than one type of object. </dd></dl> |
---|
1639 | <dl compact><dt><b></b></dt><dd>Alternatively, you can override the getTypeID method and use that instead; that version is a litle more efficient, but obviously slightly less easy to read. You choose which you prefer. </dd></dl> |
---|
1640 | </td> |
---|
1641 | </tr> |
---|
1642 | </table> |
---|
1643 | <a class="anchor" name="OgreRefApp_1_1OgreHeada8" doxytag="OgreRefApp::CollideCamera::isCollisionEnabled" ></a><p> |
---|
1644 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1645 | <tr> |
---|
1646 | <td class="mdRow"> |
---|
1647 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1648 | <tr> |
---|
1649 | <td class="md" nowrap valign="top"> virtual bool OgreRefApp::ApplicationObject::isCollisionEnabled </td> |
---|
1650 | <td class="md" valign="top">( </td> |
---|
1651 | <td class="md" nowrap valign="top">void </td> |
---|
1652 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1653 | <td class="md" valign="top"> ) </td> |
---|
1654 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
1655 | </tr> |
---|
1656 | |
---|
1657 | </table> |
---|
1658 | </td> |
---|
1659 | </tr> |
---|
1660 | </table> |
---|
1661 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1662 | <tr> |
---|
1663 | <td> |
---|
1664 | |
---|
1665 | </td> |
---|
1666 | <td> |
---|
1667 | |
---|
1668 | <p> |
---|
1669 | Returns whether or not this object is considered for collision. |
---|
1670 | <p> |
---|
1671 | </td> |
---|
1672 | </tr> |
---|
1673 | </table> |
---|
1674 | <a class="anchor" name="OgreRefApp_1_1OgreHeada9" doxytag="OgreRefApp::CollideCamera::isDynamicsEnabled" ></a><p> |
---|
1675 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1676 | <tr> |
---|
1677 | <td class="mdRow"> |
---|
1678 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1679 | <tr> |
---|
1680 | <td class="md" nowrap valign="top"> virtual bool OgreRefApp::ApplicationObject::isDynamicsEnabled </td> |
---|
1681 | <td class="md" valign="top">( </td> |
---|
1682 | <td class="md" nowrap valign="top">void </td> |
---|
1683 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1684 | <td class="md" valign="top"> ) </td> |
---|
1685 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
1686 | </tr> |
---|
1687 | |
---|
1688 | </table> |
---|
1689 | </td> |
---|
1690 | </tr> |
---|
1691 | </table> |
---|
1692 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1693 | <tr> |
---|
1694 | <td> |
---|
1695 | |
---|
1696 | </td> |
---|
1697 | <td> |
---|
1698 | |
---|
1699 | <p> |
---|
1700 | Returns whether or not this object is physically simulated. |
---|
1701 | <p> |
---|
1702 | <dl compact><dt><b>Remarks:</b></dt><dd>Objects which are not physically simulated only move when their SceneNode is manually altered. </dd></dl> |
---|
1703 | </td> |
---|
1704 | </tr> |
---|
1705 | </table> |
---|
1706 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa37" doxytag="OgreRefApp::CollideCamera::isVisible" ></a><p> |
---|
1707 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1708 | <tr> |
---|
1709 | <td class="mdRow"> |
---|
1710 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1711 | <tr> |
---|
1712 | <td class="md" nowrap valign="top"> bool OgreRefApp::CollideCamera::isVisible </td> |
---|
1713 | <td class="md" valign="top">( </td> |
---|
1714 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
1715 | <td class="mdname" nowrap> <em>vert</em>, </td> |
---|
1716 | </tr> |
---|
1717 | <tr> |
---|
1718 | <td class="md" nowrap align="right"></td> |
---|
1719 | <td></td> |
---|
1720 | <td class="md" nowrap>FrustumPlane * </td> |
---|
1721 | <td class="mdname" nowrap> <em>culledBy</em> = 0</td> |
---|
1722 | </tr> |
---|
1723 | <tr> |
---|
1724 | <td></td> |
---|
1725 | <td class="md">) </td> |
---|
1726 | <td class="md" colspan="2"></td> |
---|
1727 | </tr> |
---|
1728 | |
---|
1729 | </table> |
---|
1730 | </td> |
---|
1731 | </tr> |
---|
1732 | </table> |
---|
1733 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1734 | <tr> |
---|
1735 | <td> |
---|
1736 | |
---|
1737 | </td> |
---|
1738 | <td> |
---|
1739 | |
---|
1740 | <p> |
---|
1741 | Tests whether the given vertex is visible in the Frustum. |
---|
1742 | <p> |
---|
1743 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1744 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1745 | <tr><td valign=top><em>vert</em> </td><td>Vertex to be checked </td></tr> |
---|
1746 | <tr><td valign=top><em>culledBy</em> </td><td>Optional pointer to an int which will be filled by the plane number which culled the box if the result was false; </td></tr> |
---|
1747 | </table> |
---|
1748 | </dl> |
---|
1749 | <dl compact><dt><b>Returns:</b></dt><dd>If the box was visible, true is returned. </dd></dl> |
---|
1750 | <dl compact><dt><b></b></dt><dd>Otherwise, false is returned. </dd></dl> |
---|
1751 | </td> |
---|
1752 | </tr> |
---|
1753 | </table> |
---|
1754 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa36" doxytag="OgreRefApp::CollideCamera::isVisible" ></a><p> |
---|
1755 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1756 | <tr> |
---|
1757 | <td class="mdRow"> |
---|
1758 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1759 | <tr> |
---|
1760 | <td class="md" nowrap valign="top"> bool OgreRefApp::CollideCamera::isVisible </td> |
---|
1761 | <td class="md" valign="top">( </td> |
---|
1762 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> & </td> |
---|
1763 | <td class="mdname" nowrap> <em>bound</em>, </td> |
---|
1764 | </tr> |
---|
1765 | <tr> |
---|
1766 | <td class="md" nowrap align="right"></td> |
---|
1767 | <td></td> |
---|
1768 | <td class="md" nowrap>FrustumPlane * </td> |
---|
1769 | <td class="mdname" nowrap> <em>culledBy</em> = 0</td> |
---|
1770 | </tr> |
---|
1771 | <tr> |
---|
1772 | <td></td> |
---|
1773 | <td class="md">) </td> |
---|
1774 | <td class="md" colspan="2"></td> |
---|
1775 | </tr> |
---|
1776 | |
---|
1777 | </table> |
---|
1778 | </td> |
---|
1779 | </tr> |
---|
1780 | </table> |
---|
1781 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1782 | <tr> |
---|
1783 | <td> |
---|
1784 | |
---|
1785 | </td> |
---|
1786 | <td> |
---|
1787 | |
---|
1788 | <p> |
---|
1789 | Tests whether the given container is visible in the Frustum. |
---|
1790 | <p> |
---|
1791 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1792 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1793 | <tr><td valign=top><em>bound</em> </td><td>Bounding sphere to be checked </td></tr> |
---|
1794 | <tr><td valign=top><em>culledBy</em> </td><td>Optional pointer to an int which will be filled by the plane number which culled the box if the result was false; </td></tr> |
---|
1795 | </table> |
---|
1796 | </dl> |
---|
1797 | <dl compact><dt><b>Returns:</b></dt><dd>If the sphere was visible, true is returned. </dd></dl> |
---|
1798 | <dl compact><dt><b></b></dt><dd>Otherwise, false is returned. </dd></dl> |
---|
1799 | </td> |
---|
1800 | </tr> |
---|
1801 | </table> |
---|
1802 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa35" doxytag="OgreRefApp::CollideCamera::isVisible" ></a><p> |
---|
1803 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1804 | <tr> |
---|
1805 | <td class="mdRow"> |
---|
1806 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1807 | <tr> |
---|
1808 | <td class="md" nowrap valign="top"> bool OgreRefApp::CollideCamera::isVisible </td> |
---|
1809 | <td class="md" valign="top">( </td> |
---|
1810 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> & </td> |
---|
1811 | <td class="mdname" nowrap> <em>bound</em>, </td> |
---|
1812 | </tr> |
---|
1813 | <tr> |
---|
1814 | <td class="md" nowrap align="right"></td> |
---|
1815 | <td></td> |
---|
1816 | <td class="md" nowrap>FrustumPlane * </td> |
---|
1817 | <td class="mdname" nowrap> <em>culledBy</em> = 0</td> |
---|
1818 | </tr> |
---|
1819 | <tr> |
---|
1820 | <td></td> |
---|
1821 | <td class="md">) </td> |
---|
1822 | <td class="md" colspan="2"></td> |
---|
1823 | </tr> |
---|
1824 | |
---|
1825 | </table> |
---|
1826 | </td> |
---|
1827 | </tr> |
---|
1828 | </table> |
---|
1829 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1830 | <tr> |
---|
1831 | <td> |
---|
1832 | |
---|
1833 | </td> |
---|
1834 | <td> |
---|
1835 | |
---|
1836 | <p> |
---|
1837 | Tests whether the given container is visible in the Frustum. |
---|
1838 | <p> |
---|
1839 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1840 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1841 | <tr><td valign=top><em>bound</em> </td><td>Bounding box to be checked </td></tr> |
---|
1842 | <tr><td valign=top><em>culledBy</em> </td><td>Optional pointer to an int which will be filled by the plane number which culled the box if the result was false; </td></tr> |
---|
1843 | </table> |
---|
1844 | </dl> |
---|
1845 | <dl compact><dt><b>Returns:</b></dt><dd>If the box was visible, true is returned. </dd></dl> |
---|
1846 | <dl compact><dt><b></b></dt><dd>Otherwise, false is returned. </dd></dl> |
---|
1847 | </td> |
---|
1848 | </tr> |
---|
1849 | </table> |
---|
1850 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa23" doxytag="OgreRefApp::CollideCamera::lookAt" ></a><p> |
---|
1851 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1852 | <tr> |
---|
1853 | <td class="mdRow"> |
---|
1854 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1855 | <tr> |
---|
1856 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::lookAt </td> |
---|
1857 | <td class="md" valign="top">( </td> |
---|
1858 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
1859 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
1860 | </tr> |
---|
1861 | <tr> |
---|
1862 | <td class="md" nowrap align="right"></td> |
---|
1863 | <td></td> |
---|
1864 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
1865 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
1866 | </tr> |
---|
1867 | <tr> |
---|
1868 | <td class="md" nowrap align="right"></td> |
---|
1869 | <td></td> |
---|
1870 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
1871 | <td class="mdname" nowrap> <em>z</em></td> |
---|
1872 | </tr> |
---|
1873 | <tr> |
---|
1874 | <td></td> |
---|
1875 | <td class="md">) </td> |
---|
1876 | <td class="md" colspan="2"></td> |
---|
1877 | </tr> |
---|
1878 | |
---|
1879 | </table> |
---|
1880 | </td> |
---|
1881 | </tr> |
---|
1882 | </table> |
---|
1883 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1884 | <tr> |
---|
1885 | <td> |
---|
1886 | |
---|
1887 | </td> |
---|
1888 | <td> |
---|
1889 | |
---|
1890 | <p> |
---|
1891 | Points the camera at a location in worldspace. |
---|
1892 | <p> |
---|
1893 | <dl compact><dt><b>Remarks:</b></dt><dd>This is a helper method to automatically generate the direction vector for the camera, based on it's current position and the supplied look-at point. </dd></dl> |
---|
1894 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1895 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1896 | <tr><td valign=top><em>x</em> </td><td></td></tr> |
---|
1897 | <tr><td valign=top><em>y</em> </td><td></td></tr> |
---|
1898 | <tr><td valign=top><em>z</em> </td><td>Co-ordinates of the point to look at. </td></tr> |
---|
1899 | </table> |
---|
1900 | </dl> |
---|
1901 | </td> |
---|
1902 | </tr> |
---|
1903 | </table> |
---|
1904 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa22" doxytag="OgreRefApp::CollideCamera::lookAt" ></a><p> |
---|
1905 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1906 | <tr> |
---|
1907 | <td class="mdRow"> |
---|
1908 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1909 | <tr> |
---|
1910 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::lookAt </td> |
---|
1911 | <td class="md" valign="top">( </td> |
---|
1912 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
1913 | <td class="mdname1" valign="top" nowrap> <em>targetPoint</em> </td> |
---|
1914 | <td class="md" valign="top"> ) </td> |
---|
1915 | <td class="md" nowrap></td> |
---|
1916 | </tr> |
---|
1917 | |
---|
1918 | </table> |
---|
1919 | </td> |
---|
1920 | </tr> |
---|
1921 | </table> |
---|
1922 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1923 | <tr> |
---|
1924 | <td> |
---|
1925 | |
---|
1926 | </td> |
---|
1927 | <td> |
---|
1928 | |
---|
1929 | <p> |
---|
1930 | Points the camera at a location in worldspace. |
---|
1931 | <p> |
---|
1932 | <dl compact><dt><b>Remarks:</b></dt><dd>This is a helper method to automatically generate the direction vector for the camera, based on it's current position and the supplied look-at point. </dd></dl> |
---|
1933 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1934 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1935 | <tr><td valign=top><em>targetPoint</em> </td><td>A vector specifying the look at point. </td></tr> |
---|
1936 | </table> |
---|
1937 | </dl> |
---|
1938 | </td> |
---|
1939 | </tr> |
---|
1940 | </table> |
---|
1941 | <a class="anchor" name="OgreRefApp_1_1CollideCamerab1" doxytag="OgreRefApp::CollideCamera::nearDistChanged" ></a><p> |
---|
1942 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1943 | <tr> |
---|
1944 | <td class="mdRow"> |
---|
1945 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1946 | <tr> |
---|
1947 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::nearDistChanged </td> |
---|
1948 | <td class="md" valign="top">( </td> |
---|
1949 | <td class="md" nowrap valign="top">void </td> |
---|
1950 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1951 | <td class="md" valign="top"> ) </td> |
---|
1952 | <td class="md" nowrap><code> [protected]</code></td> |
---|
1953 | </tr> |
---|
1954 | |
---|
1955 | </table> |
---|
1956 | </td> |
---|
1957 | </tr> |
---|
1958 | </table> |
---|
1959 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1960 | <tr> |
---|
1961 | <td> |
---|
1962 | |
---|
1963 | </td> |
---|
1964 | <td> |
---|
1965 | |
---|
1966 | <p> |
---|
1967 | Triggers recacl of collison bounds. |
---|
1968 | <p> |
---|
1969 | </td> |
---|
1970 | </tr> |
---|
1971 | </table> |
---|
1972 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa9" doxytag="OgreRefApp::CollideCamera::pitch" ></a><p> |
---|
1973 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1974 | <tr> |
---|
1975 | <td class="mdRow"> |
---|
1976 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1977 | <tr> |
---|
1978 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::pitch </td> |
---|
1979 | <td class="md" valign="top">( </td> |
---|
1980 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
1981 | <td class="mdname1" valign="top" nowrap> <em>angleunits</em> </td> |
---|
1982 | <td class="md" valign="top"> ) </td> |
---|
1983 | <td class="md" nowrap></td> |
---|
1984 | </tr> |
---|
1985 | |
---|
1986 | </table> |
---|
1987 | </td> |
---|
1988 | </tr> |
---|
1989 | </table> |
---|
1990 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1991 | <tr> |
---|
1992 | <td> |
---|
1993 | |
---|
1994 | </td> |
---|
1995 | <td> |
---|
1996 | |
---|
1997 | <p> |
---|
1998 | |
---|
1999 | <p> |
---|
2000 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada53">OgreRefApp::ApplicationObject</a>. |
---|
2001 | <p> |
---|
2002 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00089">89</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>. |
---|
2003 | <p> |
---|
2004 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>. </td> |
---|
2005 | </tr> |
---|
2006 | </table> |
---|
2007 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa8" doxytag="OgreRefApp::CollideCamera::pitch" ></a><p> |
---|
2008 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2009 | <tr> |
---|
2010 | <td class="mdRow"> |
---|
2011 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2012 | <tr> |
---|
2013 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::pitch </td> |
---|
2014 | <td class="md" valign="top">( </td> |
---|
2015 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td> |
---|
2016 | <td class="mdname1" valign="top" nowrap> <em>angle</em> </td> |
---|
2017 | <td class="md" valign="top"> ) </td> |
---|
2018 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
2019 | </tr> |
---|
2020 | |
---|
2021 | </table> |
---|
2022 | </td> |
---|
2023 | </tr> |
---|
2024 | </table> |
---|
2025 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2026 | <tr> |
---|
2027 | <td> |
---|
2028 | |
---|
2029 | </td> |
---|
2030 | <td> |
---|
2031 | |
---|
2032 | <p> |
---|
2033 | Rotate the object around the local X-axis. |
---|
2034 | <p> |
---|
2035 | |
---|
2036 | <p> |
---|
2037 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada52">OgreRefApp::ApplicationObject</a>. </td> |
---|
2038 | </tr> |
---|
2039 | </table> |
---|
2040 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa7" doxytag="OgreRefApp::CollideCamera::roll" ></a><p> |
---|
2041 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2042 | <tr> |
---|
2043 | <td class="mdRow"> |
---|
2044 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2045 | <tr> |
---|
2046 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::roll </td> |
---|
2047 | <td class="md" valign="top">( </td> |
---|
2048 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2049 | <td class="mdname1" valign="top" nowrap> <em>angleunits</em> </td> |
---|
2050 | <td class="md" valign="top"> ) </td> |
---|
2051 | <td class="md" nowrap></td> |
---|
2052 | </tr> |
---|
2053 | |
---|
2054 | </table> |
---|
2055 | </td> |
---|
2056 | </tr> |
---|
2057 | </table> |
---|
2058 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2059 | <tr> |
---|
2060 | <td> |
---|
2061 | |
---|
2062 | </td> |
---|
2063 | <td> |
---|
2064 | |
---|
2065 | <p> |
---|
2066 | |
---|
2067 | <p> |
---|
2068 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada51">OgreRefApp::ApplicationObject</a>. |
---|
2069 | <p> |
---|
2070 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00080">80</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>. |
---|
2071 | <p> |
---|
2072 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>. </td> |
---|
2073 | </tr> |
---|
2074 | </table> |
---|
2075 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa6" doxytag="OgreRefApp::CollideCamera::roll" ></a><p> |
---|
2076 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2077 | <tr> |
---|
2078 | <td class="mdRow"> |
---|
2079 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2080 | <tr> |
---|
2081 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::roll </td> |
---|
2082 | <td class="md" valign="top">( </td> |
---|
2083 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td> |
---|
2084 | <td class="mdname1" valign="top" nowrap> <em>angle</em> </td> |
---|
2085 | <td class="md" valign="top"> ) </td> |
---|
2086 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
2087 | </tr> |
---|
2088 | |
---|
2089 | </table> |
---|
2090 | </td> |
---|
2091 | </tr> |
---|
2092 | </table> |
---|
2093 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2094 | <tr> |
---|
2095 | <td> |
---|
2096 | |
---|
2097 | </td> |
---|
2098 | <td> |
---|
2099 | |
---|
2100 | <p> |
---|
2101 | Rotate the object around the local Z-axis. |
---|
2102 | <p> |
---|
2103 | |
---|
2104 | <p> |
---|
2105 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada50">OgreRefApp::ApplicationObject</a>. </td> |
---|
2106 | </tr> |
---|
2107 | </table> |
---|
2108 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa14" doxytag="OgreRefApp::CollideCamera::rotate" ></a><p> |
---|
2109 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2110 | <tr> |
---|
2111 | <td class="mdRow"> |
---|
2112 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2113 | <tr> |
---|
2114 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::rotate </td> |
---|
2115 | <td class="md" valign="top">( </td> |
---|
2116 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> & </td> |
---|
2117 | <td class="mdname1" valign="top" nowrap> <em>q</em> </td> |
---|
2118 | <td class="md" valign="top"> ) </td> |
---|
2119 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
2120 | </tr> |
---|
2121 | |
---|
2122 | </table> |
---|
2123 | </td> |
---|
2124 | </tr> |
---|
2125 | </table> |
---|
2126 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2127 | <tr> |
---|
2128 | <td> |
---|
2129 | |
---|
2130 | </td> |
---|
2131 | <td> |
---|
2132 | |
---|
2133 | <p> |
---|
2134 | Rotate the object around an aritrary axis using a Quarternion. |
---|
2135 | <p> |
---|
2136 | |
---|
2137 | <p> |
---|
2138 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada58">OgreRefApp::ApplicationObject</a>. </td> |
---|
2139 | </tr> |
---|
2140 | </table> |
---|
2141 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa13" doxytag="OgreRefApp::CollideCamera::rotate" ></a><p> |
---|
2142 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2143 | <tr> |
---|
2144 | <td class="mdRow"> |
---|
2145 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2146 | <tr> |
---|
2147 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::rotate </td> |
---|
2148 | <td class="md" valign="top">( </td> |
---|
2149 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
2150 | <td class="mdname" nowrap> <em>axis</em>, </td> |
---|
2151 | </tr> |
---|
2152 | <tr> |
---|
2153 | <td class="md" nowrap align="right"></td> |
---|
2154 | <td></td> |
---|
2155 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2156 | <td class="mdname" nowrap> <em>angleunits</em></td> |
---|
2157 | </tr> |
---|
2158 | <tr> |
---|
2159 | <td></td> |
---|
2160 | <td class="md">) </td> |
---|
2161 | <td class="md" colspan="2"></td> |
---|
2162 | </tr> |
---|
2163 | |
---|
2164 | </table> |
---|
2165 | </td> |
---|
2166 | </tr> |
---|
2167 | </table> |
---|
2168 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2169 | <tr> |
---|
2170 | <td> |
---|
2171 | |
---|
2172 | </td> |
---|
2173 | <td> |
---|
2174 | |
---|
2175 | <p> |
---|
2176 | |
---|
2177 | <p> |
---|
2178 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada57">OgreRefApp::ApplicationObject</a>. |
---|
2179 | <p> |
---|
2180 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00107">107</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>. |
---|
2181 | <p> |
---|
2182 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>. </td> |
---|
2183 | </tr> |
---|
2184 | </table> |
---|
2185 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa12" doxytag="OgreRefApp::CollideCamera::rotate" ></a><p> |
---|
2186 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2187 | <tr> |
---|
2188 | <td class="mdRow"> |
---|
2189 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2190 | <tr> |
---|
2191 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::rotate </td> |
---|
2192 | <td class="md" valign="top">( </td> |
---|
2193 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
2194 | <td class="mdname" nowrap> <em>axis</em>, </td> |
---|
2195 | </tr> |
---|
2196 | <tr> |
---|
2197 | <td class="md" nowrap align="right"></td> |
---|
2198 | <td></td> |
---|
2199 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td> |
---|
2200 | <td class="mdname" nowrap> <em>angle</em></td> |
---|
2201 | </tr> |
---|
2202 | <tr> |
---|
2203 | <td></td> |
---|
2204 | <td class="md">) </td> |
---|
2205 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
2206 | </tr> |
---|
2207 | |
---|
2208 | </table> |
---|
2209 | </td> |
---|
2210 | </tr> |
---|
2211 | </table> |
---|
2212 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2213 | <tr> |
---|
2214 | <td> |
---|
2215 | |
---|
2216 | </td> |
---|
2217 | <td> |
---|
2218 | |
---|
2219 | <p> |
---|
2220 | Rotate the object around an arbitrary axis. |
---|
2221 | <p> |
---|
2222 | |
---|
2223 | <p> |
---|
2224 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada56">OgreRefApp::ApplicationObject</a>. </td> |
---|
2225 | </tr> |
---|
2226 | </table> |
---|
2227 | <a class="anchor" name="OgreRefApp_1_1OgreHeada45" doxytag="OgreRefApp::CollideCamera::setAngularVelocity" ></a><p> |
---|
2228 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2229 | <tr> |
---|
2230 | <td class="mdRow"> |
---|
2231 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2232 | <tr> |
---|
2233 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setAngularVelocity </td> |
---|
2234 | <td class="md" valign="top">( </td> |
---|
2235 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2236 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
2237 | </tr> |
---|
2238 | <tr> |
---|
2239 | <td class="md" nowrap align="right"></td> |
---|
2240 | <td></td> |
---|
2241 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2242 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
2243 | </tr> |
---|
2244 | <tr> |
---|
2245 | <td class="md" nowrap align="right"></td> |
---|
2246 | <td></td> |
---|
2247 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2248 | <td class="mdname" nowrap> <em>z</em></td> |
---|
2249 | </tr> |
---|
2250 | <tr> |
---|
2251 | <td></td> |
---|
2252 | <td class="md">) </td> |
---|
2253 | <td class="md" colspan="2"><code> [inherited]</code></td> |
---|
2254 | </tr> |
---|
2255 | |
---|
2256 | </table> |
---|
2257 | </td> |
---|
2258 | </tr> |
---|
2259 | </table> |
---|
2260 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2261 | <tr> |
---|
2262 | <td> |
---|
2263 | |
---|
2264 | </td> |
---|
2265 | <td> |
---|
2266 | |
---|
2267 | <p> |
---|
2268 | Sets the current angular velocity of this object. |
---|
2269 | <p> |
---|
2270 | <dl compact><dt><b>Remarks:</b></dt><dd>Only applicable if dynamics are enabled for this object. This method is useful for starting an object off rather than applying forces to get it there. </dd></dl> |
---|
2271 | </td> |
---|
2272 | </tr> |
---|
2273 | </table> |
---|
2274 | <a class="anchor" name="OgreRefApp_1_1OgreHeada44" doxytag="OgreRefApp::CollideCamera::setAngularVelocity" ></a><p> |
---|
2275 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2276 | <tr> |
---|
2277 | <td class="mdRow"> |
---|
2278 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2279 | <tr> |
---|
2280 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setAngularVelocity </td> |
---|
2281 | <td class="md" valign="top">( </td> |
---|
2282 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
2283 | <td class="mdname1" valign="top" nowrap> <em>vel</em> </td> |
---|
2284 | <td class="md" valign="top"> ) </td> |
---|
2285 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
2286 | </tr> |
---|
2287 | |
---|
2288 | </table> |
---|
2289 | </td> |
---|
2290 | </tr> |
---|
2291 | </table> |
---|
2292 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2293 | <tr> |
---|
2294 | <td> |
---|
2295 | |
---|
2296 | </td> |
---|
2297 | <td> |
---|
2298 | |
---|
2299 | <p> |
---|
2300 | Sets the current angular velocity of this object. |
---|
2301 | <p> |
---|
2302 | <dl compact><dt><b>Remarks:</b></dt><dd>Only applicable if dynamics are enabled for this object. This method is useful for starting an object off rather than applying forces to get it there. </dd></dl> |
---|
2303 | </td> |
---|
2304 | </tr> |
---|
2305 | </table> |
---|
2306 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa32" doxytag="OgreRefApp::CollideCamera::setAspectRatio" ></a><p> |
---|
2307 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2308 | <tr> |
---|
2309 | <td class="mdRow"> |
---|
2310 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2311 | <tr> |
---|
2312 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setAspectRatio </td> |
---|
2313 | <td class="md" valign="top">( </td> |
---|
2314 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2315 | <td class="mdname1" valign="top" nowrap> <em>ratio</em> </td> |
---|
2316 | <td class="md" valign="top"> ) </td> |
---|
2317 | <td class="md" nowrap></td> |
---|
2318 | </tr> |
---|
2319 | |
---|
2320 | </table> |
---|
2321 | </td> |
---|
2322 | </tr> |
---|
2323 | </table> |
---|
2324 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2325 | <tr> |
---|
2326 | <td> |
---|
2327 | |
---|
2328 | </td> |
---|
2329 | <td> |
---|
2330 | |
---|
2331 | <p> |
---|
2332 | Sets the aspect ratio for the camera viewport. |
---|
2333 | <p> |
---|
2334 | <dl compact><dt><b>Remarks:</b></dt><dd>The ratio between the x and y dimensions of the rectangular area visible through the camera is known as aspect ratio: aspect = width / height . </dd></dl> |
---|
2335 | <dl compact><dt><b></b></dt><dd>The default for most fullscreen windows is 1.3333 - this is also assumed by <a class="el" href="namespaceOgre.html">Ogre</a> unless you use this method to state otherwise. </dd></dl> |
---|
2336 | </td> |
---|
2337 | </tr> |
---|
2338 | </table> |
---|
2339 | <a class="anchor" name="OgreRefApp_1_1OgreHeada13" doxytag="OgreRefApp::CollideCamera::setBounceParameters" ></a><p> |
---|
2340 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2341 | <tr> |
---|
2342 | <td class="mdRow"> |
---|
2343 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2344 | <tr> |
---|
2345 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setBounceParameters </td> |
---|
2346 | <td class="md" valign="top">( </td> |
---|
2347 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2348 | <td class="mdname" nowrap> <em>restitutionValue</em>, </td> |
---|
2349 | </tr> |
---|
2350 | <tr> |
---|
2351 | <td class="md" nowrap align="right"></td> |
---|
2352 | <td></td> |
---|
2353 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2354 | <td class="mdname" nowrap> <em>velocityThreshold</em></td> |
---|
2355 | </tr> |
---|
2356 | <tr> |
---|
2357 | <td></td> |
---|
2358 | <td class="md">) </td> |
---|
2359 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
2360 | </tr> |
---|
2361 | |
---|
2362 | </table> |
---|
2363 | </td> |
---|
2364 | </tr> |
---|
2365 | </table> |
---|
2366 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2367 | <tr> |
---|
2368 | <td> |
---|
2369 | |
---|
2370 | </td> |
---|
2371 | <td> |
---|
2372 | |
---|
2373 | <p> |
---|
2374 | Sets the 'bounciness' of this object. |
---|
2375 | <p> |
---|
2376 | <dl compact><dt><b>Remarks:</b></dt><dd>Only applies if this object has both collision and dynamics enabled. When 2 movable objects collide, the greatest bounce parameters from both objects apply, so even a non-bouncy object can bounce if it hits a bouncy surface. </dd></dl> |
---|
2377 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2378 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2379 | <tr><td valign=top><em>restitutionValue</em> </td><td>Coeeficient of restitution (0 for no bounce, 1 for perfect bounciness) </td></tr> |
---|
2380 | <tr><td valign=top><em>velocityThreshold</em> </td><td>Velocity below which no bounce will occur; this is a dampening value to ensure small velocities do not cause bounce.</td></tr> |
---|
2381 | </table> |
---|
2382 | </dl> |
---|
2383 | </td> |
---|
2384 | </tr> |
---|
2385 | </table> |
---|
2386 | <a class="anchor" name="OgreRefApp_1_1OgreHeada11" doxytag="OgreRefApp::CollideCamera::setCollisionEnabled" ></a><p> |
---|
2387 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2388 | <tr> |
---|
2389 | <td class="mdRow"> |
---|
2390 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2391 | <tr> |
---|
2392 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setCollisionEnabled </td> |
---|
2393 | <td class="md" valign="top">( </td> |
---|
2394 | <td class="md" nowrap valign="top">bool </td> |
---|
2395 | <td class="mdname1" valign="top" nowrap> <em>enabled</em> </td> |
---|
2396 | <td class="md" valign="top"> ) </td> |
---|
2397 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
2398 | </tr> |
---|
2399 | |
---|
2400 | </table> |
---|
2401 | </td> |
---|
2402 | </tr> |
---|
2403 | </table> |
---|
2404 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2405 | <tr> |
---|
2406 | <td> |
---|
2407 | |
---|
2408 | </td> |
---|
2409 | <td> |
---|
2410 | |
---|
2411 | <p> |
---|
2412 | </td> |
---|
2413 | </tr> |
---|
2414 | </table> |
---|
2415 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa17" doxytag="OgreRefApp::CollideCamera::setDetailLevel" ></a><p> |
---|
2416 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2417 | <tr> |
---|
2418 | <td class="mdRow"> |
---|
2419 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2420 | <tr> |
---|
2421 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setDetailLevel </td> |
---|
2422 | <td class="md" valign="top">( </td> |
---|
2423 | <td class="md" nowrap valign="top">SceneDetailLevel </td> |
---|
2424 | <td class="mdname1" valign="top" nowrap> <em>sd</em> </td> |
---|
2425 | <td class="md" valign="top"> ) </td> |
---|
2426 | <td class="md" nowrap></td> |
---|
2427 | </tr> |
---|
2428 | |
---|
2429 | </table> |
---|
2430 | </td> |
---|
2431 | </tr> |
---|
2432 | </table> |
---|
2433 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2434 | <tr> |
---|
2435 | <td> |
---|
2436 | |
---|
2437 | </td> |
---|
2438 | <td> |
---|
2439 | |
---|
2440 | <p> |
---|
2441 | Sets the level of rendering detail required from this camera. |
---|
2442 | <p> |
---|
2443 | <dl compact><dt><b>Remarks:</b></dt><dd>Each camera is set to render at full detail by default, that is with full texturing, lighting etc. This method lets you change that behaviour, allowing you to make the camera just render a wireframe view, for example. </dd></dl> |
---|
2444 | </td> |
---|
2445 | </tr> |
---|
2446 | </table> |
---|
2447 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa20" doxytag="OgreRefApp::CollideCamera::setDirection" ></a><p> |
---|
2448 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2449 | <tr> |
---|
2450 | <td class="mdRow"> |
---|
2451 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2452 | <tr> |
---|
2453 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setDirection </td> |
---|
2454 | <td class="md" valign="top">( </td> |
---|
2455 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
2456 | <td class="mdname1" valign="top" nowrap> <em>vec</em> </td> |
---|
2457 | <td class="md" valign="top"> ) </td> |
---|
2458 | <td class="md" nowrap></td> |
---|
2459 | </tr> |
---|
2460 | |
---|
2461 | </table> |
---|
2462 | </td> |
---|
2463 | </tr> |
---|
2464 | </table> |
---|
2465 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2466 | <tr> |
---|
2467 | <td> |
---|
2468 | |
---|
2469 | </td> |
---|
2470 | <td> |
---|
2471 | |
---|
2472 | <p> |
---|
2473 | Sets the camera's direction vector. |
---|
2474 | <p> |
---|
2475 | </td> |
---|
2476 | </tr> |
---|
2477 | </table> |
---|
2478 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa19" doxytag="OgreRefApp::CollideCamera::setDirection" ></a><p> |
---|
2479 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2480 | <tr> |
---|
2481 | <td class="mdRow"> |
---|
2482 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2483 | <tr> |
---|
2484 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setDirection </td> |
---|
2485 | <td class="md" valign="top">( </td> |
---|
2486 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2487 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
2488 | </tr> |
---|
2489 | <tr> |
---|
2490 | <td class="md" nowrap align="right"></td> |
---|
2491 | <td></td> |
---|
2492 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2493 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
2494 | </tr> |
---|
2495 | <tr> |
---|
2496 | <td class="md" nowrap align="right"></td> |
---|
2497 | <td></td> |
---|
2498 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2499 | <td class="mdname" nowrap> <em>z</em></td> |
---|
2500 | </tr> |
---|
2501 | <tr> |
---|
2502 | <td></td> |
---|
2503 | <td class="md">) </td> |
---|
2504 | <td class="md" colspan="2"></td> |
---|
2505 | </tr> |
---|
2506 | |
---|
2507 | </table> |
---|
2508 | </td> |
---|
2509 | </tr> |
---|
2510 | </table> |
---|
2511 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2512 | <tr> |
---|
2513 | <td> |
---|
2514 | |
---|
2515 | </td> |
---|
2516 | <td> |
---|
2517 | |
---|
2518 | <p> |
---|
2519 | Sets the camera's direction vector. |
---|
2520 | <p> |
---|
2521 | <dl compact><dt><b>Remarks:</b></dt><dd>Note that the 'up' vector for the camera will automatically be recalculated based on the current 'up' vector (i.e. the roll will remain the same). </dd></dl> |
---|
2522 | </td> |
---|
2523 | </tr> |
---|
2524 | </table> |
---|
2525 | <a class="anchor" name="OgreRefApp_1_1OgreHeada10" doxytag="OgreRefApp::CollideCamera::setDynamicsDisableThreshold" ></a><p> |
---|
2526 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2527 | <tr> |
---|
2528 | <td class="mdRow"> |
---|
2529 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2530 | <tr> |
---|
2531 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setDynamicsDisableThreshold </td> |
---|
2532 | <td class="md" valign="top">( </td> |
---|
2533 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2534 | <td class="mdname" nowrap> <em>linearSq</em>, </td> |
---|
2535 | </tr> |
---|
2536 | <tr> |
---|
2537 | <td class="md" nowrap align="right"></td> |
---|
2538 | <td></td> |
---|
2539 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2540 | <td class="mdname" nowrap> <em>angularSq</em>, </td> |
---|
2541 | </tr> |
---|
2542 | <tr> |
---|
2543 | <td class="md" nowrap align="right"></td> |
---|
2544 | <td></td> |
---|
2545 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2546 | <td class="mdname" nowrap> <em>overTime</em></td> |
---|
2547 | </tr> |
---|
2548 | <tr> |
---|
2549 | <td></td> |
---|
2550 | <td class="md">) </td> |
---|
2551 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
2552 | </tr> |
---|
2553 | |
---|
2554 | </table> |
---|
2555 | </td> |
---|
2556 | </tr> |
---|
2557 | </table> |
---|
2558 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2559 | <tr> |
---|
2560 | <td> |
---|
2561 | |
---|
2562 | </td> |
---|
2563 | <td> |
---|
2564 | |
---|
2565 | <p> |
---|
2566 | Sets the linear and angular velocity thresholds, below which the object will have it's dynamics automatically disabled for performance. |
---|
2567 | <p> |
---|
2568 | <dl compact><dt><b>Remarks:</b></dt><dd>These thresholds are used to speed up the simulation and to make it more stable, by turning off dynamics for objects that appear to be at rest. Otherwise, objects which are supposedly stationary can jitter when involved in large stacks, and can consume unnecessary CPU time. Note that if another object interacts with the disabled object, it will automatically reenable itself. </dd></dl> |
---|
2569 | <dl compact><dt><b></b></dt><dd>If you never want to disable dynamics automatically for this object, just set all the values to 0. </dd></dl> |
---|
2570 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2571 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2572 | <tr><td valign=top><em>linearSq</em> </td><td>The squared linear velocity magnitude threshold </td></tr> |
---|
2573 | <tr><td valign=top><em>angularSq</em> </td><td>The squared angular velocity magnitude threshold </td></tr> |
---|
2574 | <tr><td valign=top><em>overTime</em> </td><td>The number of seconds over which the values must continue to be under this threshold for the dynamics to be disabled. This is to catch cases where the object almost stops moving because of a boundary condition, but would speed up again later (e.g. box teetering on an edge). </td></tr> |
---|
2575 | </table> |
---|
2576 | </dl> |
---|
2577 | </td> |
---|
2578 | </tr> |
---|
2579 | </table> |
---|
2580 | <a class="anchor" name="OgreRefApp_1_1OgreHeada12" doxytag="OgreRefApp::CollideCamera::setDynamicsEnabled" ></a><p> |
---|
2581 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2582 | <tr> |
---|
2583 | <td class="mdRow"> |
---|
2584 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2585 | <tr> |
---|
2586 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setDynamicsEnabled </td> |
---|
2587 | <td class="md" valign="top">( </td> |
---|
2588 | <td class="md" nowrap valign="top">bool </td> |
---|
2589 | <td class="mdname" nowrap> <em>enabled</em>, </td> |
---|
2590 | </tr> |
---|
2591 | <tr> |
---|
2592 | <td class="md" nowrap align="right"></td> |
---|
2593 | <td></td> |
---|
2594 | <td class="md" nowrap>bool </td> |
---|
2595 | <td class="mdname" nowrap> <em>reEnableOnInteraction</em> = false</td> |
---|
2596 | </tr> |
---|
2597 | <tr> |
---|
2598 | <td></td> |
---|
2599 | <td class="md">) </td> |
---|
2600 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
2601 | </tr> |
---|
2602 | |
---|
2603 | </table> |
---|
2604 | </td> |
---|
2605 | </tr> |
---|
2606 | </table> |
---|
2607 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2608 | <tr> |
---|
2609 | <td> |
---|
2610 | |
---|
2611 | </td> |
---|
2612 | <td> |
---|
2613 | |
---|
2614 | <p> |
---|
2615 | Sets whether or not this object is physically simulated at this time. |
---|
2616 | <p> |
---|
2617 | <dl compact><dt><b>Remarks:</b></dt><dd>Objects which are not physically simulated only move when their SceneNode is manually altered. Objects which are physically simulated must set up an ODE body as part of their setUp method. </dd></dl> |
---|
2618 | <dl compact><dt><b></b></dt><dd>You can also use this to temporarily turn off simulation on an object, such that it is not simulated until some other object which IS simulated comes in contact with it, or is attached to it with a joint. </dd></dl> |
---|
2619 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2620 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2621 | <tr><td valign=top><em>enabled</em> </td><td>Specifies whether dynamics is enabled </td></tr> |
---|
2622 | <tr><td valign=top><em>reEnableOnInteraction</em> </td><td>If set to true, this object will reenable if some other dynamically simulated object interacts with it </td></tr> |
---|
2623 | </table> |
---|
2624 | </dl> |
---|
2625 | </td> |
---|
2626 | </tr> |
---|
2627 | </table> |
---|
2628 | <a class="anchor" name="OgreRefApp_1_1OgreHeadb3" doxytag="OgreRefApp::CollideCamera::setEntityQueryFlags" ></a><p> |
---|
2629 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2630 | <tr> |
---|
2631 | <td class="mdRow"> |
---|
2632 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2633 | <tr> |
---|
2634 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setEntityQueryFlags </td> |
---|
2635 | <td class="md" valign="top">( </td> |
---|
2636 | <td class="md" nowrap valign="top">void </td> |
---|
2637 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2638 | <td class="md" valign="top"> ) </td> |
---|
2639 | <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> |
---|
2640 | </tr> |
---|
2641 | |
---|
2642 | </table> |
---|
2643 | </td> |
---|
2644 | </tr> |
---|
2645 | </table> |
---|
2646 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2647 | <tr> |
---|
2648 | <td> |
---|
2649 | |
---|
2650 | </td> |
---|
2651 | <td> |
---|
2652 | |
---|
2653 | <p> |
---|
2654 | Internal method for updating the query mask. |
---|
2655 | <p> |
---|
2656 | </td> |
---|
2657 | </tr> |
---|
2658 | </table> |
---|
2659 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa30" doxytag="OgreRefApp::CollideCamera::setFarClipDistance" ></a><p> |
---|
2660 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2661 | <tr> |
---|
2662 | <td class="mdRow"> |
---|
2663 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2664 | <tr> |
---|
2665 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setFarClipDistance </td> |
---|
2666 | <td class="md" valign="top">( </td> |
---|
2667 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2668 | <td class="mdname1" valign="top" nowrap> <em>farDist</em> </td> |
---|
2669 | <td class="md" valign="top"> ) </td> |
---|
2670 | <td class="md" nowrap></td> |
---|
2671 | </tr> |
---|
2672 | |
---|
2673 | </table> |
---|
2674 | </td> |
---|
2675 | </tr> |
---|
2676 | </table> |
---|
2677 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2678 | <tr> |
---|
2679 | <td> |
---|
2680 | |
---|
2681 | </td> |
---|
2682 | <td> |
---|
2683 | |
---|
2684 | <p> |
---|
2685 | Sets the distance to the far clipping plane. |
---|
2686 | <p> |
---|
2687 | <dl compact><dt><b>Remarks:</b></dt><dd>The view frustrum is a pyramid created from the camera position and the edges of the viewport. This frustrum does not extend to infinity - it is cropped near to the camera and there is a far plane beyond which nothing is displayed. This method sets the distance for the far plane. Different applications need different values: e.g. a flight sim needs a much further far clipping plane than a first-person shooter. An important point here is that the larger the gap between near and far clipping planes, the lower the accuracy of the Z-buffer used to depth-cue pixels. This is because the Z-range is limited to the size of the Z buffer (16 or 32-bit) and the max values must be spread over the gap between near and far clip planes. The bigger the range, the more the Z values will be approximated which can cause artifacts when lots of objects are close together in the Z-plane. So make sure you clip as close to the camera as you can - don't set a huge value for the sake of it. </dd></dl> |
---|
2688 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2689 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2690 | <tr><td valign=top><em>far</em> </td><td>The distance to the far clipping plane from the camera in world coordinates. </td></tr> |
---|
2691 | </table> |
---|
2692 | </dl> |
---|
2693 | </td> |
---|
2694 | </tr> |
---|
2695 | </table> |
---|
2696 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa24" doxytag="OgreRefApp::CollideCamera::setFixedYawAxis" ></a><p> |
---|
2697 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2698 | <tr> |
---|
2699 | <td class="mdRow"> |
---|
2700 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2701 | <tr> |
---|
2702 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setFixedYawAxis </td> |
---|
2703 | <td class="md" valign="top">( </td> |
---|
2704 | <td class="md" nowrap valign="top">bool </td> |
---|
2705 | <td class="mdname" nowrap> <em>useFixed</em>, </td> |
---|
2706 | </tr> |
---|
2707 | <tr> |
---|
2708 | <td class="md" nowrap align="right"></td> |
---|
2709 | <td></td> |
---|
2710 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
2711 | <td class="mdname" nowrap> <em>fixedAxis</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a></td> |
---|
2712 | </tr> |
---|
2713 | <tr> |
---|
2714 | <td></td> |
---|
2715 | <td class="md">) </td> |
---|
2716 | <td class="md" colspan="2"></td> |
---|
2717 | </tr> |
---|
2718 | |
---|
2719 | </table> |
---|
2720 | </td> |
---|
2721 | </tr> |
---|
2722 | </table> |
---|
2723 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2724 | <tr> |
---|
2725 | <td> |
---|
2726 | |
---|
2727 | </td> |
---|
2728 | <td> |
---|
2729 | |
---|
2730 | <p> |
---|
2731 | Tells the camera whether to yaw around it's own local Y axis or a fixed axis of choice. |
---|
2732 | <p> |
---|
2733 | <dl compact><dt><b>Remarks:</b></dt><dd>This method allows you to change the yaw behaviour of the camera - by default, the camera yaws around it's own local Y axis. This is often what you want - for example a flying camera<ul> |
---|
2734 | <li>but sometimes this produces unwanted effects. For example, if you're making a first-person shooter, you really don't want the yaw axis to reflect the local camera Y, because this would mean a different yaw axis if the player is looking upwards rather than when they are looking straight ahead. You can change this behaviour by setting the yaw to a fixed axis (say, the world Y). </li></ul> |
---|
2735 | </dd></dl> |
---|
2736 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2737 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2738 | <tr><td valign=top><em>useFixed</em> </td><td>If true, the axis passed in the second parameter will always be the yaw axis no matter what the camera orientation. If false, the camera returns to it's default behaviour. </td></tr> |
---|
2739 | <tr><td valign=top><em>fixedAxis</em> </td><td>The axis to use if the first parameter is true. </td></tr> |
---|
2740 | </table> |
---|
2741 | </dl> |
---|
2742 | </td> |
---|
2743 | </tr> |
---|
2744 | </table> |
---|
2745 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa26" doxytag="OgreRefApp::CollideCamera::setFOVy" ></a><p> |
---|
2746 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2747 | <tr> |
---|
2748 | <td class="mdRow"> |
---|
2749 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2750 | <tr> |
---|
2751 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setFOVy </td> |
---|
2752 | <td class="md" valign="top">( </td> |
---|
2753 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2754 | <td class="mdname1" valign="top" nowrap> <em>fovy</em> </td> |
---|
2755 | <td class="md" valign="top"> ) </td> |
---|
2756 | <td class="md" nowrap></td> |
---|
2757 | </tr> |
---|
2758 | |
---|
2759 | </table> |
---|
2760 | </td> |
---|
2761 | </tr> |
---|
2762 | </table> |
---|
2763 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2764 | <tr> |
---|
2765 | <td> |
---|
2766 | |
---|
2767 | </td> |
---|
2768 | <td> |
---|
2769 | |
---|
2770 | <p> |
---|
2771 | |
---|
2772 | <p> |
---|
2773 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00210">210</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>. |
---|
2774 | <p> |
---|
2775 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>. </td> |
---|
2776 | </tr> |
---|
2777 | </table> |
---|
2778 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa25" doxytag="OgreRefApp::CollideCamera::setFOVy" ></a><p> |
---|
2779 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2780 | <tr> |
---|
2781 | <td class="mdRow"> |
---|
2782 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2783 | <tr> |
---|
2784 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setFOVy </td> |
---|
2785 | <td class="md" valign="top">( </td> |
---|
2786 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td> |
---|
2787 | <td class="mdname1" valign="top" nowrap> <em>fovy</em> </td> |
---|
2788 | <td class="md" valign="top"> ) </td> |
---|
2789 | <td class="md" nowrap></td> |
---|
2790 | </tr> |
---|
2791 | |
---|
2792 | </table> |
---|
2793 | </td> |
---|
2794 | </tr> |
---|
2795 | </table> |
---|
2796 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2797 | <tr> |
---|
2798 | <td> |
---|
2799 | |
---|
2800 | </td> |
---|
2801 | <td> |
---|
2802 | |
---|
2803 | <p> |
---|
2804 | Sets the Y-dimension Field Of View (FOV) of the camera. |
---|
2805 | <p> |
---|
2806 | <dl compact><dt><b>Remarks:</b></dt><dd>Field Of View (FOV) is the angle made between the camera's position, and the left & right edges of the 'screen' onto which the scene is projected. High values (90+) result in a wide-angle, fish-eye kind of view, low values (30-) in a stretched, telescopic kind of view. Typical values are between 45 and 60. </dd></dl> |
---|
2807 | <dl compact><dt><b></b></dt><dd>This value represents the HORIZONTAL field-of-view. The vertical field of view is calculated from this depending on the dimensions of the viewport (they will only be the same if the viewport is square). </dd></dl> |
---|
2808 | <dl compact><dt><b>Note:</b></dt><dd>Setting the FOV overrides the value supplied for Camera::setNearClipPlane. </dd></dl> |
---|
2809 | </td> |
---|
2810 | </tr> |
---|
2811 | </table> |
---|
2812 | <a class="anchor" name="OgreRefApp_1_1OgreHeada18" doxytag="OgreRefApp::CollideCamera::setFriction" ></a><p> |
---|
2813 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2814 | <tr> |
---|
2815 | <td class="mdRow"> |
---|
2816 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2817 | <tr> |
---|
2818 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setFriction </td> |
---|
2819 | <td class="md" valign="top">( </td> |
---|
2820 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2821 | <td class="mdname1" valign="top" nowrap> <em>friction</em> </td> |
---|
2822 | <td class="md" valign="top"> ) </td> |
---|
2823 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
2824 | </tr> |
---|
2825 | |
---|
2826 | </table> |
---|
2827 | </td> |
---|
2828 | </tr> |
---|
2829 | </table> |
---|
2830 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2831 | <tr> |
---|
2832 | <td> |
---|
2833 | |
---|
2834 | </td> |
---|
2835 | <td> |
---|
2836 | |
---|
2837 | <p> |
---|
2838 | Sets the Coulomb frictional coefficient for this object. |
---|
2839 | <p> |
---|
2840 | <dl compact><dt><b>Remarks:</b></dt><dd>This coefficient affects how much an object will slip when it comes into contact with another object. </dd></dl> |
---|
2841 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2842 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2843 | <tr><td valign=top><em>friction</em> </td><td>The Coulomb friction coefficient, valid from 0 to Math::POS_INFINITY. 0 means no friction, Math::POS_INFINITY means infinite friction ie no slippage. Note that friction between these 2 bounds is more CPU intensive so use with caution. </td></tr> |
---|
2844 | </table> |
---|
2845 | </dl> |
---|
2846 | </td> |
---|
2847 | </tr> |
---|
2848 | </table> |
---|
2849 | <a class="anchor" name="OgreRefApp_1_1OgreHeada41" doxytag="OgreRefApp::CollideCamera::setLinearVelocity" ></a><p> |
---|
2850 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2851 | <tr> |
---|
2852 | <td class="mdRow"> |
---|
2853 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2854 | <tr> |
---|
2855 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setLinearVelocity </td> |
---|
2856 | <td class="md" valign="top">( </td> |
---|
2857 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2858 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
2859 | </tr> |
---|
2860 | <tr> |
---|
2861 | <td class="md" nowrap align="right"></td> |
---|
2862 | <td></td> |
---|
2863 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2864 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
2865 | </tr> |
---|
2866 | <tr> |
---|
2867 | <td class="md" nowrap align="right"></td> |
---|
2868 | <td></td> |
---|
2869 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2870 | <td class="mdname" nowrap> <em>z</em></td> |
---|
2871 | </tr> |
---|
2872 | <tr> |
---|
2873 | <td></td> |
---|
2874 | <td class="md">) </td> |
---|
2875 | <td class="md" colspan="2"><code> [inherited]</code></td> |
---|
2876 | </tr> |
---|
2877 | |
---|
2878 | </table> |
---|
2879 | </td> |
---|
2880 | </tr> |
---|
2881 | </table> |
---|
2882 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2883 | <tr> |
---|
2884 | <td> |
---|
2885 | |
---|
2886 | </td> |
---|
2887 | <td> |
---|
2888 | |
---|
2889 | <p> |
---|
2890 | Sets the current linear velocity of this object. |
---|
2891 | <p> |
---|
2892 | <dl compact><dt><b>Remarks:</b></dt><dd>Only applicable if dynamics are enabled for this object. This method is useful for starting an object off at a particular speed rather than applying forces to get it there. </dd></dl> |
---|
2893 | </td> |
---|
2894 | </tr> |
---|
2895 | </table> |
---|
2896 | <a class="anchor" name="OgreRefApp_1_1OgreHeada40" doxytag="OgreRefApp::CollideCamera::setLinearVelocity" ></a><p> |
---|
2897 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2898 | <tr> |
---|
2899 | <td class="mdRow"> |
---|
2900 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2901 | <tr> |
---|
2902 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setLinearVelocity </td> |
---|
2903 | <td class="md" valign="top">( </td> |
---|
2904 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
2905 | <td class="mdname1" valign="top" nowrap> <em>vel</em> </td> |
---|
2906 | <td class="md" valign="top"> ) </td> |
---|
2907 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
2908 | </tr> |
---|
2909 | |
---|
2910 | </table> |
---|
2911 | </td> |
---|
2912 | </tr> |
---|
2913 | </table> |
---|
2914 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2915 | <tr> |
---|
2916 | <td> |
---|
2917 | |
---|
2918 | </td> |
---|
2919 | <td> |
---|
2920 | |
---|
2921 | <p> |
---|
2922 | Sets the current linear velocity of this object. |
---|
2923 | <p> |
---|
2924 | <dl compact><dt><b>Remarks:</b></dt><dd>Only applicable if dynamics are enabled for this object. This method is useful for starting an object off at a particular speed rather than applying forces to get it there. </dd></dl> |
---|
2925 | </td> |
---|
2926 | </tr> |
---|
2927 | </table> |
---|
2928 | <a class="anchor" name="OgreRefApp_1_1OgreHeada36" doxytag="OgreRefApp::CollideCamera::setMassBox" ></a><p> |
---|
2929 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2930 | <tr> |
---|
2931 | <td class="mdRow"> |
---|
2932 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2933 | <tr> |
---|
2934 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setMassBox </td> |
---|
2935 | <td class="md" valign="top">( </td> |
---|
2936 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2937 | <td class="mdname" nowrap> <em>density</em>, </td> |
---|
2938 | </tr> |
---|
2939 | <tr> |
---|
2940 | <td class="md" nowrap align="right"></td> |
---|
2941 | <td></td> |
---|
2942 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
2943 | <td class="mdname" nowrap> <em>dimensions</em>, </td> |
---|
2944 | </tr> |
---|
2945 | <tr> |
---|
2946 | <td class="md" nowrap align="right"></td> |
---|
2947 | <td></td> |
---|
2948 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> & </td> |
---|
2949 | <td class="mdname" nowrap> <em>orientation</em> = <a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a></td> |
---|
2950 | </tr> |
---|
2951 | <tr> |
---|
2952 | <td></td> |
---|
2953 | <td class="md">) </td> |
---|
2954 | <td class="md" colspan="2"><code> [inherited]</code></td> |
---|
2955 | </tr> |
---|
2956 | |
---|
2957 | </table> |
---|
2958 | </td> |
---|
2959 | </tr> |
---|
2960 | </table> |
---|
2961 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2962 | <tr> |
---|
2963 | <td> |
---|
2964 | |
---|
2965 | </td> |
---|
2966 | <td> |
---|
2967 | |
---|
2968 | <p> |
---|
2969 | Set the mass parameters of this object to represent a box. |
---|
2970 | <p> |
---|
2971 | <dl compact><dt><b>Remarks:</b></dt><dd>This method sets the mass and inertia properties of this object such that it is like a box. </dd></dl> |
---|
2972 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2973 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2974 | <tr><td valign=top><em>density</em> </td><td>Density of the box in Kg/m^3 </td></tr> |
---|
2975 | <tr><td valign=top><em>dimensions</em> </td><td>Width, height and depth of the box. </td></tr> |
---|
2976 | <tr><td valign=top><em>orientation</em> </td><td>Optional orientation of the box. </td></tr> |
---|
2977 | </table> |
---|
2978 | </dl> |
---|
2979 | </td> |
---|
2980 | </tr> |
---|
2981 | </table> |
---|
2982 | <a class="anchor" name="OgreRefApp_1_1OgreHeada37" doxytag="OgreRefApp::CollideCamera::setMassCappedCylinder" ></a><p> |
---|
2983 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2984 | <tr> |
---|
2985 | <td class="mdRow"> |
---|
2986 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2987 | <tr> |
---|
2988 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setMassCappedCylinder </td> |
---|
2989 | <td class="md" valign="top">( </td> |
---|
2990 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2991 | <td class="mdname" nowrap> <em>density</em>, </td> |
---|
2992 | </tr> |
---|
2993 | <tr> |
---|
2994 | <td class="md" nowrap align="right"></td> |
---|
2995 | <td></td> |
---|
2996 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2997 | <td class="mdname" nowrap> <em>length</em>, </td> |
---|
2998 | </tr> |
---|
2999 | <tr> |
---|
3000 | <td class="md" nowrap align="right"></td> |
---|
3001 | <td></td> |
---|
3002 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3003 | <td class="mdname" nowrap> <em>width</em>, </td> |
---|
3004 | </tr> |
---|
3005 | <tr> |
---|
3006 | <td class="md" nowrap align="right"></td> |
---|
3007 | <td></td> |
---|
3008 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> & </td> |
---|
3009 | <td class="mdname" nowrap> <em>orientation</em> = <a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a></td> |
---|
3010 | </tr> |
---|
3011 | <tr> |
---|
3012 | <td></td> |
---|
3013 | <td class="md">) </td> |
---|
3014 | <td class="md" colspan="2"><code> [inherited]</code></td> |
---|
3015 | </tr> |
---|
3016 | |
---|
3017 | </table> |
---|
3018 | </td> |
---|
3019 | </tr> |
---|
3020 | </table> |
---|
3021 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3022 | <tr> |
---|
3023 | <td> |
---|
3024 | |
---|
3025 | </td> |
---|
3026 | <td> |
---|
3027 | |
---|
3028 | <p> |
---|
3029 | Set the mass parameters of this object to represent a capped cylinder. |
---|
3030 | <p> |
---|
3031 | <dl compact><dt><b>Remarks:</b></dt><dd>This method sets the mass and inertia properties of this object such that it is like a capped cylinder, by default lying along the Z-axis. </dd></dl> |
---|
3032 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3033 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3034 | <tr><td valign=top><em>density</em> </td><td>Density of the cylinder in Kg/m^3 </td></tr> |
---|
3035 | <tr><td valign=top><em>length</em> </td><td>Length of the cylinder </td></tr> |
---|
3036 | <tr><td valign=top><em>width</em> </td><td>Width of the cylinder </td></tr> |
---|
3037 | <tr><td valign=top><em>orientation</em> </td><td>Optional orientation if you wish the cylinder to lay along a different axis from Z. </td></tr> |
---|
3038 | </table> |
---|
3039 | </dl> |
---|
3040 | </td> |
---|
3041 | </tr> |
---|
3042 | </table> |
---|
3043 | <a class="anchor" name="OgreRefApp_1_1OgreHeada38" doxytag="OgreRefApp::CollideCamera::setMassExpert" ></a><p> |
---|
3044 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3045 | <tr> |
---|
3046 | <td class="mdRow"> |
---|
3047 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3048 | <tr> |
---|
3049 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setMassExpert </td> |
---|
3050 | <td class="md" valign="top">( </td> |
---|
3051 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3052 | <td class="mdname" nowrap> <em>mass</em>, </td> |
---|
3053 | </tr> |
---|
3054 | <tr> |
---|
3055 | <td class="md" nowrap align="right"></td> |
---|
3056 | <td></td> |
---|
3057 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> </td> |
---|
3058 | <td class="mdname" nowrap> <em>center</em>, </td> |
---|
3059 | </tr> |
---|
3060 | <tr> |
---|
3061 | <td class="md" nowrap align="right"></td> |
---|
3062 | <td></td> |
---|
3063 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Matrix3.html">Matrix3</a> </td> |
---|
3064 | <td class="mdname" nowrap> <em>inertia</em></td> |
---|
3065 | </tr> |
---|
3066 | <tr> |
---|
3067 | <td></td> |
---|
3068 | <td class="md">) </td> |
---|
3069 | <td class="md" colspan="2"><code> [inherited]</code></td> |
---|
3070 | </tr> |
---|
3071 | |
---|
3072 | </table> |
---|
3073 | </td> |
---|
3074 | </tr> |
---|
3075 | </table> |
---|
3076 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3077 | <tr> |
---|
3078 | <td> |
---|
3079 | |
---|
3080 | </td> |
---|
3081 | <td> |
---|
3082 | |
---|
3083 | <p> |
---|
3084 | Sets the mass parameters manually, use only if you know how! |
---|
3085 | <p> |
---|
3086 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3087 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3088 | <tr><td valign=top><em>mass</em> </td><td>Mass in Kg </td></tr> |
---|
3089 | <tr><td valign=top><em>center</em> </td><td>The center of gravity </td></tr> |
---|
3090 | <tr><td valign=top><em>inertia</em> </td><td>The inertia matrix describing distribution of the mass around the body. </td></tr> |
---|
3091 | </table> |
---|
3092 | </dl> |
---|
3093 | </td> |
---|
3094 | </tr> |
---|
3095 | </table> |
---|
3096 | <a class="anchor" name="OgreRefApp_1_1OgreHeada35" doxytag="OgreRefApp::CollideCamera::setMassSphere" ></a><p> |
---|
3097 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3098 | <tr> |
---|
3099 | <td class="mdRow"> |
---|
3100 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3101 | <tr> |
---|
3102 | <td class="md" nowrap valign="top"> void OgreRefApp::ApplicationObject::setMassSphere </td> |
---|
3103 | <td class="md" valign="top">( </td> |
---|
3104 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3105 | <td class="mdname" nowrap> <em>density</em>, </td> |
---|
3106 | </tr> |
---|
3107 | <tr> |
---|
3108 | <td class="md" nowrap align="right"></td> |
---|
3109 | <td></td> |
---|
3110 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3111 | <td class="mdname" nowrap> <em>radius</em></td> |
---|
3112 | </tr> |
---|
3113 | <tr> |
---|
3114 | <td></td> |
---|
3115 | <td class="md">) </td> |
---|
3116 | <td class="md" colspan="2"><code> [inherited]</code></td> |
---|
3117 | </tr> |
---|
3118 | |
---|
3119 | </table> |
---|
3120 | </td> |
---|
3121 | </tr> |
---|
3122 | </table> |
---|
3123 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3124 | <tr> |
---|
3125 | <td> |
---|
3126 | |
---|
3127 | </td> |
---|
3128 | <td> |
---|
3129 | |
---|
3130 | <p> |
---|
3131 | Set the mass parameters of this object to represent a sphere. |
---|
3132 | <p> |
---|
3133 | <dl compact><dt><b>Remarks:</b></dt><dd>This method sets the mass and inertia properties of this object such that it is like a sphere, ie center of gravity at the origin and an even distribution of mass in all directions. </dd></dl> |
---|
3134 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3135 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3136 | <tr><td valign=top><em>density</em> </td><td>Density of the sphere in Kg/m^3 </td></tr> |
---|
3137 | <tr><td valign=top><em>radius</em> </td><td>of the sphere mass </td></tr> |
---|
3138 | </table> |
---|
3139 | </dl> |
---|
3140 | </td> |
---|
3141 | </tr> |
---|
3142 | </table> |
---|
3143 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa28" doxytag="OgreRefApp::CollideCamera::setNearClipDistance" ></a><p> |
---|
3144 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3145 | <tr> |
---|
3146 | <td class="mdRow"> |
---|
3147 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3148 | <tr> |
---|
3149 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setNearClipDistance </td> |
---|
3150 | <td class="md" valign="top">( </td> |
---|
3151 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3152 | <td class="mdname1" valign="top" nowrap> <em>nearDist</em> </td> |
---|
3153 | <td class="md" valign="top"> ) </td> |
---|
3154 | <td class="md" nowrap></td> |
---|
3155 | </tr> |
---|
3156 | |
---|
3157 | </table> |
---|
3158 | </td> |
---|
3159 | </tr> |
---|
3160 | </table> |
---|
3161 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3162 | <tr> |
---|
3163 | <td> |
---|
3164 | |
---|
3165 | </td> |
---|
3166 | <td> |
---|
3167 | |
---|
3168 | <p> |
---|
3169 | Sets the position of the near clipping plane. |
---|
3170 | <p> |
---|
3171 | <dl compact><dt><b>Remarks:</b></dt><dd>The position of the near clipping plane is the distance from the cameras position to the screen on which the world is projected. The near plane distance, combined with the field-of-view and the aspect ratio, determines the size of the viewport through which the world is viewed (in world co-ordinates). Note that this world viewport is different to a screen viewport, which has it's dimensions expressed in pixels. The cameras viewport should have the same aspect ratio as the screen viewport it renders into to avoid distortion. </dd></dl> |
---|
3172 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3173 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3174 | <tr><td valign=top><em>near</em> </td><td>The distance to the near clipping plane from the camera in world coordinates. </td></tr> |
---|
3175 | </table> |
---|
3176 | </dl> |
---|
3177 | </td> |
---|
3178 | </tr> |
---|
3179 | </table> |
---|
3180 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa3" doxytag="OgreRefApp::CollideCamera::setOrientation" ></a><p> |
---|
3181 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3182 | <tr> |
---|
3183 | <td class="mdRow"> |
---|
3184 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3185 | <tr> |
---|
3186 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setOrientation </td> |
---|
3187 | <td class="md" valign="top">( </td> |
---|
3188 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> & </td> |
---|
3189 | <td class="mdname1" valign="top" nowrap> <em>orientation</em> </td> |
---|
3190 | <td class="md" valign="top"> ) </td> |
---|
3191 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
3192 | </tr> |
---|
3193 | |
---|
3194 | </table> |
---|
3195 | </td> |
---|
3196 | </tr> |
---|
3197 | </table> |
---|
3198 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3199 | <tr> |
---|
3200 | <td> |
---|
3201 | |
---|
3202 | </td> |
---|
3203 | <td> |
---|
3204 | |
---|
3205 | <p> |
---|
3206 | Sets the orientation of this object. |
---|
3207 | <p> |
---|
3208 | |
---|
3209 | <p> |
---|
3210 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada4">OgreRefApp::ApplicationObject</a>. </td> |
---|
3211 | </tr> |
---|
3212 | </table> |
---|
3213 | <a class="anchor" name="OgreRefApp_1_1OgreHeada3" doxytag="OgreRefApp::CollideCamera::setPosition" ></a><p> |
---|
3214 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3215 | <tr> |
---|
3216 | <td class="mdRow"> |
---|
3217 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3218 | <tr> |
---|
3219 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setPosition </td> |
---|
3220 | <td class="md" valign="top">( </td> |
---|
3221 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3222 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
3223 | </tr> |
---|
3224 | <tr> |
---|
3225 | <td class="md" nowrap align="right"></td> |
---|
3226 | <td></td> |
---|
3227 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3228 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
3229 | </tr> |
---|
3230 | <tr> |
---|
3231 | <td class="md" nowrap align="right"></td> |
---|
3232 | <td></td> |
---|
3233 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3234 | <td class="mdname" nowrap> <em>z</em></td> |
---|
3235 | </tr> |
---|
3236 | <tr> |
---|
3237 | <td></td> |
---|
3238 | <td class="md">) </td> |
---|
3239 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
3240 | </tr> |
---|
3241 | |
---|
3242 | </table> |
---|
3243 | </td> |
---|
3244 | </tr> |
---|
3245 | </table> |
---|
3246 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3247 | <tr> |
---|
3248 | <td> |
---|
3249 | |
---|
3250 | </td> |
---|
3251 | <td> |
---|
3252 | |
---|
3253 | <p> |
---|
3254 | Sets the position of this object. |
---|
3255 | <p> |
---|
3256 | </td> |
---|
3257 | </tr> |
---|
3258 | </table> |
---|
3259 | <a class="anchor" name="OgreRefApp_1_1OgreHeada2" doxytag="OgreRefApp::CollideCamera::setPosition" ></a><p> |
---|
3260 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3261 | <tr> |
---|
3262 | <td class="mdRow"> |
---|
3263 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3264 | <tr> |
---|
3265 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setPosition </td> |
---|
3266 | <td class="md" valign="top">( </td> |
---|
3267 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
3268 | <td class="mdname1" valign="top" nowrap> <em>vec</em> </td> |
---|
3269 | <td class="md" valign="top"> ) </td> |
---|
3270 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3271 | </tr> |
---|
3272 | |
---|
3273 | </table> |
---|
3274 | </td> |
---|
3275 | </tr> |
---|
3276 | </table> |
---|
3277 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3278 | <tr> |
---|
3279 | <td> |
---|
3280 | |
---|
3281 | </td> |
---|
3282 | <td> |
---|
3283 | |
---|
3284 | <p> |
---|
3285 | Sets the position of this object. |
---|
3286 | <p> |
---|
3287 | </td> |
---|
3288 | </tr> |
---|
3289 | </table> |
---|
3290 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa15" doxytag="OgreRefApp::CollideCamera::setProjectionType" ></a><p> |
---|
3291 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3292 | <tr> |
---|
3293 | <td class="mdRow"> |
---|
3294 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3295 | <tr> |
---|
3296 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setProjectionType </td> |
---|
3297 | <td class="md" valign="top">( </td> |
---|
3298 | <td class="md" nowrap valign="top">ProjectionType </td> |
---|
3299 | <td class="mdname1" valign="top" nowrap> <em>pt</em> </td> |
---|
3300 | <td class="md" valign="top"> ) </td> |
---|
3301 | <td class="md" nowrap></td> |
---|
3302 | </tr> |
---|
3303 | |
---|
3304 | </table> |
---|
3305 | </td> |
---|
3306 | </tr> |
---|
3307 | </table> |
---|
3308 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3309 | <tr> |
---|
3310 | <td> |
---|
3311 | |
---|
3312 | </td> |
---|
3313 | <td> |
---|
3314 | |
---|
3315 | <p> |
---|
3316 | Sets the type of projection to use (orthographic or perspective). |
---|
3317 | <p> |
---|
3318 | Default is perspective. </td> |
---|
3319 | </tr> |
---|
3320 | </table> |
---|
3321 | <a class="anchor" name="OgreRefApp_1_1OgreHeada16" doxytag="OgreRefApp::CollideCamera::setSoftness" ></a><p> |
---|
3322 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3323 | <tr> |
---|
3324 | <td class="mdRow"> |
---|
3325 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3326 | <tr> |
---|
3327 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::setSoftness </td> |
---|
3328 | <td class="md" valign="top">( </td> |
---|
3329 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3330 | <td class="mdname1" valign="top" nowrap> <em>softness</em> </td> |
---|
3331 | <td class="md" valign="top"> ) </td> |
---|
3332 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3333 | </tr> |
---|
3334 | |
---|
3335 | </table> |
---|
3336 | </td> |
---|
3337 | </tr> |
---|
3338 | </table> |
---|
3339 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3340 | <tr> |
---|
3341 | <td> |
---|
3342 | |
---|
3343 | </td> |
---|
3344 | <td> |
---|
3345 | |
---|
3346 | <p> |
---|
3347 | Sets the softness of this object, which determines how much it is allowed to penetrate other objects. |
---|
3348 | <p> |
---|
3349 | <dl compact><dt><b>Remarks:</b></dt><dd>This parameter only has meaning if collision and dynamics are enabled for this object. </dd></dl> |
---|
3350 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3351 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3352 | <tr><td valign=top><em>softness</em> </td><td>Softness factor (0 is completely hard). Softness will be combined from both objects involved in a collision to determine how much they will penetrate.</td></tr> |
---|
3353 | </table> |
---|
3354 | </dl> |
---|
3355 | </td> |
---|
3356 | </tr> |
---|
3357 | </table> |
---|
3358 | <a class="anchor" name="OgreRefApp_1_1CollideCamerab0" doxytag="OgreRefApp::CollideCamera::setUp" ></a><p> |
---|
3359 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3360 | <tr> |
---|
3361 | <td class="mdRow"> |
---|
3362 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3363 | <tr> |
---|
3364 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::setUp </td> |
---|
3365 | <td class="md" valign="top">( </td> |
---|
3366 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
3367 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
3368 | <td class="md" valign="top"> ) </td> |
---|
3369 | <td class="md" nowrap><code> [protected, virtual]</code></td> |
---|
3370 | </tr> |
---|
3371 | |
---|
3372 | </table> |
---|
3373 | </td> |
---|
3374 | </tr> |
---|
3375 | </table> |
---|
3376 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3377 | <tr> |
---|
3378 | <td> |
---|
3379 | |
---|
3380 | </td> |
---|
3381 | <td> |
---|
3382 | |
---|
3383 | <p> |
---|
3384 | Set up. |
---|
3385 | <p> |
---|
3386 | |
---|
3387 | <p> |
---|
3388 | Implements <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1ApplicationObjectb0">OgreRefApp::ApplicationObject</a>. </td> |
---|
3389 | </tr> |
---|
3390 | </table> |
---|
3391 | <a class="anchor" name="OgreRefApp_1_1OgreHeada29" doxytag="OgreRefApp::CollideCamera::testCollide" ></a><p> |
---|
3392 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3393 | <tr> |
---|
3394 | <td class="mdRow"> |
---|
3395 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3396 | <tr> |
---|
3397 | <td class="md" nowrap valign="top"> virtual bool OgreRefApp::ApplicationObject::testCollide </td> |
---|
3398 | <td class="md" valign="top">( </td> |
---|
3399 | <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> * </td> |
---|
3400 | <td class="mdname1" valign="top" nowrap> <em>wf</em> </td> |
---|
3401 | <td class="md" valign="top"> ) </td> |
---|
3402 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3403 | </tr> |
---|
3404 | |
---|
3405 | </table> |
---|
3406 | </td> |
---|
3407 | </tr> |
---|
3408 | </table> |
---|
3409 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3410 | <tr> |
---|
3411 | <td> |
---|
3412 | |
---|
3413 | </td> |
---|
3414 | <td> |
---|
3415 | |
---|
3416 | <p> |
---|
3417 | Tests to see if there is a detailed collision between this object and the world fragment passed in. |
---|
3418 | <p> |
---|
3419 | <dl compact><dt><b>Remarks:</b></dt><dd>If there is a collision, the object will be notified and if dynamics are enabled on this object, physics will be applied automatically. </dd></dl> |
---|
3420 | <dl compact><dt><b>Returns:</b></dt><dd>true if collision occurred </dd></dl> |
---|
3421 | </td> |
---|
3422 | </tr> |
---|
3423 | </table> |
---|
3424 | <a class="anchor" name="OgreRefApp_1_1OgreHeada28" doxytag="OgreRefApp::CollideCamera::testCollide" ></a><p> |
---|
3425 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3426 | <tr> |
---|
3427 | <td class="mdRow"> |
---|
3428 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3429 | <tr> |
---|
3430 | <td class="md" nowrap valign="top"> virtual bool OgreRefApp::ApplicationObject::testCollide </td> |
---|
3431 | <td class="md" valign="top">( </td> |
---|
3432 | <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> |
---|
3433 | <td class="mdname1" valign="top" nowrap> <em>otherObj</em> </td> |
---|
3434 | <td class="md" valign="top"> ) </td> |
---|
3435 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3436 | </tr> |
---|
3437 | |
---|
3438 | </table> |
---|
3439 | </td> |
---|
3440 | </tr> |
---|
3441 | </table> |
---|
3442 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3443 | <tr> |
---|
3444 | <td> |
---|
3445 | |
---|
3446 | </td> |
---|
3447 | <td> |
---|
3448 | |
---|
3449 | <p> |
---|
3450 | Tests to see if there is a detailed collision between this object and the object passed in. |
---|
3451 | <p> |
---|
3452 | <dl compact><dt><b>Remarks:</b></dt><dd>If there is a collision, both objects will be notified and if dynamics are enabled on these objects, physics will be applied automatically. </dd></dl> |
---|
3453 | <dl compact><dt><b>Returns:</b></dt><dd>true if collision occurred </dd></dl> |
---|
3454 | </td> |
---|
3455 | </tr> |
---|
3456 | </table> |
---|
3457 | <a class="anchor" name="OgreRefApp_1_1OgreHeadb2" doxytag="OgreRefApp::CollideCamera::testCollidePlaneBounds" ></a><p> |
---|
3458 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3459 | <tr> |
---|
3460 | <td class="mdRow"> |
---|
3461 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3462 | <tr> |
---|
3463 | <td class="md" nowrap valign="top"> virtual bool OgreRefApp::ApplicationObject::testCollidePlaneBounds </td> |
---|
3464 | <td class="md" valign="top">( </td> |
---|
3465 | <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> * </td> |
---|
3466 | <td class="mdname1" valign="top" nowrap> <em>wf</em> </td> |
---|
3467 | <td class="md" valign="top"> ) </td> |
---|
3468 | <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> |
---|
3469 | </tr> |
---|
3470 | |
---|
3471 | </table> |
---|
3472 | </td> |
---|
3473 | </tr> |
---|
3474 | </table> |
---|
3475 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3476 | <tr> |
---|
3477 | <td> |
---|
3478 | |
---|
3479 | </td> |
---|
3480 | <td> |
---|
3481 | |
---|
3482 | <p> |
---|
3483 | Internal method for testing the plane bounded region WorldFragment type. |
---|
3484 | <p> |
---|
3485 | </td> |
---|
3486 | </tr> |
---|
3487 | </table> |
---|
3488 | <a class="anchor" name="OgreRefApp_1_1OgreHeada47" doxytag="OgreRefApp::CollideCamera::translate" ></a><p> |
---|
3489 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3490 | <tr> |
---|
3491 | <td class="mdRow"> |
---|
3492 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3493 | <tr> |
---|
3494 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::translate </td> |
---|
3495 | <td class="md" valign="top">( </td> |
---|
3496 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3497 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
3498 | </tr> |
---|
3499 | <tr> |
---|
3500 | <td class="md" nowrap align="right"></td> |
---|
3501 | <td></td> |
---|
3502 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3503 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
3504 | </tr> |
---|
3505 | <tr> |
---|
3506 | <td class="md" nowrap align="right"></td> |
---|
3507 | <td></td> |
---|
3508 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3509 | <td class="mdname" nowrap> <em>z</em></td> |
---|
3510 | </tr> |
---|
3511 | <tr> |
---|
3512 | <td></td> |
---|
3513 | <td class="md">) </td> |
---|
3514 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
3515 | </tr> |
---|
3516 | |
---|
3517 | </table> |
---|
3518 | </td> |
---|
3519 | </tr> |
---|
3520 | </table> |
---|
3521 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3522 | <tr> |
---|
3523 | <td> |
---|
3524 | |
---|
3525 | </td> |
---|
3526 | <td> |
---|
3527 | |
---|
3528 | <p> |
---|
3529 | Moves the object along it's local axes. |
---|
3530 | <p> |
---|
3531 | <dl compact><dt><b></b></dt><dd>This method moves the object by the supplied vector along the local axes of the obect. </dd></dl> |
---|
3532 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3533 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3534 | <tr><td valign=top><em>x,y</em> </td><td>z Real x, y and z values representing the translation. </td></tr> |
---|
3535 | </table> |
---|
3536 | </dl> |
---|
3537 | </td> |
---|
3538 | </tr> |
---|
3539 | </table> |
---|
3540 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa5" doxytag="OgreRefApp::CollideCamera::translate" ></a><p> |
---|
3541 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3542 | <tr> |
---|
3543 | <td class="mdRow"> |
---|
3544 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3545 | <tr> |
---|
3546 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::translate </td> |
---|
3547 | <td class="md" valign="top">( </td> |
---|
3548 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
3549 | <td class="mdname1" valign="top" nowrap> <em>d</em> </td> |
---|
3550 | <td class="md" valign="top"> ) </td> |
---|
3551 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
3552 | </tr> |
---|
3553 | |
---|
3554 | </table> |
---|
3555 | </td> |
---|
3556 | </tr> |
---|
3557 | </table> |
---|
3558 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3559 | <tr> |
---|
3560 | <td> |
---|
3561 | |
---|
3562 | </td> |
---|
3563 | <td> |
---|
3564 | |
---|
3565 | <p> |
---|
3566 | Moves the object along it's local axes. |
---|
3567 | <p> |
---|
3568 | <dl compact><dt><b></b></dt><dd>This method moves the object by the supplied vector along the local axes of the obect. </dd></dl> |
---|
3569 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3570 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3571 | <tr><td valign=top><em>d</em> </td><td>Vector with x,y,z values representing the translation. </td></tr> |
---|
3572 | </table> |
---|
3573 | </dl> |
---|
3574 | |
---|
3575 | <p> |
---|
3576 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada46">OgreRefApp::ApplicationObject</a>. </td> |
---|
3577 | </tr> |
---|
3578 | </table> |
---|
3579 | <a class="anchor" name="OgreRefApp_1_1OgreHeada49" doxytag="OgreRefApp::CollideCamera::translateWorldSpace" ></a><p> |
---|
3580 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3581 | <tr> |
---|
3582 | <td class="mdRow"> |
---|
3583 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3584 | <tr> |
---|
3585 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::translateWorldSpace </td> |
---|
3586 | <td class="md" valign="top">( </td> |
---|
3587 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3588 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
3589 | </tr> |
---|
3590 | <tr> |
---|
3591 | <td class="md" nowrap align="right"></td> |
---|
3592 | <td></td> |
---|
3593 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3594 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
3595 | </tr> |
---|
3596 | <tr> |
---|
3597 | <td class="md" nowrap align="right"></td> |
---|
3598 | <td></td> |
---|
3599 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3600 | <td class="mdname" nowrap> <em>z</em></td> |
---|
3601 | </tr> |
---|
3602 | <tr> |
---|
3603 | <td></td> |
---|
3604 | <td class="md">) </td> |
---|
3605 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
3606 | </tr> |
---|
3607 | |
---|
3608 | </table> |
---|
3609 | </td> |
---|
3610 | </tr> |
---|
3611 | </table> |
---|
3612 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3613 | <tr> |
---|
3614 | <td> |
---|
3615 | |
---|
3616 | </td> |
---|
3617 | <td> |
---|
3618 | |
---|
3619 | <p> |
---|
3620 | Moves the object along the world axes. |
---|
3621 | <p> |
---|
3622 | <dl compact><dt><b></b></dt><dd>This method moves the object by the supplied vector along the local axes of the obect. </dd></dl> |
---|
3623 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3624 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3625 | <tr><td valign=top><em>x,y</em> </td><td>z Real x, y and z values representing the translation. </td></tr> |
---|
3626 | </table> |
---|
3627 | </dl> |
---|
3628 | </td> |
---|
3629 | </tr> |
---|
3630 | </table> |
---|
3631 | <a class="anchor" name="OgreRefApp_1_1OgreHeada48" doxytag="OgreRefApp::CollideCamera::translateWorldSpace" ></a><p> |
---|
3632 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3633 | <tr> |
---|
3634 | <td class="mdRow"> |
---|
3635 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3636 | <tr> |
---|
3637 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::translateWorldSpace </td> |
---|
3638 | <td class="md" valign="top">( </td> |
---|
3639 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
3640 | <td class="mdname1" valign="top" nowrap> <em>d</em> </td> |
---|
3641 | <td class="md" valign="top"> ) </td> |
---|
3642 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3643 | </tr> |
---|
3644 | |
---|
3645 | </table> |
---|
3646 | </td> |
---|
3647 | </tr> |
---|
3648 | </table> |
---|
3649 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3650 | <tr> |
---|
3651 | <td> |
---|
3652 | |
---|
3653 | </td> |
---|
3654 | <td> |
---|
3655 | |
---|
3656 | <p> |
---|
3657 | Moves the object along the world axes. |
---|
3658 | <p> |
---|
3659 | <dl compact><dt><b></b></dt><dd>This method moves the object by the supplied vector along the world axes. </dd></dl> |
---|
3660 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3661 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3662 | <tr><td valign=top><em>d</em> </td><td>Vector with x,y,z values representing the translation. </td></tr> |
---|
3663 | </table> |
---|
3664 | </dl> |
---|
3665 | </td> |
---|
3666 | </tr> |
---|
3667 | </table> |
---|
3668 | <a class="anchor" name="OgreRefApp_1_1OgreHeadb1" doxytag="OgreRefApp::CollideCamera::updateCollisionProxies" ></a><p> |
---|
3669 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3670 | <tr> |
---|
3671 | <td class="mdRow"> |
---|
3672 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3673 | <tr> |
---|
3674 | <td class="md" nowrap valign="top"> virtual void OgreRefApp::ApplicationObject::updateCollisionProxies </td> |
---|
3675 | <td class="md" valign="top">( </td> |
---|
3676 | <td class="md" nowrap valign="top">void </td> |
---|
3677 | <td class="mdname1" valign="top" nowrap> </td> |
---|
3678 | <td class="md" valign="top"> ) </td> |
---|
3679 | <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> |
---|
3680 | </tr> |
---|
3681 | |
---|
3682 | </table> |
---|
3683 | </td> |
---|
3684 | </tr> |
---|
3685 | </table> |
---|
3686 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3687 | <tr> |
---|
3688 | <td> |
---|
3689 | |
---|
3690 | </td> |
---|
3691 | <td> |
---|
3692 | |
---|
3693 | <p> |
---|
3694 | Internal method for updating the state of the collision proxies. |
---|
3695 | <p> |
---|
3696 | </td> |
---|
3697 | </tr> |
---|
3698 | </table> |
---|
3699 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa11" doxytag="OgreRefApp::CollideCamera::yaw" ></a><p> |
---|
3700 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3701 | <tr> |
---|
3702 | <td class="mdRow"> |
---|
3703 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3704 | <tr> |
---|
3705 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::yaw </td> |
---|
3706 | <td class="md" valign="top">( </td> |
---|
3707 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
3708 | <td class="mdname1" valign="top" nowrap> <em>angleunits</em> </td> |
---|
3709 | <td class="md" valign="top"> ) </td> |
---|
3710 | <td class="md" nowrap></td> |
---|
3711 | </tr> |
---|
3712 | |
---|
3713 | </table> |
---|
3714 | </td> |
---|
3715 | </tr> |
---|
3716 | </table> |
---|
3717 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3718 | <tr> |
---|
3719 | <td> |
---|
3720 | |
---|
3721 | </td> |
---|
3722 | <td> |
---|
3723 | |
---|
3724 | <p> |
---|
3725 | |
---|
3726 | <p> |
---|
3727 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada55">OgreRefApp::ApplicationObject</a>. |
---|
3728 | <p> |
---|
3729 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00098">98</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>. |
---|
3730 | <p> |
---|
3731 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>. </td> |
---|
3732 | </tr> |
---|
3733 | </table> |
---|
3734 | <a class="anchor" name="OgreRefApp_1_1CollideCameraa10" doxytag="OgreRefApp::CollideCamera::yaw" ></a><p> |
---|
3735 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3736 | <tr> |
---|
3737 | <td class="mdRow"> |
---|
3738 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3739 | <tr> |
---|
3740 | <td class="md" nowrap valign="top"> void OgreRefApp::CollideCamera::yaw </td> |
---|
3741 | <td class="md" valign="top">( </td> |
---|
3742 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td> |
---|
3743 | <td class="mdname1" valign="top" nowrap> <em>angle</em> </td> |
---|
3744 | <td class="md" valign="top"> ) </td> |
---|
3745 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
3746 | </tr> |
---|
3747 | |
---|
3748 | </table> |
---|
3749 | </td> |
---|
3750 | </tr> |
---|
3751 | </table> |
---|
3752 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3753 | <tr> |
---|
3754 | <td> |
---|
3755 | |
---|
3756 | </td> |
---|
3757 | <td> |
---|
3758 | |
---|
3759 | <p> |
---|
3760 | Rotate the object around the local Y-axis. |
---|
3761 | <p> |
---|
3762 | |
---|
3763 | <p> |
---|
3764 | Reimplemented from <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeada54">OgreRefApp::ApplicationObject</a>. </td> |
---|
3765 | </tr> |
---|
3766 | </table> |
---|
3767 | <hr><h2>Member Data Documentation</h2> |
---|
3768 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp13" doxytag="OgreRefApp::CollideCamera::mAngularVelDisableThreshold" ></a><p> |
---|
3769 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3770 | <tr> |
---|
3771 | <td class="mdRow"> |
---|
3772 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3773 | <tr> |
---|
3774 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp13">OgreRefApp::ApplicationObject::mAngularVelDisableThreshold</a><code> [protected, inherited]</code> |
---|
3775 | </table> |
---|
3776 | </td> |
---|
3777 | </tr> |
---|
3778 | </table> |
---|
3779 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3780 | <tr> |
---|
3781 | <td> |
---|
3782 | |
---|
3783 | </td> |
---|
3784 | <td> |
---|
3785 | |
---|
3786 | <p> |
---|
3787 | |
---|
3788 | <p> |
---|
3789 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00069">69</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3790 | </tr> |
---|
3791 | </table> |
---|
3792 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp8" doxytag="OgreRefApp::CollideCamera::mBounceCoeffRestitution" ></a><p> |
---|
3793 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3794 | <tr> |
---|
3795 | <td class="mdRow"> |
---|
3796 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3797 | <tr> |
---|
3798 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp8">OgreRefApp::ApplicationObject::mBounceCoeffRestitution</a><code> [protected, inherited]</code> |
---|
3799 | </table> |
---|
3800 | </td> |
---|
3801 | </tr> |
---|
3802 | </table> |
---|
3803 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3804 | <tr> |
---|
3805 | <td> |
---|
3806 | |
---|
3807 | </td> |
---|
3808 | <td> |
---|
3809 | |
---|
3810 | <p> |
---|
3811 | |
---|
3812 | <p> |
---|
3813 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00064">64</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3814 | </tr> |
---|
3815 | </table> |
---|
3816 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp9" doxytag="OgreRefApp::CollideCamera::mBounceVelocityThreshold" ></a><p> |
---|
3817 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3818 | <tr> |
---|
3819 | <td class="mdRow"> |
---|
3820 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3821 | <tr> |
---|
3822 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp9">OgreRefApp::ApplicationObject::mBounceVelocityThreshold</a><code> [protected, inherited]</code> |
---|
3823 | </table> |
---|
3824 | </td> |
---|
3825 | </tr> |
---|
3826 | </table> |
---|
3827 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3828 | <tr> |
---|
3829 | <td> |
---|
3830 | |
---|
3831 | </td> |
---|
3832 | <td> |
---|
3833 | |
---|
3834 | <p> |
---|
3835 | |
---|
3836 | <p> |
---|
3837 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00065">65</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3838 | </tr> |
---|
3839 | </table> |
---|
3840 | <a class="anchor" name="OgreRefApp_1_1CollideCamerap0" doxytag="OgreRefApp::CollideCamera::mCamera" ></a><p> |
---|
3841 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3842 | <tr> |
---|
3843 | <td class="mdRow"> |
---|
3844 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3845 | <tr> |
---|
3846 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Camera.html">Camera</a>* <a class="el" href="classOgreRefApp_1_1CollideCamera.html#OgreRefApp_1_1CollideCamerap0">OgreRefApp::CollideCamera::mCamera</a><code> [protected]</code> |
---|
3847 | </table> |
---|
3848 | </td> |
---|
3849 | </tr> |
---|
3850 | </table> |
---|
3851 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3852 | <tr> |
---|
3853 | <td> |
---|
3854 | |
---|
3855 | </td> |
---|
3856 | <td> |
---|
3857 | |
---|
3858 | <p> |
---|
3859 | Contained camera. |
---|
3860 | <p> |
---|
3861 | |
---|
3862 | <p> |
---|
3863 | Definition at line <a class="el" href="OgreRefAppCollideCamera_8h-source.html#l00043">43</a> of file <a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a>. </td> |
---|
3864 | </tr> |
---|
3865 | </table> |
---|
3866 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp7" doxytag="OgreRefApp::CollideCamera::mCollisionEnabled" ></a><p> |
---|
3867 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3868 | <tr> |
---|
3869 | <td class="mdRow"> |
---|
3870 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3871 | <tr> |
---|
3872 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp7">OgreRefApp::ApplicationObject::mCollisionEnabled</a><code> [protected, inherited]</code> |
---|
3873 | </table> |
---|
3874 | </td> |
---|
3875 | </tr> |
---|
3876 | </table> |
---|
3877 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3878 | <tr> |
---|
3879 | <td> |
---|
3880 | |
---|
3881 | </td> |
---|
3882 | <td> |
---|
3883 | |
---|
3884 | <p> |
---|
3885 | |
---|
3886 | <p> |
---|
3887 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00062">62</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3888 | </tr> |
---|
3889 | </table> |
---|
3890 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp4" doxytag="OgreRefApp::CollideCamera::mCollisionProxies" ></a><p> |
---|
3891 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3892 | <tr> |
---|
3893 | <td class="mdRow"> |
---|
3894 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3895 | <tr> |
---|
3896 | <td class="md" nowrap valign="top"> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadx0">CollisionProxyList</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp4">OgreRefApp::ApplicationObject::mCollisionProxies</a><code> [protected, inherited]</code> |
---|
3897 | </table> |
---|
3898 | </td> |
---|
3899 | </tr> |
---|
3900 | </table> |
---|
3901 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3902 | <tr> |
---|
3903 | <td> |
---|
3904 | |
---|
3905 | </td> |
---|
3906 | <td> |
---|
3907 | |
---|
3908 | <p> |
---|
3909 | |
---|
3910 | <p> |
---|
3911 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00057">57</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3912 | </tr> |
---|
3913 | </table> |
---|
3914 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp14" doxytag="OgreRefApp::CollideCamera::mDisableTime" ></a><p> |
---|
3915 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3916 | <tr> |
---|
3917 | <td class="mdRow"> |
---|
3918 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3919 | <tr> |
---|
3920 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp14">OgreRefApp::ApplicationObject::mDisableTime</a><code> [protected, inherited]</code> |
---|
3921 | </table> |
---|
3922 | </td> |
---|
3923 | </tr> |
---|
3924 | </table> |
---|
3925 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3926 | <tr> |
---|
3927 | <td> |
---|
3928 | |
---|
3929 | </td> |
---|
3930 | <td> |
---|
3931 | |
---|
3932 | <p> |
---|
3933 | |
---|
3934 | <p> |
---|
3935 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00070">70</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3936 | </tr> |
---|
3937 | </table> |
---|
3938 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp15" doxytag="OgreRefApp::CollideCamera::mDisableTimeEnd" ></a><p> |
---|
3939 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3940 | <tr> |
---|
3941 | <td class="mdRow"> |
---|
3942 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3943 | <tr> |
---|
3944 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp15">OgreRefApp::ApplicationObject::mDisableTimeEnd</a><code> [protected, inherited]</code> |
---|
3945 | </table> |
---|
3946 | </td> |
---|
3947 | </tr> |
---|
3948 | </table> |
---|
3949 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3950 | <tr> |
---|
3951 | <td> |
---|
3952 | |
---|
3953 | </td> |
---|
3954 | <td> |
---|
3955 | |
---|
3956 | <p> |
---|
3957 | |
---|
3958 | <p> |
---|
3959 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00071">71</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3960 | </tr> |
---|
3961 | </table> |
---|
3962 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp5" doxytag="OgreRefApp::CollideCamera::mDynamicsEnabled" ></a><p> |
---|
3963 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3964 | <tr> |
---|
3965 | <td class="mdRow"> |
---|
3966 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3967 | <tr> |
---|
3968 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp5">OgreRefApp::ApplicationObject::mDynamicsEnabled</a><code> [protected, inherited]</code> |
---|
3969 | </table> |
---|
3970 | </td> |
---|
3971 | </tr> |
---|
3972 | </table> |
---|
3973 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3974 | <tr> |
---|
3975 | <td> |
---|
3976 | |
---|
3977 | </td> |
---|
3978 | <td> |
---|
3979 | |
---|
3980 | <p> |
---|
3981 | |
---|
3982 | <p> |
---|
3983 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00060">60</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
3984 | </tr> |
---|
3985 | </table> |
---|
3986 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp1" doxytag="OgreRefApp::CollideCamera::mEntity" ></a><p> |
---|
3987 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3988 | <tr> |
---|
3989 | <td class="mdRow"> |
---|
3990 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3991 | <tr> |
---|
3992 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Entity.html">Entity</a>* <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp1">OgreRefApp::ApplicationObject::mEntity</a><code> [protected, inherited]</code> |
---|
3993 | </table> |
---|
3994 | </td> |
---|
3995 | </tr> |
---|
3996 | </table> |
---|
3997 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3998 | <tr> |
---|
3999 | <td> |
---|
4000 | |
---|
4001 | </td> |
---|
4002 | <td> |
---|
4003 | |
---|
4004 | <p> |
---|
4005 | |
---|
4006 | <p> |
---|
4007 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00047">47</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4008 | </tr> |
---|
4009 | </table> |
---|
4010 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp11" doxytag="OgreRefApp::CollideCamera::mFriction" ></a><p> |
---|
4011 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4012 | <tr> |
---|
4013 | <td class="mdRow"> |
---|
4014 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4015 | <tr> |
---|
4016 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp11">OgreRefApp::ApplicationObject::mFriction</a><code> [protected, inherited]</code> |
---|
4017 | </table> |
---|
4018 | </td> |
---|
4019 | </tr> |
---|
4020 | </table> |
---|
4021 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4022 | <tr> |
---|
4023 | <td> |
---|
4024 | |
---|
4025 | </td> |
---|
4026 | <td> |
---|
4027 | |
---|
4028 | <p> |
---|
4029 | |
---|
4030 | <p> |
---|
4031 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00067">67</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4032 | </tr> |
---|
4033 | </table> |
---|
4034 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp12" doxytag="OgreRefApp::CollideCamera::mLinearVelDisableThreshold" ></a><p> |
---|
4035 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4036 | <tr> |
---|
4037 | <td class="mdRow"> |
---|
4038 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4039 | <tr> |
---|
4040 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp12">OgreRefApp::ApplicationObject::mLinearVelDisableThreshold</a><code> [protected, inherited]</code> |
---|
4041 | </table> |
---|
4042 | </td> |
---|
4043 | </tr> |
---|
4044 | </table> |
---|
4045 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4046 | <tr> |
---|
4047 | <td> |
---|
4048 | |
---|
4049 | </td> |
---|
4050 | <td> |
---|
4051 | |
---|
4052 | <p> |
---|
4053 | |
---|
4054 | <p> |
---|
4055 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00068">68</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4056 | </tr> |
---|
4057 | </table> |
---|
4058 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp3" doxytag="OgreRefApp::CollideCamera::mMass" ></a><p> |
---|
4059 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4060 | <tr> |
---|
4061 | <td class="mdRow"> |
---|
4062 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4063 | <tr> |
---|
4064 | <td class="md" nowrap valign="top"> dMass <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp3">OgreRefApp::ApplicationObject::mMass</a><code> [protected, inherited]</code> |
---|
4065 | </table> |
---|
4066 | </td> |
---|
4067 | </tr> |
---|
4068 | </table> |
---|
4069 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4070 | <tr> |
---|
4071 | <td> |
---|
4072 | |
---|
4073 | </td> |
---|
4074 | <td> |
---|
4075 | |
---|
4076 | <p> |
---|
4077 | Mass parameters. |
---|
4078 | <p> |
---|
4079 | |
---|
4080 | <p> |
---|
4081 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00052">52</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4082 | </tr> |
---|
4083 | </table> |
---|
4084 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp2" doxytag="OgreRefApp::CollideCamera::mOdeBody" ></a><p> |
---|
4085 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4086 | <tr> |
---|
4087 | <td class="mdRow"> |
---|
4088 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4089 | <tr> |
---|
4090 | <td class="md" nowrap valign="top"> dBody* <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp2">OgreRefApp::ApplicationObject::mOdeBody</a><code> [protected, inherited]</code> |
---|
4091 | </table> |
---|
4092 | </td> |
---|
4093 | </tr> |
---|
4094 | </table> |
---|
4095 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4096 | <tr> |
---|
4097 | <td> |
---|
4098 | |
---|
4099 | </td> |
---|
4100 | <td> |
---|
4101 | |
---|
4102 | <p> |
---|
4103 | Dynamics properties, must be set up by subclasses if dynamics enabled. |
---|
4104 | <p> |
---|
4105 | |
---|
4106 | <p> |
---|
4107 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00050">50</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4108 | </tr> |
---|
4109 | </table> |
---|
4110 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp6" doxytag="OgreRefApp::CollideCamera::mReenableIfInteractedWith" ></a><p> |
---|
4111 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4112 | <tr> |
---|
4113 | <td class="mdRow"> |
---|
4114 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4115 | <tr> |
---|
4116 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp6">OgreRefApp::ApplicationObject::mReenableIfInteractedWith</a><code> [protected, inherited]</code> |
---|
4117 | </table> |
---|
4118 | </td> |
---|
4119 | </tr> |
---|
4120 | </table> |
---|
4121 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4122 | <tr> |
---|
4123 | <td> |
---|
4124 | |
---|
4125 | </td> |
---|
4126 | <td> |
---|
4127 | |
---|
4128 | <p> |
---|
4129 | |
---|
4130 | <p> |
---|
4131 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00061">61</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4132 | </tr> |
---|
4133 | </table> |
---|
4134 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp0" doxytag="OgreRefApp::CollideCamera::mSceneNode" ></a><p> |
---|
4135 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4136 | <tr> |
---|
4137 | <td class="mdRow"> |
---|
4138 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4139 | <tr> |
---|
4140 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a>* <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp0">OgreRefApp::ApplicationObject::mSceneNode</a><code> [protected, inherited]</code> |
---|
4141 | </table> |
---|
4142 | </td> |
---|
4143 | </tr> |
---|
4144 | </table> |
---|
4145 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4146 | <tr> |
---|
4147 | <td> |
---|
4148 | |
---|
4149 | </td> |
---|
4150 | <td> |
---|
4151 | |
---|
4152 | <p> |
---|
4153 | |
---|
4154 | <p> |
---|
4155 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00046">46</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4156 | </tr> |
---|
4157 | </table> |
---|
4158 | <a class="anchor" name="OgreRefApp_1_1OgreHeadp10" doxytag="OgreRefApp::CollideCamera::mSoftness" ></a><p> |
---|
4159 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4160 | <tr> |
---|
4161 | <td class="mdRow"> |
---|
4162 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4163 | <tr> |
---|
4164 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html#OgreRefApp_1_1OgreHeadp10">OgreRefApp::ApplicationObject::mSoftness</a><code> [protected, inherited]</code> |
---|
4165 | </table> |
---|
4166 | </td> |
---|
4167 | </tr> |
---|
4168 | </table> |
---|
4169 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4170 | <tr> |
---|
4171 | <td> |
---|
4172 | |
---|
4173 | </td> |
---|
4174 | <td> |
---|
4175 | |
---|
4176 | <p> |
---|
4177 | |
---|
4178 | <p> |
---|
4179 | Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00066">66</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. </td> |
---|
4180 | </tr> |
---|
4181 | </table> |
---|
4182 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
4183 | <li><a class="el" href="OgreRefAppCollideCamera_8h-source.html">OgreRefAppCollideCamera.h</a></ul> |
---|
4184 | <hr> |
---|
4185 | <p> |
---|
4186 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
4187 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
4188 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
4189 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
4190 | <Work rdf:about=""> |
---|
4191 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
4192 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
4193 | </Work> |
---|
4194 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
4195 | |
---|
4196 | Last modified Sun Feb 12 13:11:52 2006 |
---|
4197 | </p> |
---|
4198 | </body> |
---|
4199 | </html> |
---|