ParticleSystemManager

from panda3d.physics import ParticleSystemManager
class ParticleSystemManager

Bases: DTOOL_SUPER_BASE

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__(*args, **kwargs)
attachParticlesystem()

C++ Interface: attach_particlesystem(const ParticleSystemManager self, ParticleSystem ps)

attach_particlesystem()

C++ Interface: attach_particlesystem(const ParticleSystemManager self, ParticleSystem ps)

clear()

C++ Interface: clear(const ParticleSystemManager self)

doParticles()

C++ Interface: do_particles(const ParticleSystemManager self, float dt) do_particles(const ParticleSystemManager self, float dt, ParticleSystem ps, bool do_render)

/**
  • 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.

*/

/**
  • 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.

*/

do_particles()

C++ Interface: do_particles(const ParticleSystemManager self, float dt) do_particles(const ParticleSystemManager self, float dt, ParticleSystem ps, bool do_render)

/**
  • 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.

*/

/**
  • 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()

C++ Interface: get_frame_stepping(ParticleSystemManager self)

get_frame_stepping()

C++ Interface: get_frame_stepping(ParticleSystemManager self)

output()

C++ Interface: output(ParticleSystemManager self, ostream out)

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

*/

removeParticlesystem()

C++ Interface: remove_particlesystem(const ParticleSystemManager self, ParticleSystem ps)

/**
  • removes a ps from the maintenance list

*/

remove_particlesystem()

C++ Interface: remove_particlesystem(const ParticleSystemManager self, ParticleSystem ps)

/**
  • removes a ps from the maintenance list

*/

setFrameStepping()

C++ Interface: set_frame_stepping(const ParticleSystemManager self, int every_nth_frame)

set_frame_stepping()

C++ Interface: set_frame_stepping(const ParticleSystemManager self, int every_nth_frame)

write()

C++ Interface: write(ParticleSystemManager self, ostream out, int indent)

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

*/

writePsList()

C++ Interface: write_ps_list(ParticleSystemManager self, ostream out, int indent)

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

*/

write_ps_list()

C++ Interface: write_ps_list(ParticleSystemManager self, ostream out, int indent)

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

*/