from panda3d.physics import ParticleSystemManager
- class ParticleSystemManager
Manages a set of individual
ParticleSystemobjects, so that each individual one doesn’t have to be updated and rendered every frame See Also : particleSystemManager.cxx
- __init__(every_nth_frame: int)
- do_particles(dt: float)
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.
- do_particles(dt: float, ps: ParticleSystem, do_render: bool)
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.
- write(out: panda3d.core.ostream, indent: int)
Write a string representation of this instance to <out>.