Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
setAngle | |
setEmission | |
setMagnitude | |
setRadius | |
setRect | |
setSystem | |
surge |
Set the size and angle of the emitter.
function setAngle ( MOAIParticleEmitter self, number min, number max )
self | ( MOAIParticleEmitter ) |
min | ( number ) Minimum angle in degrees. |
max | ( number ) Maximum angle in degrees. |
Set the size of each emission.
function setEmission ( MOAIParticleEmitter self, number min [, number max ] )
self | ( MOAIParticleEmitter ) |
min | ( number ) Minimum emission size. |
max | ( number ) Optional. Maximum emission size. Defaults to min. |
Set the starting magnitude of particles deltas.
function setMagnitude ( MOAIParticleEmitter self, number min [, number max ] )
self | ( MOAIParticleEmitter ) |
min | ( number ) Minimum magnitude. |
max | ( number ) Optional. Maximum magnitude. Defaults to min. |
Set the shape and radius of the emitter.
function setRadius ( MOAIParticleEmitter self, number radius )
self | ( MOAIParticleEmitter ) |
radius | ( number ) |
function setRadius ( MOAIParticleEmitter self, number innerRadius, number outerRadius )
self | ( MOAIParticleEmitter ) |
innerRadius | ( number ) |
outerRadius | ( number ) |
Set the shape and dimensions of the emitter.
function setRect ( MOAIParticleEmitter self, number xMin, number yMin, number xMax, number yMax )
self | ( MOAIParticleEmitter ) |
xMin | ( number ) |
yMin | ( number ) |
xMax | ( number ) |
yMax | ( number ) |
Attaches the emitter to a particle system.
function setSystem ( MOAIParticleEmitter self, MOAIParticleSystem system )
self | ( MOAIParticleEmitter ) |
system | ( MOAIParticleSystem ) |
Forces the emission of one or more particles.
function surge ( MOAIParticleEmitter self [, number total ] )
self | ( MOAIParticleEmitter ) |
total | ( number ) Optional. Size of surge. Default value is a random emission value for emitter. |