Panda3D
|
Pure Virtual base class for creating particles. More...
#include <pandadoc.hpp>
Public Member Functions | |
BaseParticle | allocParticle () |
float | getLifespanBase () |
public | |
float | getLifespanSpread () |
public | |
float | getMassBase () |
public | |
float | getMassSpread () |
public | |
float | getTerminalVelocityBase () |
public | |
float | getTerminalVelocitySpread () |
public | |
output (Ostream out) | |
Write a string representation of this instance to <out>. | |
populateParticle (BaseParticle bp) | |
public | |
setLifespanBase (float lb) | |
public | |
setLifespanSpread (float ls) | |
public | |
setMassBase (float mb) | |
public | |
setMassSpread (float ms) | |
public | |
setTerminalVelocityBase (float tvb) | |
public | |
setTerminalVelocitySpread (float tvs) | |
public | |
write (Ostream out, int indent) | |
Write a string representation of this instance to <out>. | |
![]() | |
int | getRefCount () |
Returns the current reference count. | |
ref () | |
Explicitly increments the reference count. | |
bool | testRefCountIntegrity () |
Does some easy checks to make sure that the reference count isn't completely bogus. | |
bool | testRefCountNonzero () |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. | |
bool | unref () |
Explicitly decrements the reference count. | |
Additional Inherited Members | |
![]() | |
static TypeHandle | getClassType () |
![]() | |
int | ref_count |
The current reference count. | |
Pure Virtual base class for creating particles.
BaseParticle allocParticle | ( | ) |
float getLifespanBase | ( | ) |
public
float getLifespanSpread | ( | ) |
public
float getMassBase | ( | ) |
public
float getMassSpread | ( | ) |
public
float getTerminalVelocityBase | ( | ) |
public
float getTerminalVelocitySpread | ( | ) |
public
output | ( | Ostream | out | ) |
Write a string representation of this instance to <out>.
populateParticle | ( | BaseParticle | bp | ) |
public
setLifespanBase | ( | float | lb | ) |
public
setLifespanSpread | ( | float | ls | ) |
public
setMassBase | ( | float | mb | ) |
public
setMassSpread | ( | float | ms | ) |
public
setTerminalVelocityBase | ( | float | tvb | ) |
public
setTerminalVelocitySpread | ( | float | tvs | ) |
public
write | ( | Ostream | out, |
int | indent ) |
Write a string representation of this instance to <out>.