BaseParticleEmitter
-
class BaseParticleEmitter
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
-
PN_stdfloat get_amplitude(void) const
amplitude query
-
PN_stdfloat get_amplitude_spread(void) const
amplitude spread query
-
emissionType get_emission_type(void) const
emission type query
-
virtual BaseParticleEmitter *make_copy(void) = 0
-
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
-
void set_amplitude(PN_stdfloat a)
amplitude assignment
-
void set_amplitude_spread(PN_stdfloat as)
amplitude spread assignment
-
void set_emission_type(BaseParticleEmitter::emissionType et)
emission type assignment
-
void set_explicit_launch_vector(LVector3 const &elv)
this is a constant force applied to all particles
assignment of explicit emission launch vector
-
void set_offset_force(LVector3 const &of)
this is a constant force applied to all particles
user-defined force
-
virtual void write(std::ostream &out, int indent = 0) const
Write a string representation of this instance to <out>.
-
enum emissionType