File ParticleSystemWrapper.h¶
Defines
-
__NODE_ID_TYPE
¶
-
namespace
Gsage
-
class
ParticleSystemWrapper
: public Gsage::OgreObject Public Functions
-
ParticleSystemWrapper
()¶
-
virtual
~ParticleSystemWrapper
()¶
-
bool
read
(const DataProxy &dict)¶ Override default behavior for read
-
void
setTemplate
(const std::string &templateName)¶ Set particle system template. Note that it requires particle system recreation
- Parameters
templateName
: Template name
-
const std::string &
getTemplate
() const¶ Get particle system template name
-
void
createParticle
(unsigned short index, __NODE_ID_TYPE nodeId)¶ Manualy create particle in the system
- Parameters
index
: Index of the emitternodeId
: Emit particle from the specified node
-
void
createParticle
(unsigned short index, __NODE_ID_TYPE nodeId, const std::string &value)¶ Manually create text particle in the system Particle system type should be “manual_text” to use this method. Otherwise it will just generate a particle
- Parameters
index
: Index of the emitternodeId
: Emit particle from the specified nodevalue
: Text value
-
void
createParticle
(unsigned short index, __NODE_ID_TYPE nodeId, const std::string &value, const Ogre::Quaternion &rotation)¶ Manually create text particle in the system Particle system type should be “manual_text” to use this method. Otherwise it will just generate a particle
- Parameters
index
: Index of the emitternodeId
: Emit particle from the specified nodevalue
: Text valuerotate
: the emitter in the following direction
Public Static Attributes
-
const std::string
TYPE
¶
Private Functions
-
-
class