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-2009 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 CmdEmissionRate : public ParamCommand 00084 { 00085 public: 00086 String doGet(const void* target) const; 00087 void doSet(void* target, const String& val); 00088 }; 00090 class _OgreExport CmdVelocity : public ParamCommand 00091 { 00092 public: 00093 String doGet(const void* target) const; 00094 void doSet(void* target, const String& val); 00095 }; 00097 class _OgreExport CmdMinVelocity : public ParamCommand 00098 { 00099 public: 00100 String doGet(const void* target) const; 00101 void doSet(void* target, const String& val); 00102 }; 00104 class _OgreExport CmdMaxVelocity : public ParamCommand 00105 { 00106 public: 00107 String doGet(const void* target) const; 00108 void doSet(void* target, const String& val); 00109 }; 00111 class _OgreExport CmdTTL : public ParamCommand 00112 { 00113 public: 00114 String doGet(const void* target) const; 00115 void doSet(void* target, const String& val); 00116 }; 00118 class _OgreExport CmdMinTTL : public ParamCommand 00119 { 00120 public: 00121 String doGet(const void* target) const; 00122 void doSet(void* target, const String& val); 00123 }; 00125 class _OgreExport CmdMaxTTL : public ParamCommand 00126 { 00127 public: 00128 String doGet(const void* target) const; 00129 void doSet(void* target, const String& val); 00130 }; 00132 class _OgreExport CmdPosition : public ParamCommand 00133 { 00134 public: 00135 String doGet(const void* target) const; 00136 void doSet(void* target, const String& val); 00137 }; 00139 class _OgreExport CmdDuration : public ParamCommand 00140 { 00141 public: 00142 String doGet(const void* target) const; 00143 void doSet(void* target, const String& val); 00144 }; 00146 class _OgreExport CmdMinDuration : public ParamCommand 00147 { 00148 public: 00149 String doGet(const void* target) const; 00150 void doSet(void* target, const String& val); 00151 }; 00153 class _OgreExport CmdMaxDuration : public ParamCommand 00154 { 00155 public: 00156 String doGet(const void* target) const; 00157 void doSet(void* target, const String& val); 00158 }; 00160 class _OgreExport CmdRepeatDelay : public ParamCommand 00161 { 00162 public: 00163 String doGet(const void* target) const; 00164 void doSet(void* target, const String& val); 00165 }; 00167 class _OgreExport CmdMinRepeatDelay : public ParamCommand 00168 { 00169 public: 00170 String doGet(const void* target) const; 00171 void doSet(void* target, const String& val); 00172 }; 00174 class _OgreExport CmdMaxRepeatDelay : public ParamCommand 00175 { 00176 public: 00177 String doGet(const void* target) const; 00178 void doSet(void* target, const String& val); 00179 }; 00181 class _OgreExport CmdName : public ParamCommand 00182 { 00183 public: 00184 String doGet(const void* target) const; 00185 void doSet(void* target, const String& val); 00186 }; 00187 00189 class _OgreExport CmdEmittedEmitter : public ParamCommand 00190 { 00191 public: 00192 String doGet(const void* target) const; 00193 void doSet(void* target, const String& val); 00194 }; 00195 00196 } 00200 } 00201 00202 00203 00204 00205 00206 #endif 00207
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Nov 3 2010 19:24:52