ParticleSystem
from panda3d.physics import ParticleSystem
- class ParticleSystem
Bases:
Physical
Contains and manages a particle system.
Inheritance diagram
- __init__(*args, **kwargs)
- addSpawnTemplate()
C++ Interface: add_spawn_template(const ParticleSystem self, ParticleSystem ps)
/**
*/
- add_spawn_template()
C++ Interface: add_spawn_template(const ParticleSystem self, ParticleSystem ps)
/**
*/
- birthLitter()
C++ Interface: birth_litter(const ParticleSystem self)
- /**
spawns a new batch of particles
*/
- birth_litter()
C++ Interface: birth_litter(const ParticleSystem self)
- /**
spawns a new batch of particles
*/
- clearToInitial()
C++ Interface: clear_to_initial(const ParticleSystem self)
- /**
Resets the system to its start state by resizing to 0, then resizing back
to current size.
*/
- clear_to_initial()
C++ Interface: clear_to_initial(const ParticleSystem self)
- /**
Resets the system to its start state by resizing to 0, then resizing back
to current size.
*/
- getClassType()
C++ Interface: get_class_type()
- get_class_type()
C++ Interface: get_class_type()
- get_system_grows_older_flag()
C++ Interface: get_system_grows_older_flag(ParticleSystem self)
/**
*/
- induceLabor()
C++ Interface: induce_labor(const ParticleSystem self)
- /**
Forces the birth of a particle litter this frame by resetting
_tics_since_birth
*/
- induce_labor()
C++ Interface: induce_labor(const ParticleSystem self)
- /**
Forces the birth of a particle litter this frame by resetting
_tics_since_birth
*/
- render()
C++ Interface: render(const ParticleSystem self)
- /**
Populates an attached GeomNode structure with the particle geometry for
rendering. This is a wrapper for accessability.
*/
- setActiveSystemFlag()
C++ Interface: set_active_system_flag(const ParticleSystem self, bool a)
/**
*/
- setLocalVelocityFlag()
C++ Interface: set_local_velocity_flag(const ParticleSystem self, bool lv)
/**
*/
- setPoolSize()
C++ Interface: set_pool_size(const ParticleSystem self, int size)
// accessqueries
/**
*/
- setRenderParent()
C++ Interface: set_render_parent(const ParticleSystem self, PandaNode node) set_render_parent(const ParticleSystem self, const NodePath node)
/**
*/
/**
*/
- setRenderer()
C++ Interface: set_renderer(const ParticleSystem self, BaseParticleRenderer r)
/**
*/
- setSoftBirthRate()
C++ Interface: set_soft_birth_rate(const ParticleSystem self, float new_br)
/**
*/
- setSpawnOnDeathFlag()
C++ Interface: set_spawn_on_death_flag(const ParticleSystem self, bool sod)
/**
*/
- setSpawnRenderNode()
C++ Interface: set_spawn_render_node(const ParticleSystem self, PandaNode node)
/**
*/
- setSpawnRenderNodePath()
C++ Interface: set_spawn_render_node_path(const ParticleSystem self, const NodePath node)
/**
*/
- setSystemGrowsOlderFlag()
C++ Interface: set_system_grows_older_flag(const ParticleSystem self, bool sgo)
/**
*/
- setTemplateSystemFlag()
C++ Interface: set_template_system_flag(const ParticleSystem self, bool tsf)
/**
*/
- set_active_system_flag()
C++ Interface: set_active_system_flag(const ParticleSystem self, bool a)
/**
*/
- set_local_velocity_flag()
C++ Interface: set_local_velocity_flag(const ParticleSystem self, bool lv)
/**
*/
- set_pool_size()
C++ Interface: set_pool_size(const ParticleSystem self, int size)
// accessqueries
/**
*/
- set_render_parent()
C++ Interface: set_render_parent(const ParticleSystem self, PandaNode node) set_render_parent(const ParticleSystem self, const NodePath node)
/**
*/
/**
*/
- set_renderer()
C++ Interface: set_renderer(const ParticleSystem self, BaseParticleRenderer r)
/**
*/
- set_soft_birth_rate()
C++ Interface: set_soft_birth_rate(const ParticleSystem self, float new_br)
/**
*/
- set_spawn_on_death_flag()
C++ Interface: set_spawn_on_death_flag(const ParticleSystem self, bool sod)
/**
*/
- set_spawn_render_node()
C++ Interface: set_spawn_render_node(const ParticleSystem self, PandaNode node)
/**
*/
- set_spawn_render_node_path()
C++ Interface: set_spawn_render_node_path(const ParticleSystem self, const NodePath node)
/**
*/
- set_system_grows_older_flag()
C++ Interface: set_system_grows_older_flag(const ParticleSystem self, bool sgo)
/**
*/
- set_system_lifespan()
C++ Interface: set_system_lifespan(const ParticleSystem self, float sl)
/**
*/
- set_template_system_flag()
C++ Interface: set_template_system_flag(const ParticleSystem self, bool tsf)
/**
*/
- softStart()
C++ Interface: soft_start(const ParticleSystem self, float br, float first_birth_delay)
- /**
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.
*/
- softStop()
C++ Interface: soft_stop(const ParticleSystem self, float br)
- /**
Causes system to use birth rate set by set_soft_birth_rate()
*/
- soft_start()
C++ Interface: soft_start(const ParticleSystem self, float br, float first_birth_delay)
- /**
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.
*/
- soft_stop()
C++ Interface: soft_stop(const ParticleSystem self, float br)
- /**
Causes system to use birth rate set by set_soft_birth_rate()
*/
- update()
C++ Interface: update(const ParticleSystem self, float dt)
- writeFreeParticleFifo()
C++ Interface: write_free_particle_fifo(ParticleSystem self, ostream out, int indent)
- /**
Write a string representation of this instance to <out>.
*/
- writeSpawnTemplates()
C++ Interface: write_spawn_templates(ParticleSystem self, ostream out, int indent)
- /**
Write a string representation of this instance to <out>.
*/