ParticleSystemManager¶
from acron.physics import ParticleSystemManager
- class ParticleSystemManager¶
Bases:
Manages a set of individual
ParticleSystemobjects, so that each individual one doesn’t have to be updated and rendered every frame See Also : particleSystemManager.cxxInheritance diagram
digraph inheritanceccbb6001d1 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ParticleSystemManager" [URL="acron.physics.ParticleSystemManager.html#acron.physics.ParticleSystemManager",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ParticleSystemManager" [arrowsize=0.75,style=""]; }- __init__()¶
default constructor
- attach_particlesystem()¶
- clear()¶
- do_particles()¶
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.
- get_frame_stepping()¶
- output()¶
Write a string representation of this instance to <out>.
- remove_particlesystem()¶
removes a ps from the maintenance list
- set_frame_stepping()¶
- write()¶
Write a string representation of this instance to <out>.
- write_ps_list()¶
Write a string representation of this instance to <out>.