BaseParticleEmitter

from panda3d.physics import BaseParticleEmitter
class BaseParticleEmitter

Bases:

Bases: ReferenceCount

Inheritance diagram

Inheritance diagram of BaseParticleEmitter

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

generate(pos: panda3d.core.LPoint3, vel: panda3d.core.LVector3)

parent generation function

getAmplitude() float

amplitude query

getAmplitudeSpread() float

amplitude spread query

getEmissionType() emissionType

emission type query

getExplicitLaunchVector() panda3d.core.LVector3

query for explicit emission launch vector

getOffsetForce() panda3d.core.LVector3

user-defined force

getRadiateOrigin() panda3d.core.LPoint3

query for explicit emission launch vector

makeCopy() BaseParticleEmitter
output(out: panda3d.core.ostream)

Write a string representation of this instance to <out>.

setAmplitude(a: float)

amplitude assignment

setAmplitudeSpread(as: float)

amplitude spread assignment

setEmissionType(et: emissionType)

emission type assignment

setExplicitLaunchVector(elv: panda3d.core.LVector3)

assignment of explicit emission launch vector

setOffsetForce(of: panda3d.core.LVector3)

this is a constant force applied to all particles

setRadiateOrigin(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>.