Panda3D
|
Pure Virtual base class for creating particles. More...
Public Member Functions | |
BaseParticle | allocParticle () |
float | getLifespanBase () |
public More... | |
float | getLifespanSpread () |
public More... | |
float | getMassBase () |
public More... | |
float | getMassSpread () |
public More... | |
float | getTerminalVelocityBase () |
public More... | |
float | getTerminalVelocitySpread () |
public More... | |
output (Ostream out) | |
Write a string representation of this instance to <out>. More... | |
populateParticle (BaseParticle bp) | |
public More... | |
setLifespanBase (float lb) | |
public More... | |
setLifespanSpread (float ls) | |
public More... | |
setMassBase (float mb) | |
public More... | |
setMassSpread (float ms) | |
public More... | |
setTerminalVelocityBase (float tvb) | |
public More... | |
setTerminalVelocitySpread (float tvs) | |
public More... | |
write (Ostream out, int indent) | |
Write a string representation of this instance to <out>. More... | |
![]() | |
int | getRefCount () |
Returns the current reference count. More... | |
ref () | |
Explicitly increments the reference count. User code should avoid using ref() and unref() directly, which can result in missed reference counts. Instead, let a PointerTo object manage the reference counting automatically. More... | |
bool | testRefCountIntegrity () |
Does some easy checks to make sure that the reference count isn't completely bogus. Returns true if ok, false otherwise. More... | |
bool | testRefCountNonzero () |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. Returns true if ok, false otherwise. More... | |
bool | unref () |
Explicitly decrements the reference count. Note that the object will not be implicitly deleted by unref() simply because the reference count drops to zero. (Having a member function delete itself is problematic.) However, see the helper function unref_delete(). More... | |
Additional Inherited Members | |
![]() | |
static TypeHandle | getClassType () |
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>.