V-Gears 0
Free Final Fantasy VII engine.
ParticleSystemTranslatorManager.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 <OgreScriptTranslator.h>
19#include <OgreSingleton.h>
24
25
29class ParticleSystemTranslatorManager : public Ogre::ScriptTranslatorManager{
30
31 public:
32
38 size_t getNumTranslators() const;
39
47 Ogre::ScriptTranslator *getTranslator(
48 const Ogre::AbstractNodePtr &node
49 );
50
51 private:
52
57
62
67
72};
73
A particle emitter translator for the Ogre system.
Definition: ParticleEmitterTranslator.h:24
Particle renderer translator for the Ogre system.
Definition: ParticleRendererTranslator.h:24
The particle system translator manager.
Definition: ParticleSystemTranslatorManager.h:29
Ogre::ScriptTranslator * getTranslator(const Ogre::AbstractNodePtr &node)
Retreieves the translator for a node.
Definition: ParticleSystemTranslatorManager.cpp:25
ParticleSystemTranslator particle_system_translator_
The particle system translator.
Definition: ParticleSystemTranslatorManager.h:66
ParticleTechniqueTranslator technique_translator_
The technique translator.
Definition: ParticleSystemTranslatorManager.h:71
ParticleRendererTranslator renderer_translator_
The renderer translator.
Definition: ParticleSystemTranslatorManager.h:61
size_t getNumTranslators() const
Get the translator count.
Definition: ParticleSystemTranslatorManager.cpp:19
ParticleEmitterTranslator emitter_translator_
The particle emitter translator.
Definition: ParticleSystemTranslatorManager.h:56
Particle system translator for the Ogre system.
Definition: ParticleSystemTranslator.h:24
Particle technique translator for the Ogre system.
Definition: ParticleTechniqueTranslator.h:24