ParticleSystem¶
-
class ParticleSystem¶
Bases:
PhysicalContains and manages a particle system.
Inheritance diagram
digraph inheritance847f8fe169 { 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=""]; "ParticleSystem" [URL="acron.physics.ParticleSystem.html#acron.physics.ParticleSystem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "Physical" -> "ParticleSystem" [arrowsize=0.75,style=""]; "Physical" [URL="acron.physics.Physical.html#acron.physics.Physical",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "Physical" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",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" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",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" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }- ParticleSystem.__init__()¶
Default Constructor.
Copy Constructor.
- ParticleSystem.add_spawn_template()¶
- ParticleSystem.birth_litter()¶
spawns a new batch of particles
- ParticleSystem.clear_floor_z()¶
- ParticleSystem.clear_spawn_templates()¶
- ParticleSystem.clear_to_initial()¶
Resets the system to its start state by resizing to 0, then resizing back to current size.
- ParticleSystem.get_active_system_flag()¶
- ParticleSystem.get_birth_rate()¶
- static ParticleSystem.get_class_type()¶
- ParticleSystem.get_emitter()¶
- ParticleSystem.get_factory()¶
- ParticleSystem.get_floor_z()¶
- ParticleSystem.get_i_was_spawned_flag()¶
- ParticleSystem.get_litter_size()¶
- ParticleSystem.get_litter_spread()¶
- ParticleSystem.get_living_particles()¶
- ParticleSystem.get_local_velocity_flag()¶
- ParticleSystem.get_pool_size()¶
- ParticleSystem.get_render_parent()¶
- ParticleSystem.get_renderer()¶
- ParticleSystem.get_soft_birth_rate()¶
- ParticleSystem.get_spawn_on_death_flag()¶
- ParticleSystem.get_spawn_render_node()¶
- ParticleSystem.get_spawn_render_node_path()¶
- ParticleSystem.get_system_age()¶
- ParticleSystem.get_system_grows_older_flag()¶
- ParticleSystem.get_system_lifespan()¶
- ParticleSystem.get_tics_since_birth()¶
- ParticleSystem.induce_labor()¶
Forces the birth of a particle litter this frame by resetting _tics_since_birth
- ParticleSystem.render()¶
Populates an attached
GeomNodestructure with the particle geometry for rendering. This is a wrapper for accessability.
- ParticleSystem.set_active_system_flag()¶
- ParticleSystem.set_birth_rate()¶
- ParticleSystem.set_emitter()¶
- ParticleSystem.set_factory()¶
- ParticleSystem.set_floor_z()¶
- ParticleSystem.set_litter_size()¶
- ParticleSystem.set_litter_spread()¶
- ParticleSystem.set_local_velocity_flag()¶
- ParticleSystem.set_pool_size()¶
accessqueries
- ParticleSystem.set_render_parent()¶
- ParticleSystem.set_renderer()¶
- ParticleSystem.set_soft_birth_rate()¶
- ParticleSystem.set_spawn_on_death_flag()¶
- ParticleSystem.set_spawn_render_node()¶
- ParticleSystem.set_spawn_render_node_path()¶
- ParticleSystem.set_system_age()¶
- ParticleSystem.set_system_grows_older_flag()¶
- ParticleSystem.set_system_lifespan()¶
- ParticleSystem.set_template_system_flag()¶
- ParticleSystem.soft_start()¶
Causes system to use birth rate set by
set_birth_rate(). If first_birth_delay is specified, it specifies the number of seconds to wait in addition to the birth rate before the first particle is birthed. It is legal for this to be a negative value, which causes the first birth to happen sooner rather than later.
- ParticleSystem.soft_stop()¶
Causes system to use birth rate set by
set_soft_birth_rate()
- ParticleSystem.update()¶
- ParticleSystem.write_free_particle_fifo()¶
Write a string representation of this instance to <out>.
- ParticleSystem.write_spawn_templates()¶
Write a string representation of this instance to <out>.