[692] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>OgreLight.h Source File - 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>OgreLight.h</h1><a href="OgreLight_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span> |
---|
| 11 | 00002 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
| 12 | 00003 <span class="comment">This source file is part of OGRE</span> |
---|
| 13 | 00004 <span class="comment"> (Object-oriented Graphics Rendering Engine)</span> |
---|
| 14 | 00005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span> |
---|
| 15 | 00006 <span class="comment"></span> |
---|
| 16 | 00007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span> |
---|
| 17 | 00008 <span class="comment">Also see acknowledgements in Readme.html</span> |
---|
| 18 | 00009 <span class="comment"></span> |
---|
| 19 | 00010 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span> |
---|
| 20 | 00011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span> |
---|
| 21 | 00012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span> |
---|
| 22 | 00013 <span class="comment">version.</span> |
---|
| 23 | 00014 <span class="comment"></span> |
---|
| 24 | 00015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span> |
---|
| 25 | 00016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span> |
---|
| 26 | 00017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span> |
---|
| 27 | 00018 <span class="comment"></span> |
---|
| 28 | 00019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span> |
---|
| 29 | 00020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span> |
---|
| 30 | 00021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span> |
---|
| 31 | 00022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span> |
---|
| 32 | 00023 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
| 33 | 00024 <span class="comment">*/</span> |
---|
| 34 | 00025 <span class="preprocessor">#ifndef _LIGHT_H__</span> |
---|
| 35 | 00026 <span class="preprocessor"></span><span class="preprocessor">#define _LIGHT_H__</span> |
---|
| 36 | 00027 <span class="preprocessor"></span> |
---|
| 37 | 00028 <span class="preprocessor">#include "<a class="code" href="OgrePrerequisites_8h.html">OgrePrerequisites.h</a>"</span> |
---|
| 38 | 00029 |
---|
| 39 | 00030 <span class="preprocessor">#include "<a class="code" href="OgreColourValue_8h.html">OgreColourValue.h</a>"</span> |
---|
| 40 | 00031 <span class="preprocessor">#include "<a class="code" href="OgreVector3_8h.html">OgreVector3.h</a>"</span> |
---|
| 41 | 00032 <span class="preprocessor">#include "<a class="code" href="OgreVector4_8h.html">OgreVector4.h</a>"</span> |
---|
| 42 | 00033 <span class="preprocessor">#include "<a class="code" href="OgreString_8h.html">OgreString.h</a>"</span> |
---|
| 43 | 00034 <span class="preprocessor">#include "<a class="code" href="OgreMovableObject_8h.html">OgreMovableObject.h</a>"</span> |
---|
| 44 | 00035 <span class="preprocessor">#include "<a class="code" href="OgrePlaneBoundedVolume_8h.html">OgrePlaneBoundedVolume.h</a>"</span> |
---|
| 45 | 00036 |
---|
| 46 | 00037 <span class="keyword">namespace </span>Ogre { |
---|
| 47 | 00038 |
---|
| 48 | 00039 |
---|
| 49 | <a name="l00062"></a><a class="code" href="classOgre_1_1Light.html">00062</a> <span class="keyword">class </span><a class="code" href="OgrePlatform_8h.html#a16">_OgreExport</a> Light : <span class="keyword">public</span> <a class="code" href="classOgre_1_1MovableObject.html">MovableObject</a> |
---|
| 50 | 00063 { |
---|
| 51 | 00064 <span class="keyword">public</span>: |
---|
| 52 | <a name="l00066"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lighto0">00066</a> <a class="code" href="namespaceOgre.html#a465">Real</a> tempSquareDist; |
---|
| 53 | 00067 |
---|
| 54 | <a name="l00069"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightw3">00069</a> <span class="keyword">enum</span> LightTypes |
---|
| 55 | 00070 { |
---|
| 56 | 00072 LT_POINT, |
---|
| 57 | 00074 LT_DIRECTIONAL, |
---|
| 58 | 00076 LT_SPOTLIGHT |
---|
| 59 | 00077 }; |
---|
| 60 | 00078 |
---|
| 61 | 00081 Light(); |
---|
| 62 | 00082 |
---|
| 63 | 00085 Light(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& name); |
---|
| 64 | 00086 |
---|
| 65 | 00089 ~Light(); |
---|
| 66 | 00090 |
---|
| 67 | 00093 <span class="keywordtype">void</span> setType(LightTypes type); |
---|
| 68 | 00094 |
---|
| 69 | 00097 LightTypes getType(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 70 | 00098 |
---|
| 71 | 00108 <span class="keywordtype">void</span> setDiffuseColour(<a class="code" href="namespaceOgre.html#a465">Real</a> red, <a class="code" href="namespaceOgre.html#a465">Real</a> green, <a class="code" href="namespaceOgre.html#a465">Real</a> blue); |
---|
| 72 | 00109 |
---|
| 73 | 00119 <span class="keywordtype">void</span> setDiffuseColour(<span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a>& colour); |
---|
| 74 | 00120 |
---|
| 75 | 00123 <span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a>& getDiffuseColour(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 76 | 00124 |
---|
| 77 | 00134 <span class="keywordtype">void</span> setSpecularColour(<a class="code" href="namespaceOgre.html#a465">Real</a> red, <a class="code" href="namespaceOgre.html#a465">Real</a> green, <a class="code" href="namespaceOgre.html#a465">Real</a> blue); |
---|
| 78 | 00135 |
---|
| 79 | 00145 <span class="keywordtype">void</span> setSpecularColour(<span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a>& colour); |
---|
| 80 | 00146 |
---|
| 81 | 00149 <span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a>& getSpecularColour(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 82 | 00150 |
---|
| 83 | 00170 <span class="keywordtype">void</span> setAttenuation(<a class="code" href="namespaceOgre.html#a465">Real</a> range, <a class="code" href="namespaceOgre.html#a465">Real</a> constant, <a class="code" href="namespaceOgre.html#a465">Real</a> linear, <a class="code" href="namespaceOgre.html#a465">Real</a> quadratic); |
---|
| 84 | 00171 |
---|
| 85 | 00174 <a class="code" href="namespaceOgre.html#a465">Real</a> getAttenuationRange(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 86 | 00175 |
---|
| 87 | 00178 <a class="code" href="namespaceOgre.html#a465">Real</a> getAttenuationConstant(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 88 | 00179 |
---|
| 89 | 00182 <a class="code" href="namespaceOgre.html#a465">Real</a> getAttenuationLinear(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 90 | 00183 |
---|
| 91 | 00186 <a class="code" href="namespaceOgre.html#a465">Real</a> getAttenuationQuadric(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 92 | 00187 |
---|
| 93 | 00194 <span class="keywordtype">void</span> setPosition(<a class="code" href="namespaceOgre.html#a465">Real</a> x, <a class="code" href="namespaceOgre.html#a465">Real</a> y, <a class="code" href="namespaceOgre.html#a465">Real</a> z); |
---|
| 94 | 00195 |
---|
| 95 | 00202 <span class="keywordtype">void</span> setPosition(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a>& vec); |
---|
| 96 | 00203 |
---|
| 97 | 00208 <span class="keyword">const</span> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a>& getPosition(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 98 | 00209 |
---|
| 99 | 00216 <span class="keywordtype">void</span> setDirection(<a class="code" href="namespaceOgre.html#a465">Real</a> x, <a class="code" href="namespaceOgre.html#a465">Real</a> y, <a class="code" href="namespaceOgre.html#a465">Real</a> z); |
---|
| 100 | 00217 |
---|
| 101 | 00224 <span class="keywordtype">void</span> setDirection(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a>& vec); |
---|
| 102 | 00225 |
---|
| 103 | 00230 <span class="keyword">const</span> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a>& getDirection(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 104 | 00231 |
---|
| 105 | 00242 <span class="keywordtype">void</span> setSpotlightRange(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>& innerAngle, <span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>& outerAngle, <a class="code" href="namespaceOgre.html#a465">Real</a> falloff = 1.0); |
---|
| 106 | 00243 <span class="preprocessor">#ifndef OGRE_FORCE_ANGLE_TYPES</span> |
---|
| 107 | 00244 <span class="preprocessor"></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> setSpotlightRange(<a class="code" href="namespaceOgre.html#a465">Real</a> innerAngle, <a class="code" href="namespaceOgre.html#a465">Real</a> outerAngle, <a class="code" href="namespaceOgre.html#a465">Real</a> falloff = 1.0) { |
---|
| 108 | 00245 setSpotlightRange ( <a class="code" href="classOgre_1_1Angle.html">Angle</a>(innerAngle), <a class="code" href="classOgre_1_1Angle.html">Angle</a>(outerAngle), falloff ); |
---|
| 109 | 00246 } |
---|
| 110 | 00247 <span class="preprocessor">#endif//OGRE_FORCE_ANGLE_TYPES</span> |
---|
| 111 | 00248 <span class="preprocessor"></span> |
---|
| 112 | 00251 <span class="keyword">const</span> Radian& getSpotlightInnerAngle(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 113 | 00252 |
---|
| 114 | 00255 <span class="keyword">const</span> Radian& getSpotlightOuterAngle(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 115 | 00256 |
---|
| 116 | 00259 Real getSpotlightFalloff(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 117 | 00260 |
---|
| 118 | 00263 <span class="keywordtype">void</span> setSpotlightInnerAngle(<span class="keyword">const</span> Radian& val); |
---|
| 119 | 00264 |
---|
| 120 | 00267 <span class="keywordtype">void</span> setSpotlightOuterAngle(<span class="keyword">const</span> Radian& val); |
---|
| 121 | 00268 |
---|
| 122 | 00271 <span class="keywordtype">void</span> setSpotlightFalloff(Real val); |
---|
| 123 | 00272 |
---|
| 124 | 00280 <span class="keywordtype">void</span> setPowerScale(Real power); |
---|
| 125 | 00281 |
---|
| 126 | 00285 Real getPowerScale(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 127 | 00286 |
---|
| 128 | 00288 <span class="keyword">const</span> AxisAlignedBox& getBoundingBox(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 129 | 00289 |
---|
| 130 | 00291 <span class="keywordtype">void</span> _updateRenderQueue(RenderQueue* queue); |
---|
| 131 | 00292 |
---|
| 132 | 00294 <span class="keyword">const</span> String& getMovableType(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 133 | 00295 |
---|
| 134 | 00297 <span class="keyword">const</span> Vector3& getDerivedPosition(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 135 | 00298 |
---|
| 136 | 00300 <span class="keyword">const</span> Vector3& getDerivedDirection(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 137 | 00301 |
---|
| 138 | 00307 <span class="keywordtype">void</span> setVisible(<span class="keywordtype">bool</span> visible); |
---|
| 139 | 00308 |
---|
| 140 | <a name="l00310"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lighta37">00310</a> <a class="code" href="namespaceOgre.html#a465">Real</a> getBoundingRadius(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; <span class="comment">/* not visible */</span> } |
---|
| 141 | 00311 |
---|
| 142 | 00320 <a class="code" href="classOgre_1_1Vector4.html">Vector4</a> getAs4DVector(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 143 | 00321 |
---|
| 144 | 00331 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classOgre_1_1PlaneBoundedVolume.html">PlaneBoundedVolume</a>& _getNearClipVolume(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Camera.html">Camera</a>* <span class="keyword">const</span> cam) <span class="keyword">const</span>; |
---|
| 145 | 00332 |
---|
| 146 | 00339 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a454">PlaneBoundedVolumeList</a>& _getFrustumClipVolumes(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Camera.html">Camera</a>* <span class="keyword">const</span> cam) <span class="keyword">const</span>; |
---|
| 147 | 00340 |
---|
| 148 | 00342 <a class="code" href="namespaceOgre.html#a455">uint32</a> getTypeFlags(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 149 | 00343 |
---|
| 150 | 00345 <a class="code" href="classOgre_1_1SharedPtr.html">AnimableValuePtr</a> createAnimableValue(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& valueName); |
---|
| 151 | 00346 |
---|
| 152 | 00347 <span class="keyword">protected</span>: |
---|
| 153 | 00349 <span class="keyword">virtual</span> <span class="keywordtype">void</span> update(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 154 | 00350 |
---|
| 155 | 00352 <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& getAnimableDictionaryName(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 156 | 00354 <span class="keywordtype">void</span> initialiseAnimableDictionary(<a class="code" href="namespaceOgre.html#a580">StringVector</a>& vec) <span class="keyword">const</span>; |
---|
| 157 | 00355 |
---|
| 158 | <a name="l00356"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp0">00356</a> LightTypes mLightType; |
---|
| 159 | <a name="l00357"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp1">00357</a> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a> mPosition; |
---|
| 160 | <a name="l00358"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp2">00358</a> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a> mDiffuse; |
---|
| 161 | <a name="l00359"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp3">00359</a> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a> mSpecular; |
---|
| 162 | 00360 |
---|
| 163 | <a name="l00361"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp4">00361</a> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a> mDirection; |
---|
| 164 | 00362 |
---|
| 165 | <a name="l00363"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp5">00363</a> <a class="code" href="classOgre_1_1Radian.html">Radian</a> mSpotOuter; |
---|
| 166 | <a name="l00364"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp6">00364</a> <a class="code" href="classOgre_1_1Radian.html">Radian</a> mSpotInner; |
---|
| 167 | <a name="l00365"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp7">00365</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mSpotFalloff; |
---|
| 168 | <a name="l00366"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp8">00366</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mRange; |
---|
| 169 | <a name="l00367"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp9">00367</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mAttenuationConst; |
---|
| 170 | <a name="l00368"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp10">00368</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mAttenuationLinear; |
---|
| 171 | <a name="l00369"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp11">00369</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mAttenuationQuad; |
---|
| 172 | <a name="l00370"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp12">00370</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mPowerScale; |
---|
| 173 | 00371 |
---|
| 174 | <a name="l00372"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp13">00372</a> <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a> mDerivedPosition; |
---|
| 175 | <a name="l00373"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp14">00373</a> <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a> mDerivedDirection; |
---|
| 176 | <a name="l00375"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp15">00375</a> <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1Quaternion.html">Quaternion</a> mLastParentOrientation; |
---|
| 177 | <a name="l00376"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp16">00376</a> <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1Vector3.html">Vector3</a> mLastParentPosition; |
---|
| 178 | 00377 |
---|
| 179 | <a name="l00379"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightt0">00379</a> <span class="keyword">static</span> <a class="code" href="namespaceOgre.html#a471">String</a> msMovableType; |
---|
| 180 | 00380 |
---|
| 181 | <a name="l00381"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp17">00381</a> <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1PlaneBoundedVolume.html">PlaneBoundedVolume</a> mNearClipVolume; |
---|
| 182 | <a name="l00382"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp18">00382</a> <span class="keyword">mutable</span> <a class="code" href="namespaceOgre.html#a454">PlaneBoundedVolumeList</a> mFrustumClipVolumes; |
---|
| 183 | <a name="l00384"></a><a class="code" href="classOgre_1_1Light.html#Ogre_1_1Lightp19">00384</a> <span class="keyword">mutable</span> <span class="keywordtype">bool</span> mLocalTransformDirty; |
---|
| 184 | 00385 |
---|
| 185 | 00386 |
---|
| 186 | 00387 |
---|
| 187 | 00388 }; |
---|
| 188 | 00389 |
---|
| 189 | <a name="l00391"></a><a class="code" href="classOgre_1_1LightFactory.html">00391</a> <span class="keyword">class </span><a class="code" href="class__OgreExport.html">_OgreExport</a> LightFactory : <span class="keyword">public</span> <a class="code" href="classOgre_1_1MovableObjectFactory.html">MovableObjectFactory</a> |
---|
| 190 | 00392 { |
---|
| 191 | 00393 <span class="keyword">protected</span>: |
---|
| 192 | 00394 <a class="code" href="classOgre_1_1MovableObject.html">MovableObject</a>* createInstanceImpl( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& name, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a76">NameValuePairList</a>* params); |
---|
| 193 | 00395 <span class="keyword">public</span>: |
---|
| 194 | <a name="l00396"></a><a class="code" href="classOgre_1_1LightFactory.html#Ogre_1_1LightFactorya0">00396</a> LightFactory() {} |
---|
| 195 | <a name="l00397"></a><a class="code" href="classOgre_1_1LightFactory.html#Ogre_1_1LightFactorya1">00397</a> ~LightFactory() {} |
---|
| 196 | 00398 |
---|
| 197 | <a name="l00399"></a><a class="code" href="classOgre_1_1LightFactory.html#Ogre_1_1LightFactorys0">00399</a> <span class="keyword">static</span> <a class="code" href="namespaceOgre.html#a471">String</a> FACTORY_TYPE_NAME; |
---|
| 198 | 00400 |
---|
| 199 | 00401 <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& getType(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
| 200 | 00402 <span class="keywordtype">void</span> destroyInstance( <a class="code" href="classOgre_1_1MovableObject.html">MovableObject</a>* obj); |
---|
| 201 | 00403 |
---|
| 202 | 00404 }; |
---|
| 203 | 00405 |
---|
| 204 | 00406 } <span class="comment">// Namespace</span> |
---|
| 205 | 00407 <span class="preprocessor">#endif</span> |
---|
| 206 | </pre></div><hr> |
---|
| 207 | <p> |
---|
| 208 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 209 | <!--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/> |
---|
| 210 | 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/> |
---|
| 211 | <!--/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#"> |
---|
| 212 | <Work rdf:about=""> |
---|
| 213 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 214 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 215 | </Work> |
---|
| 216 | <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> --> |
---|
| 217 | |
---|
| 218 | Last modified Sun Mar 12 14:37:43 2006 |
---|
| 219 | </p> |
---|
| 220 | </body> |
---|
| 221 | </html> |
---|