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-2006 Torus Knot Software Ltd 00008 Also see acknowledgements in Readme.html 00009 00010 This program is free software; you can redistribute it and/or modify it under 00011 the terms of the GNU Lesser General Public License as published by the Free Software 00012 Foundation; either version 2 of the License, or (at your option) any later 00013 version. 00014 00015 This program is distributed in the hope that it will be useful, but WITHOUT 00016 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00017 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public License along with 00020 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 00021 Place - Suite 330, Boston, MA 02111-1307, USA, or go to 00022 http://www.gnu.org/copyleft/lesser.txt. 00023 00024 You may alternatively use this source under the terms of a specific version of 00025 the OGRE Unrestricted License provided you have obtained such a license from 00026 Torus Knot Software Ltd. 00027 ----------------------------------------------------------------------------- 00028 */ 00029 #ifndef __ParticleEmitterCommands_H__ 00030 #define __ParticleEmitterCommands_H__ 00031 00032 #include "OgrePrerequisites.h" 00033 #include "OgreStringInterface.h" 00034 00035 namespace Ogre { 00036 00037 00038 namespace EmitterCommands { 00040 class _OgreExport CmdAngle : public ParamCommand 00041 { 00042 public: 00043 String doGet(const void* target) const; 00044 void doSet(void* target, const String& val); 00045 }; 00047 class _OgreExport CmdColour : public ParamCommand 00048 { 00049 public: 00050 String doGet(const void* target) const; 00051 void doSet(void* target, const String& val); 00052 }; 00053 00055 class _OgreExport CmdColourRangeStart : public ParamCommand 00056 { 00057 public: 00058 String doGet(const void* target) const; 00059 void doSet(void* target, const String& val); 00060 }; 00062 class _OgreExport CmdColourRangeEnd : public ParamCommand 00063 { 00064 public: 00065 String doGet(const void* target) const; 00066 void doSet(void* target, const String& val); 00067 }; 00068 00070 class _OgreExport CmdDirection : public ParamCommand 00071 { 00072 public: 00073 String doGet(const void* target) const; 00074 void doSet(void* target, const String& val); 00075 }; 00076 00078 class _OgreExport CmdEmissionRate : public ParamCommand 00079 { 00080 public: 00081 String doGet(const void* target) const; 00082 void doSet(void* target, const String& val); 00083 }; 00085 class _OgreExport CmdVelocity : public ParamCommand 00086 { 00087 public: 00088 String doGet(const void* target) const; 00089 void doSet(void* target, const String& val); 00090 }; 00092 class _OgreExport CmdMinVelocity : public ParamCommand 00093 { 00094 public: 00095 String doGet(const void* target) const; 00096 void doSet(void* target, const String& val); 00097 }; 00099 class _OgreExport CmdMaxVelocity : public ParamCommand 00100 { 00101 public: 00102 String doGet(const void* target) const; 00103 void doSet(void* target, const String& val); 00104 }; 00106 class _OgreExport CmdTTL : public ParamCommand 00107 { 00108 public: 00109 String doGet(const void* target) const; 00110 void doSet(void* target, const String& val); 00111 }; 00113 class _OgreExport CmdMinTTL : public ParamCommand 00114 { 00115 public: 00116 String doGet(const void* target) const; 00117 void doSet(void* target, const String& val); 00118 }; 00120 class _OgreExport CmdMaxTTL : public ParamCommand 00121 { 00122 public: 00123 String doGet(const void* target) const; 00124 void doSet(void* target, const String& val); 00125 }; 00127 class _OgreExport CmdPosition : public ParamCommand 00128 { 00129 public: 00130 String doGet(const void* target) const; 00131 void doSet(void* target, const String& val); 00132 }; 00134 class _OgreExport CmdDuration : public ParamCommand 00135 { 00136 public: 00137 String doGet(const void* target) const; 00138 void doSet(void* target, const String& val); 00139 }; 00141 class _OgreExport CmdMinDuration : public ParamCommand 00142 { 00143 public: 00144 String doGet(const void* target) const; 00145 void doSet(void* target, const String& val); 00146 }; 00148 class _OgreExport CmdMaxDuration : public ParamCommand 00149 { 00150 public: 00151 String doGet(const void* target) const; 00152 void doSet(void* target, const String& val); 00153 }; 00155 class _OgreExport CmdRepeatDelay : public ParamCommand 00156 { 00157 public: 00158 String doGet(const void* target) const; 00159 void doSet(void* target, const String& val); 00160 }; 00162 class _OgreExport CmdMinRepeatDelay : public ParamCommand 00163 { 00164 public: 00165 String doGet(const void* target) const; 00166 void doSet(void* target, const String& val); 00167 }; 00169 class _OgreExport CmdMaxRepeatDelay : public ParamCommand 00170 { 00171 public: 00172 String doGet(const void* target) const; 00173 void doSet(void* target, const String& val); 00174 }; 00176 class _OgreExport CmdName : public ParamCommand 00177 { 00178 public: 00179 String doGet(const void* target) const; 00180 void doSet(void* target, const String& val); 00181 }; 00182 00184 class _OgreExport CmdEmittedEmitter : public ParamCommand 00185 { 00186 public: 00187 String doGet(const void* target) const; 00188 void doSet(void* target, const String& val); 00189 }; 00190 00191 } 00192 00193 } 00194 00195 00196 00197 00198 00199 #endif 00200
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:02:24 2009