Public Member Functions | |
ConstantRateCounter () | |
ConstantRateCounter (const ConstantRateCounter ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Object (osgParticle, ConstantRateCounter) | |
void | setMinimumNumberOfParticlesToCreate (int minNumToCreate) |
int | getMinimumNumberOfParticlesToCreate () const |
void | setNumberOfParticlesPerSecondToCreate (double numPerSecond) |
double | getNumberOfParticlesPerSecondToCreate () const |
virtual int | numParticlesToCreate (double dt) const |
Return the number of particles to be created in this frame. | |
Protected Member Functions | |
virtual | ~ConstantRateCounter () |
Protected Attributes | |
int | _minimumNumberOfParticlesToCreate |
double | _numberOfParticlesPerSecondToCreate |
double | _carryOver |
osgParticle::ConstantRateCounter::ConstantRateCounter | ( | ) | [inline] |
osgParticle::ConstantRateCounter::ConstantRateCounter | ( | const ConstantRateCounter & | copy, | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) | [inline] |
virtual osgParticle::ConstantRateCounter::~ConstantRateCounter | ( | ) | [inline, protected, virtual] |
osgParticle::ConstantRateCounter::META_Object | ( | osgParticle | , | |
ConstantRateCounter | ||||
) |
void osgParticle::ConstantRateCounter::setMinimumNumberOfParticlesToCreate | ( | int | minNumToCreate | ) | [inline] |
int osgParticle::ConstantRateCounter::getMinimumNumberOfParticlesToCreate | ( | ) | const [inline] |
void osgParticle::ConstantRateCounter::setNumberOfParticlesPerSecondToCreate | ( | double | numPerSecond | ) | [inline] |
double osgParticle::ConstantRateCounter::getNumberOfParticlesPerSecondToCreate | ( | ) | const [inline] |
virtual int osgParticle::ConstantRateCounter::numParticlesToCreate | ( | double | dt | ) | const [inline, virtual] |
double osgParticle::ConstantRateCounter::_numberOfParticlesPerSecondToCreate [protected] |
double osgParticle::ConstantRateCounter::_carryOver [mutable, protected] |