Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 2, 2005, 5:01:50 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: particles documented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_emitter.cc

    r4439 r4478  
    4242}
    4343
     44/**
     45   \brief constructs and loads a ParticleEmitter from a XML-element
     46   \param root the XML-element to load from
     47*/
    4448ParticleEmitter::ParticleEmitter(const TiXmlElement* root)
    4549{
     
    6367}
    6468
     69/**
     70   \brief loads a ParticleEmitter from a XML-element
     71   \param root the XML-element to load from
     72*/
    6573void ParticleEmitter::loadParams(const TiXmlElement* root)
    6674{
     
    109117
    110118/**
    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;
    112122*/
    113123void ParticleEmitter::setType(const char* type)
     
    123133}
    124134
    125 
     135/**
     136   \brief sets a new size to the emitter
     137*/
    126138void ParticleEmitter::setSize(float emitterSize)
    127139{
     
    134146/**
    135147   \brief set the emission rate
    136    \param sets the number of particles emitted per second
     148   \param emissionRate: sets the number of particles emitted per second
    137149
    138150   if you want to change the value of this variable during emission time (to make it more dynamic)
     
    164176   \brief sets the velocity of all particles emitted
    165177   \param velocity The starting velocity of the emitted particles
    166    \param random A random starting velocity, the +- randomness of this option
     178   \param randomVelocity A random starting velocity, the +- randomness of this option
    167179
    168180   if you want to change the value of this variable during emission time (to make it more dynamic)
     
    177189/**
    178190   \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
    180193
    181194   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.