panda3d.physics.BaseParticleEmitter

class BaseParticleEmitter

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: LPoint3, vel: LVector3) → None

parent generation function

getAmplitude() → float

amplitude query

getAmplitudeSpread() → float

amplitude spread query

getEmissionType() → emissionType

emission type query

Return type

emissionType

getExplicitLaunchVector() → LVector3

query for explicit emission launch vector

Return type

LVector3

getOffsetForce() → LVector3

user-defined force

Return type

LVector3

getRadiateOrigin() → LPoint3

query for explicit emission launch vector

Return type

LPoint3

makeCopy() → BaseParticleEmitter
Return type

BaseParticleEmitter

output(out: ostream) → None

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

setAmplitude(a: float) → None

amplitude assignment

setAmplitudeSpread(as: float) → None

amplitude spread assignment

setEmissionType(et: emissionType) → None

emission type assignment

setExplicitLaunchVector(elv: LVector3) → None

assignment of explicit emission launch vector

setOffsetForce(of: LVector3) → None

this is a constant force applied to all particles

setRadiateOrigin(ro: LPoint3) → None

assignment of radiate emission origin point

write(out: ostream, indent: int) → None

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