panda3d.physics.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
Return type

BaseParticle

getLifespanBase() → float

public

getLifespanSpread() → float

public

getMassBase() → float

public

getMassSpread() → float

public

getTerminalVelocityBase() → float

public

getTerminalVelocitySpread() → float

public

output(out: 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: ostream, indent: int) → None

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