OgreParticleEmitterCommands.h
Go to the documentation of this file.
1 /*
2 -----------------------------------------------------------------------------
3 This source file is part of OGRE
4 (Object-oriented Graphics Rendering Engine)
5 For the latest info, see http://www.ogre3d.org/
6 
7 Copyright (c) 2000-2013 Torus Knot Software Ltd
8 
9 Permission is hereby granted, free of charge, to any person obtaining a copy
10 of this software and associated documentation files (the "Software"), to deal
11 in the Software without restriction, including without limitation the rights
12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 copies of the Software, and to permit persons to whom the Software is
14 furnished to do so, subject to the following conditions:
15 
16 The above copyright notice and this permission notice shall be included in
17 all copies or substantial portions of the Software.
18 
19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25 THE SOFTWARE.
26 -----------------------------------------------------------------------------
27 */
28 #ifndef __ParticleEmitterCommands_H__
29 #define __ParticleEmitterCommands_H__
30 
31 #include "OgrePrerequisites.h"
32 #include "OgreStringInterface.h"
33 
34 namespace Ogre {
35 
43  namespace EmitterCommands {
45  class _OgreExport CmdAngle : public ParamCommand
46  {
47  public:
48  String doGet(const void* target) const;
49  void doSet(void* target, const String& val);
50  };
52  class _OgreExport CmdColour : public ParamCommand
53  {
54  public:
55  String doGet(const void* target) const;
56  void doSet(void* target, const String& val);
57  };
58 
60  class _OgreExport CmdColourRangeStart : public ParamCommand
61  {
62  public:
63  String doGet(const void* target) const;
64  void doSet(void* target, const String& val);
65  };
67  class _OgreExport CmdColourRangeEnd : public ParamCommand
68  {
69  public:
70  String doGet(const void* target) const;
71  void doSet(void* target, const String& val);
72  };
73 
75  class _OgreExport CmdDirection : public ParamCommand
76  {
77  public:
78  String doGet(const void* target) const;
79  void doSet(void* target, const String& val);
80  };
81 
83  class _OgreExport CmdUp : public ParamCommand
84  {
85  public:
86  String doGet(const void* target) const;
87  void doSet(void* target, const String& val);
88  };
89 
91  class _OgreExport CmdDirPositionRef : public ParamCommand
92  {
93  public:
94  String doGet(const void* target) const;
95  void doSet(void* target, const String& val);
96  };
97 
99  class _OgreExport CmdEmissionRate : public ParamCommand
100  {
101  public:
102  String doGet(const void* target) const;
103  void doSet(void* target, const String& val);
104  };
106  class _OgreExport CmdVelocity : public ParamCommand
107  {
108  public:
109  String doGet(const void* target) const;
110  void doSet(void* target, const String& val);
111  };
113  class _OgreExport CmdMinVelocity : public ParamCommand
114  {
115  public:
116  String doGet(const void* target) const;
117  void doSet(void* target, const String& val);
118  };
120  class _OgreExport CmdMaxVelocity : public ParamCommand
121  {
122  public:
123  String doGet(const void* target) const;
124  void doSet(void* target, const String& val);
125  };
127  class _OgreExport CmdTTL : public ParamCommand
128  {
129  public:
130  String doGet(const void* target) const;
131  void doSet(void* target, const String& val);
132  };
134  class _OgreExport CmdMinTTL : public ParamCommand
135  {
136  public:
137  String doGet(const void* target) const;
138  void doSet(void* target, const String& val);
139  };
141  class _OgreExport CmdMaxTTL : public ParamCommand
142  {
143  public:
144  String doGet(const void* target) const;
145  void doSet(void* target, const String& val);
146  };
148  class _OgreExport CmdPosition : public ParamCommand
149  {
150  public:
151  String doGet(const void* target) const;
152  void doSet(void* target, const String& val);
153  };
155  class _OgreExport CmdDuration : public ParamCommand
156  {
157  public:
158  String doGet(const void* target) const;
159  void doSet(void* target, const String& val);
160  };
162  class _OgreExport CmdMinDuration : public ParamCommand
163  {
164  public:
165  String doGet(const void* target) const;
166  void doSet(void* target, const String& val);
167  };
169  class _OgreExport CmdMaxDuration : public ParamCommand
170  {
171  public:
172  String doGet(const void* target) const;
173  void doSet(void* target, const String& val);
174  };
176  class _OgreExport CmdRepeatDelay : public ParamCommand
177  {
178  public:
179  String doGet(const void* target) const;
180  void doSet(void* target, const String& val);
181  };
183  class _OgreExport CmdMinRepeatDelay : public ParamCommand
184  {
185  public:
186  String doGet(const void* target) const;
187  void doSet(void* target, const String& val);
188  };
190  class _OgreExport CmdMaxRepeatDelay : public ParamCommand
191  {
192  public:
193  String doGet(const void* target) const;
194  void doSet(void* target, const String& val);
195  };
197  class _OgreExport CmdName : public ParamCommand
198  {
199  public:
200  String doGet(const void* target) const;
201  void doSet(void* target, const String& val);
202  };
203 
205  class _OgreExport CmdEmittedEmitter : public ParamCommand
206  {
207  public:
208  String doGet(const void* target) const;
209  void doSet(void* target, const String& val);
210  };
211 
212  }
216 }
217 
218 
219 
220 
221 
222 #endif
223 
Ogre::EmitterCommands::CmdMaxVelocity
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:120
Ogre
Definition: OgreAndroidLogListener.h:34
Ogre::EmitterCommands::CmdMinVelocity
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:113
Ogre::EmitterCommands::CmdColourRangeEnd
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:67
Ogre::EmitterCommands::CmdColourRangeStart
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:60
Ogre::EmitterCommands::CmdMinTTL
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:134
Ogre::String
_StringBase String
Definition: OgrePrerequisites.h:439
Ogre::EmitterCommands::CmdUp
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:83
Ogre::ParamCommand
Abstract class which is command object which gets/sets parameters.
Definition: OgreStringInterface.h:79
Ogre::EmitterCommands::CmdMinRepeatDelay
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:183
Ogre::EmitterCommands::CmdName
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:197
Ogre::EmitterCommands::CmdDirPositionRef
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:91
OgreStringInterface.h
OgrePrerequisites.h
Ogre::EmitterCommands::CmdMaxTTL
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:141
Ogre::EmitterCommands::CmdAngle
Command object for ParticleEmitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:45
Ogre::EmitterCommands::CmdVelocity
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:106
Ogre::EmitterCommands::CmdDirection
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:75
Ogre::EmitterCommands::CmdPosition
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:148
Ogre::EmitterCommands::CmdEmittedEmitter
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:205
Ogre::EmitterCommands::CmdEmissionRate
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:99
Ogre::EmitterCommands::CmdDuration
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:155
Ogre::EmitterCommands::CmdMaxDuration
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:169
Ogre::EmitterCommands::CmdMaxRepeatDelay
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:190
Ogre::EmitterCommands::CmdTTL
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:127
Ogre::EmitterCommands::CmdColour
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:52
Ogre::EmitterCommands::CmdMinDuration
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:162
Ogre::EmitterCommands::CmdRepeatDelay
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:176

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 Tue Apr 13 2021 08:53:15