panda3d.physics.ParticleSystemManager

class ParticleSystemManager

Manages a set of individual ParticleSystem objects, so that each individual one doesn’t have to be updated and rendered every frame See Also : particleSystemManager.cxx

Inheritance diagram

Inheritance diagram of ParticleSystemManager

__init__(param0: ParticleSystemManager) → None
__init__(every_nth_frame: int) → None

default constructor

attachParticlesystem(ps: ParticleSystem) → None
clear() → None
doParticles(dt: float) → None

does an update and render for each ps in the list. this is probably the one you want to use. Rendering is the expensive operation, and particles REALLY should at least be updated every frame, so nth_frame stepping applies only to rendering.

doParticles(dt: float, ps: ParticleSystem, do_render: bool) → None

does an update and an optional render for a specific ps. Since rendering is the expensive operation, multiple updates could be applied before calling the final render.

getFrameStepping() → int
output(out: ostream) → None

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

removeParticlesystem(ps: ParticleSystem) → None

removes a ps from the maintenance list

setFrameStepping(every_nth_frame: int) → None
write(out: ostream, indent: int) → None

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

writePsList(out: ostream, indent: int) → None

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