V-Gears 0
Free Final Fantasy VII engine.
ParticleEmitterDictionary.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 The V-Gears Team
3 *
4 * This file is part of V-Gears
5 *
6 * V-Gears is free software: you can redistribute it and/or modify it under
7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation, version 3.0 (GPLv3) of the License.
9 *
10 * V-Gears is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#pragma once
17
18#include <OgreStringInterface.h>
19
21
25 class EmissionRate : public Ogre::ParamCommand{
26
27 public:
28
34 Ogre::String doGet(const void* target) const{return "";};
35
42 void doSet(void* target, const Ogre::String& val);
43 };
44
48 class TotalTimeToLive : public Ogre::ParamCommand{
49
50 public:
51
57 Ogre::String doGet(const void* target) const{return "";};
58
65 void doSet(void* target, const Ogre::String& val);
66 };
67
71 class Direction : public Ogre::ParamCommand{
72
73 public:
74
80 Ogre::String doGet(const void* target) const {return "";};
81
88 void doSet(void* target, const Ogre::String& val);
89 };
90}
91
The direction at which an emitter emits particles.
Definition: ParticleEmitterDictionary.h:71
Ogre::String doGet(const void *target) const
Retrieves the direction.
Definition: ParticleEmitterDictionary.h:80
void doSet(void *target, const Ogre::String &val)
Sets the direction.
Definition: ParticleEmitterDictionary.cpp:36
The emission rate of a particle emitter.
Definition: ParticleEmitterDictionary.h:25
void doSet(void *target, const Ogre::String &val)
Sets the emission rate.
Definition: ParticleEmitterDictionary.cpp:24
Ogre::String doGet(const void *target) const
Retrieves the emission rate.
Definition: ParticleEmitterDictionary.h:34
The total time to live for particles emitted by an emitter.
Definition: ParticleEmitterDictionary.h:48
void doSet(void *target, const Ogre::String &val)
Sets the total time to live.
Definition: ParticleEmitterDictionary.cpp:30
Ogre::String doGet(const void *target) const
Retrieves the total time to live.
Definition: ParticleEmitterDictionary.h:57
Definition: ParticleEmitterDictionary.cpp:22
Ogre::String String
Definition: TypeDefine.h:37