BaseParticleFactory

from panda3d.physics import BaseParticleFactory
class BaseParticleFactory

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)None

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

populateParticle(bp: BaseParticle)None

public

setLifespanBase(lb: float)None

public

setLifespanSpread(ls: float)None

public

setMassBase(mb: float)None

public

setMassSpread(ms: float)None

public

setTerminalVelocityBase(tvb: float)None

public

setTerminalVelocitySpread(tvs: float)None

public

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

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