Inheritance Graph
graph BT
ParticleEmitter
ParticleEmitter --> AbstractNodeBehaviour
ParticleBoxEmitter --> ParticleEmitter
ParticlePointEmitter --> ParticleEmitter
click ParticleEmitter "classMinSG_1_1ParticleEmitter"
click AbstractNodeBehaviour "classMinSG_1_1AbstractNodeBehaviour"
click ParticleBoxEmitter "classMinSG_1_1ParticleBoxEmitter"
click ParticlePointEmitter "classMinSG_1_1ParticlePointEmitter"
Description
An emitter (most likely created using ParticleSystemNode::createEmittter) is used to produce new particles. After creating the emitter is has to be registered with an behavior manager.
Author: Jans Krems, Benjamin Eikel
Date: 2010-06-15
Protected Attributes
Public Functions
Protected Functions
Documentation
variable
MinSG::ParticleEmitter::direction
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:159
variable
MinSG::ParticleEmitter::up
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:159
variable
MinSG::ParticleEmitter::directionVarianceAngle
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:160
variable
MinSG::ParticleEmitter::particlesPerSecond
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:161
variable
MinSG::ParticleEmitter::minSpeed
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:163
variable
MinSG::ParticleEmitter::maxSpeed
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:163
variable
MinSG::ParticleEmitter::minLife
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:165
variable
MinSG::ParticleEmitter::maxLife
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:165
variable
MinSG::ParticleEmitter::minColor
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:167
variable
MinSG::ParticleEmitter::maxColor
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:167
variable
MinSG::ParticleEmitter::numEmittedParticles
Number of particles that have been emitted already.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:170
variable
MinSG::ParticleEmitter::minWidth
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:172
variable
MinSG::ParticleEmitter::maxWidth
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:172
variable
MinSG::ParticleEmitter::minHeight
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:172
variable
MinSG::ParticleEmitter::maxHeight
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:172
variable
MinSG::ParticleEmitter::spawnNode
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:174
variable
MinSG::ParticleEmitter::enabled
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:196
variable
MinSG::ParticleEmitter::engine
Random number generator.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:199
function
MinSG::ParticleEmitter::ParticleEmitter
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:47
function
MinSG::ParticleEmitter::~ParticleEmitter
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:48
function
MinSG::ParticleEmitter::isEnabled
If this emitter currently is emitting. Some emitter may enable themselves (for example when they are emitting in intervals).
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:54
function
MinSG::ParticleEmitter::setSpawnNode
Set a node, newly spawned particles should be positioned at.
If none is set, the position of the particle system node is used.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:61
function
MinSG::ParticleEmitter::getSpawnNode
Get the node, newly spawned particles should be positioned at.
If none is set, the position of the particle system node is used.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:68
function
MinSG::ParticleEmitter::getDirection
Get direction in which new particles are directed
See also: getDirectionVarianceAngle
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:75
function
MinSG::ParticleEmitter::setDirection
Set direction in which new particles are directed.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:78
function
MinSG::ParticleEmitter::getDirectionVarianceAngle
Get angle by which the direction can differ.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:81
function
MinSG::ParticleEmitter::setDirectionVarianceAngle
Set angle by which the direciton can differ.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:86
function
MinSG::ParticleEmitter::getParticlesPerSecond
Get how many particles should be emitted per second.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:91
function
MinSG::ParticleEmitter::setParticlesPerSecond
Set how many particles should be emitted per second.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:94
function
MinSG::ParticleEmitter::getMinSpeed
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:99
function
MinSG::ParticleEmitter::getMaxSpeed
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:100
function
MinSG::ParticleEmitter::setMinSpeed
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:101
function
MinSG::ParticleEmitter::setMaxSpeed
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:102
function
MinSG::ParticleEmitter::getMinLife
Range of lifetime for newly created particles.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:105
function
MinSG::ParticleEmitter::getMaxLife
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:106
function
MinSG::ParticleEmitter::setMinLife
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:107
function
MinSG::ParticleEmitter::setMaxLife
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:108
function
MinSG::ParticleEmitter::getMinColor
Range of color for newly created particles.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:111
function
MinSG::ParticleEmitter::getMaxColor
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:112
function
MinSG::ParticleEmitter::setMinColor
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:113
function
MinSG::ParticleEmitter::setMaxColor
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:114
function
MinSG::ParticleEmitter::getMinWidth
Range of size for newly create particles.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:117
function
MinSG::ParticleEmitter::getMaxWidth
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:118
function
MinSG::ParticleEmitter::getMinHeight
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:119
function
MinSG::ParticleEmitter::getMaxHeight
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:120
function
MinSG::ParticleEmitter::setMinWidth
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:121
function
MinSG::ParticleEmitter::setMaxWidth
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:122
function
MinSG::ParticleEmitter::setMinHeight
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:123
function
MinSG::ParticleEmitter::setMaxHeight
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:124
function
MinSG::ParticleEmitter::getTimeOffset
Return the time offset for the starting time.
Returns
Time offset in seconds.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:131
function
MinSG::ParticleEmitter::setTimeOffset
Set the time offset for the starting time.
Parameters
- offset
- Time offset in seconds.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:137
function
MinSG::ParticleEmitter::doExecute
o Called every frame (if the behaviour is active).
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:139
function
MinSG::ParticleEmitter::getElapsed
Return time span between the first execution and the current execution (including the time offset).
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:151
function
MinSG::ParticleEmitter::getADirection
[convenience] Generate a direction.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:202
function
MinSG::ParticleEmitter::getAColor
[convenience] Generate a color.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:205
function
MinSG::ParticleEmitter::getALife
[convenience] Generate a life time.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:208
function
MinSG::ParticleEmitter::getASpeed
[convenience] Generate a speed.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:211
function
MinSG::ParticleEmitter::getASize
[convenience] Generate a size.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:214
function
MinSG::ParticleEmitter::getSpawnCenter
[convenience] If spawnNode is set, position of spawn node relative to psystem, zero elsewise (= position of the particle system). Particle position always are relative to the particle system they are part of.
Defined in MinSG/Ext/ParticleSystem/ParticleEmitters.h:220