evael v0.0.1 (2019-04-17T22:22:13Z)
Dub
Repo
ParticleEmitterDefinition
evael
graphics
particles
ParticleEmitter
Undocumented in source.
class
ParticleEmitterDefinition {
uint
maxParticlesNumber
;
uint
particlesNumberToGenerate
;
float
nextGenerationTime
;
float
lifeMin
;
float
lifeRange
;
float
size
;
vec3
velocityMin
;
vec3
velocityRange
;
vec3
gravity
;
vec3
color
;
Texture
texture
;
this
(uint maxParticlesNumber);
void
setGeneratorProperties
(vec3 velocityMin, vec3 velocityMax, vec3 gravity, Color color, float lifeMin, float lifeMax, float size, float nextGenerationTime, int numberToGenerate);
}
Constructors
this
this
(uint maxParticlesNumber)
Undocumented in source.
Members
Functions
setGeneratorProperties
void
setGeneratorProperties
(vec3 velocityMin, vec3 velocityMax, vec3 gravity, Color color, float lifeMin, float lifeMax, float size, float nextGenerationTime, int numberToGenerate)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
color
vec3
color
;
Undocumented in source.
gravity
vec3
gravity
;
Undocumented in source.
lifeMin
float
lifeMin
;
lifeRange
float
lifeRange
;
Undocumented in source.
maxParticlesNumber
uint
maxParticlesNumber
;
Maximum particles
nextGenerationTime
float
nextGenerationTime
;
Undocumented in source.
particlesNumberToGenerate
uint
particlesNumberToGenerate
;
Number of particles to generate each x time
size
float
size
;
Undocumented in source.
texture
Texture
texture
;
Undocumented in source.
velocityMin
vec3
velocityMin
;
Undocumented in source.
velocityRange
vec3
velocityRange
;
Undocumented in source.
Meta
Source
See Implementation
evael
graphics
particles
ParticleEmitter
classes
ParticleEmitter
ParticleEmitterDefinition