Panda3D
Public Member Functions | List of all members
BaseParticleFactory Class Reference

Pure Virtual base class for creating particles. More...

Inheritance diagram for BaseParticleFactory:
ReferenceCount PointParticleFactory ZSpinParticleFactory

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...
 
- Public Member Functions inherited from ReferenceCount
int getRefCount ()
 Returns the current reference count. More...
 
 ref ()
 Explicitly increments the reference count. More...
 
bool testRefCountIntegrity ()
 Does some easy checks to make sure that the reference count isn't completely bogus. More...
 
bool testRefCountNonzero ()
 Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More...
 
bool unref ()
 Explicitly decrements the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCount
static TypeHandle getClassType ()
 
- Public Attributes inherited from ReferenceCount
int ref_count
 The current reference count. More...
 

Detailed Description

Pure Virtual base class for creating particles.

Member Function Documentation

◆ allocParticle()

BaseParticle allocParticle ( )

◆ getLifespanBase()

float getLifespanBase ( )

public

◆ getLifespanSpread()

float getLifespanSpread ( )

public

◆ getMassBase()

float getMassBase ( )

public

◆ getMassSpread()

float getMassSpread ( )

public

◆ getTerminalVelocityBase()

float getTerminalVelocityBase ( )

public

◆ getTerminalVelocitySpread()

float getTerminalVelocitySpread ( )

public

◆ output()

output ( Ostream  out)

Write a string representation of this instance to <out>.

◆ populateParticle()

populateParticle ( BaseParticle  bp)

public

◆ setLifespanBase()

setLifespanBase ( float  lb)

public

◆ setLifespanSpread()

setLifespanSpread ( float  ls)

public

◆ setMassBase()

setMassBase ( float  mb)

public

◆ setMassSpread()

setMassSpread ( float  ms)

public

◆ setTerminalVelocityBase()

setTerminalVelocityBase ( float  tvb)

public

◆ setTerminalVelocitySpread()

setTerminalVelocitySpread ( float  tvs)

public

◆ write()

write ( Ostream  out,
int  indent 
)

Write a string representation of this instance to <out>.