|
OpenSceneGraph
3.0.1
|

Public Member Functions | |
| RandomRateCounter () | |
| RandomRateCounter (const RandomRateCounter ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgParticle, RandomRateCounter) | |
| int | numParticlesToCreate (double dt) const |
| Return the number of particles to be created in this frame. | |
Protected Member Functions | |
| virtual | ~RandomRateCounter () |
Protected Attributes | |
| float | _np |
| osgParticle::RandomRateCounter::RandomRateCounter | ( | ) | [inline] |
| osgParticle::RandomRateCounter::RandomRateCounter | ( | const RandomRateCounter & | copy, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) | [inline] |
| virtual osgParticle::RandomRateCounter::~RandomRateCounter | ( | ) | [inline, protected, virtual] |
| osgParticle::RandomRateCounter::META_Object | ( | osgParticle | , |
| RandomRateCounter | |||
| ) |
| int osgParticle::RandomRateCounter::numParticlesToCreate | ( | double | dt | ) | const [inline, virtual] |
Return the number of particles to be created in this frame.
Implements osgParticle::Counter.
References _np, osgParticle::VariableRateCounter::getRateRange(), osg::maximum(), and osg::minimum().
float osgParticle::RandomRateCounter::_np [mutable, protected] |
Referenced by numParticlesToCreate().
| Generated at Thu Sep 27 2012 17:03:20 for the OpenSceneGraph by doxygen 1.7.6.1. |