BaseParticleEmitter
from panda3d.physics import BaseParticleEmitter
- class BaseParticleEmitter
Bases:
Bases:
ReferenceCount
Inheritance diagram
-
enum emissionType
-
enumerator ET_EXPLICIT = 0
all particles are emitted in parallel along the same vector
-
enumerator ET_RADIATE = 1
all particles radiate away from a single point
-
enumerator ET_CUSTOM = 2
particle launch vectors are dependent on particular derived emitter
-
enumerator ET_EXPLICIT = 0
- generate(pos: panda3d.core.LPoint3, vel: panda3d.core.LVector3)
parent generation function
- get_emission_type() emissionType
emission type query
- get_explicit_launch_vector() panda3d.core.LVector3
query for explicit emission launch vector
- get_offset_force() panda3d.core.LVector3
user-defined force
- get_radiate_origin() panda3d.core.LPoint3
query for explicit emission launch vector
- make_copy() BaseParticleEmitter
- output(out: panda3d.core.ostream)
Write a string representation of this instance to <out>.
- set_amplitude_spread(as: float)
amplitude spread assignment
- set_emission_type(et: emissionType)
emission type assignment
- set_explicit_launch_vector(elv: panda3d.core.LVector3)
assignment of explicit emission launch vector
- set_offset_force(of: panda3d.core.LVector3)
this is a constant force applied to all particles
- set_radiate_origin(ro: panda3d.core.LPoint3)
assignment of radiate emission origin point
- write(out: panda3d.core.ostream, indent: int)
Write a string representation of this instance to <out>.
-
enum emissionType