Changeset 4478 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_emitter.cc
- Timestamp:
- Jun 2, 2005, 5:01:50 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_emitter.cc
r4439 r4478 42 42 } 43 43 44 /** 45 \brief constructs and loads a ParticleEmitter from a XML-element 46 \param root the XML-element to load from 47 */ 44 48 ParticleEmitter::ParticleEmitter(const TiXmlElement* root) 45 49 { … … 63 67 } 64 68 69 /** 70 \brief loads a ParticleEmitter from a XML-element 71 \param root the XML-element to load from 72 */ 65 73 void ParticleEmitter::loadParams(const TiXmlElement* root) 66 74 { … … 109 117 110 118 /** 111 \param the type of emitter 119 \brief sets the type of emitter 120 \param type the type as a const char* 121 dot: EMITTER_DOT, plane: EMITTER_PLANE, cube: EMITTER_CUBE, sphere, EMITTER_SPHERE; 112 122 */ 113 123 void ParticleEmitter::setType(const char* type) … … 123 133 } 124 134 125 135 /** 136 \brief sets a new size to the emitter 137 */ 126 138 void ParticleEmitter::setSize(float emitterSize) 127 139 { … … 134 146 /** 135 147 \brief set the emission rate 136 \param sets the number of particles emitted per second148 \param emissionRate: sets the number of particles emitted per second 137 149 138 150 if you want to change the value of this variable during emission time (to make it more dynamic) … … 164 176 \brief sets the velocity of all particles emitted 165 177 \param velocity The starting velocity of the emitted particles 166 \param random A random starting velocity, the +- randomness of this option178 \param randomVelocity A random starting velocity, the +- randomness of this option 167 179 168 180 if you want to change the value of this variable during emission time (to make it more dynamic) … … 177 189 /** 178 190 \brief this set the time to life of a particle, after which it will die 179 \param the time to live in seconds 191 \param dt: the time to live in seconds 192 \param system: the system into which to emitt 180 193 181 194 if you want to change the value of this variable during emission time (to make it more dynamic)
Note: See TracChangeset
for help on using the changeset viewer.