OgreParticleEmitterCommands.h
Go to the documentation of this file.
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-2013 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 CmdDirPositionRef : public ParamCommand
00092         {
00093         public:
00094             String doGet(const void* target) const;
00095             void doSet(void* target, const String& val);
00096         };
00097 
00099         class _OgreExport CmdEmissionRate : public ParamCommand
00100         {
00101         public:
00102             String doGet(const void* target) const;
00103             void doSet(void* target, const String& val);
00104         };
00106         class _OgreExport CmdVelocity : public ParamCommand
00107         {
00108         public:
00109             String doGet(const void* target) const;
00110             void doSet(void* target, const String& val);
00111         };
00113         class _OgreExport CmdMinVelocity : public ParamCommand
00114         {
00115         public:
00116             String doGet(const void* target) const;
00117             void doSet(void* target, const String& val);
00118         };
00120         class _OgreExport CmdMaxVelocity : public ParamCommand
00121         {
00122         public:
00123             String doGet(const void* target) const;
00124             void doSet(void* target, const String& val);
00125         };
00127         class _OgreExport CmdTTL : public ParamCommand
00128         {
00129         public:
00130             String doGet(const void* target) const;
00131             void doSet(void* target, const String& val);
00132         };
00134         class _OgreExport CmdMinTTL : public ParamCommand
00135         {
00136         public:
00137             String doGet(const void* target) const;
00138             void doSet(void* target, const String& val);
00139         };
00141         class _OgreExport CmdMaxTTL : public ParamCommand
00142         {
00143         public:
00144             String doGet(const void* target) const;
00145             void doSet(void* target, const String& val);
00146         };
00148         class _OgreExport CmdPosition : public ParamCommand
00149         {
00150         public:
00151             String doGet(const void* target) const;
00152             void doSet(void* target, const String& val);
00153         };
00155         class _OgreExport CmdDuration : public ParamCommand
00156         {
00157         public:
00158             String doGet(const void* target) const;
00159             void doSet(void* target, const String& val);
00160         };
00162         class _OgreExport CmdMinDuration : public ParamCommand
00163         {
00164         public:
00165             String doGet(const void* target) const;
00166             void doSet(void* target, const String& val);
00167         };
00169         class _OgreExport CmdMaxDuration : public ParamCommand
00170         {
00171         public:
00172             String doGet(const void* target) const;
00173             void doSet(void* target, const String& val);
00174         };
00176         class _OgreExport CmdRepeatDelay : public ParamCommand
00177         {
00178         public:
00179             String doGet(const void* target) const;
00180             void doSet(void* target, const String& val);
00181         };
00183         class _OgreExport CmdMinRepeatDelay : public ParamCommand
00184         {
00185         public:
00186             String doGet(const void* target) const;
00187             void doSet(void* target, const String& val);
00188         };
00190         class _OgreExport CmdMaxRepeatDelay : public ParamCommand
00191         {
00192         public:
00193             String doGet(const void* target) const;
00194             void doSet(void* target, const String& val);
00195         };
00197         class _OgreExport CmdName : public ParamCommand
00198         {
00199         public:
00200             String doGet(const void* target) const;
00201             void doSet(void* target, const String& val);
00202         };
00203 
00205         class _OgreExport CmdEmittedEmitter : public ParamCommand
00206         {
00207         public:
00208             String doGet(const void* target) const;
00209             void doSet(void* target, const String& val);
00210         };
00211 
00212     }
00216 }
00217 
00218 
00219 
00220 
00221 
00222 #endif
00223 

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:40:44