BaseParticleFactory

from panda3d.physics import BaseParticleFactory
class BaseParticleFactory

Bases:

Bases: ReferenceCount

Pure Virtual base class for creating particles

Inheritance diagram

Inheritance diagram of BaseParticleFactory

allocParticle() BaseParticle
getLifespanBase() float

public

getLifespanSpread() float

public

getMassBase() float

public

getMassSpread() float

public

getTerminalVelocityBase() float

public

getTerminalVelocitySpread() float

public

output(out: panda3d.core.ostream)

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

populateParticle(bp: BaseParticle)

public

setLifespanBase(lb: float)

public

setLifespanSpread(ls: float)

public

setMassBase(mb: float)

public

setMassSpread(ms: float)

public

setTerminalVelocityBase(tvb: float)

public

setTerminalVelocitySpread(tvs: float)

public

write(out: panda3d.core.ostream, indent: int)

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