00001 /* 00002 ----------------------------------------------------------------------------- 00003 This source file is part of OGRE 00004 (Object-oriented Graphics Rendering Engine) 00005 For the latest info, see http://www.ogre3d.org/ 00006 00007 Copyright (c) 2000-2012 Torus Knot Software Ltd 00008 00009 Permission is hereby granted, free of charge, to any person obtaining a copy 00010 of this software and associated documentation files (the "Software"), to deal 00011 in the Software without restriction, including without limitation the rights 00012 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00013 copies of the Software, and to permit persons to whom the Software is 00014 furnished to do so, subject to the following conditions: 00015 00016 The above copyright notice and this permission notice shall be included in 00017 all copies or substantial portions of the Software. 00018 00019 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00020 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00021 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00022 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00023 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00024 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00025 THE SOFTWARE. 00026 ----------------------------------------------------------------------------- 00027 */ 00028 #ifndef __ParticleEmitterCommands_H__ 00029 #define __ParticleEmitterCommands_H__ 00030 00031 #include "OgrePrerequisites.h" 00032 #include "OgreStringInterface.h" 00033 00034 namespace Ogre { 00035 00043 namespace EmitterCommands { 00045 class _OgreExport CmdAngle : public ParamCommand 00046 { 00047 public: 00048 String doGet(const void* target) const; 00049 void doSet(void* target, const String& val); 00050 }; 00052 class _OgreExport CmdColour : public ParamCommand 00053 { 00054 public: 00055 String doGet(const void* target) const; 00056 void doSet(void* target, const String& val); 00057 }; 00058 00060 class _OgreExport CmdColourRangeStart : public ParamCommand 00061 { 00062 public: 00063 String doGet(const void* target) const; 00064 void doSet(void* target, const String& val); 00065 }; 00067 class _OgreExport CmdColourRangeEnd : public ParamCommand 00068 { 00069 public: 00070 String doGet(const void* target) const; 00071 void doSet(void* target, const String& val); 00072 }; 00073 00075 class _OgreExport CmdDirection : public ParamCommand 00076 { 00077 public: 00078 String doGet(const void* target) const; 00079 void doSet(void* target, const String& val); 00080 }; 00081 00083 class _OgreExport CmdUp : public ParamCommand 00084 { 00085 public: 00086 String doGet(const void* target) const; 00087 void doSet(void* target, const String& val); 00088 }; 00089 00091 class _OgreExport CmdEmissionRate : public ParamCommand 00092 { 00093 public: 00094 String doGet(const void* target) const; 00095 void doSet(void* target, const String& val); 00096 }; 00098 class _OgreExport CmdVelocity : public ParamCommand 00099 { 00100 public: 00101 String doGet(const void* target) const; 00102 void doSet(void* target, const String& val); 00103 }; 00105 class _OgreExport CmdMinVelocity : public ParamCommand 00106 { 00107 public: 00108 String doGet(const void* target) const; 00109 void doSet(void* target, const String& val); 00110 }; 00112 class _OgreExport CmdMaxVelocity : public ParamCommand 00113 { 00114 public: 00115 String doGet(const void* target) const; 00116 void doSet(void* target, const String& val); 00117 }; 00119 class _OgreExport CmdTTL : public ParamCommand 00120 { 00121 public: 00122 String doGet(const void* target) const; 00123 void doSet(void* target, const String& val); 00124 }; 00126 class _OgreExport CmdMinTTL : public ParamCommand 00127 { 00128 public: 00129 String doGet(const void* target) const; 00130 void doSet(void* target, const String& val); 00131 }; 00133 class _OgreExport CmdMaxTTL : public ParamCommand 00134 { 00135 public: 00136 String doGet(const void* target) const; 00137 void doSet(void* target, const String& val); 00138 }; 00140 class _OgreExport CmdPosition : public ParamCommand 00141 { 00142 public: 00143 String doGet(const void* target) const; 00144 void doSet(void* target, const String& val); 00145 }; 00147 class _OgreExport CmdDuration : public ParamCommand 00148 { 00149 public: 00150 String doGet(const void* target) const; 00151 void doSet(void* target, const String& val); 00152 }; 00154 class _OgreExport CmdMinDuration : public ParamCommand 00155 { 00156 public: 00157 String doGet(const void* target) const; 00158 void doSet(void* target, const String& val); 00159 }; 00161 class _OgreExport CmdMaxDuration : public ParamCommand 00162 { 00163 public: 00164 String doGet(const void* target) const; 00165 void doSet(void* target, const String& val); 00166 }; 00168 class _OgreExport CmdRepeatDelay : public ParamCommand 00169 { 00170 public: 00171 String doGet(const void* target) const; 00172 void doSet(void* target, const String& val); 00173 }; 00175 class _OgreExport CmdMinRepeatDelay : public ParamCommand 00176 { 00177 public: 00178 String doGet(const void* target) const; 00179 void doSet(void* target, const String& val); 00180 }; 00182 class _OgreExport CmdMaxRepeatDelay : public ParamCommand 00183 { 00184 public: 00185 String doGet(const void* target) const; 00186 void doSet(void* target, const String& val); 00187 }; 00189 class _OgreExport CmdName : public ParamCommand 00190 { 00191 public: 00192 String doGet(const void* target) const; 00193 void doSet(void* target, const String& val); 00194 }; 00195 00197 class _OgreExport CmdEmittedEmitter : public ParamCommand 00198 { 00199 public: 00200 String doGet(const void* target) const; 00201 void doSet(void* target, const String& val); 00202 }; 00203 00204 } 00208 } 00209 00210 00211 00212 00213 00214 #endif 00215
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:36:25 2012