ParticleSystem
from panda3d.physics import ParticleSystem
- class ParticleSystem
Bases:
Bases:
Physical
Contains and manages a particle system.
Inheritance diagram
- __init__(copy: ParticleSystem)
Copy Constructor.
- __init__(pool_size: int)
Default Constructor.
- addSpawnTemplate(ps: ParticleSystem)
- clearFloorZ()
- clearSpawnTemplates()
- clearToInitial()
Resets the system to its start state by resizing to 0, then resizing back to current size.
- static getClassType() panda3d.core.TypeHandle
- getEmitter() BaseParticleEmitter
- getFactory() BaseParticleFactory
- getRenderParent() panda3d.core.NodePath
- getRenderer() BaseParticleRenderer
- getSpawnRenderNode() panda3d.core.PandaNode
- getSpawnRenderNodePath() panda3d.core.NodePath
- induceLabor()
Forces the birth of a particle litter this frame by resetting _tics_since_birth
- render()
Populates an attached
GeomNode
structure with the particle geometry for rendering. This is a wrapper for accessability.
- setEmitter(e: BaseParticleEmitter)
- setFactory(f: BaseParticleFactory)
- setRenderParent(node: panda3d.core.NodePath)
- setRenderParent(node: panda3d.core.PandaNode)
- setRenderer(r: BaseParticleRenderer)
- setSpawnRenderNode(node: panda3d.core.PandaNode)
- setSpawnRenderNodePath(node: panda3d.core.NodePath)
- softStart(br: float)
Causes system to use birth rate set by
setBirthRate()
- softStart(br: float, first_birth_delay: float)
Causes system to use birth rate set by
setBirthRate()
, with the system’s first birth being delayed by the value of first_birth_delay. Note that a negative delay is perfectly valid, causing the first birth to happen sooner rather than later.
- softStop(br: float)
Causes system to use birth rate set by
setSoftBirthRate()
- writeFreeParticleFifo(out: panda3d.core.ostream, indent: int)
Write a string representation of this instance to <out>.
- writeSpawnTemplates(out: panda3d.core.ostream, indent: int)
Write a string representation of this instance to <out>.