Inheritance ParticleSystem
Container View
Module hilo/game/ParticleSystem
Requires
hilo/core/Hilo, hilo/core/Class, hilo/view/View, hilo/view/Container, hilo/view/Drawable, hilo/util/util
Source
ParticleSystem.js
ParticleSystem A particle system.
Property | Defined | |
---|---|---|
emitNum:Number
Emit number.
|
ParticleSystem | |
emitNumVar:Number
Emit number variances.
|
ParticleSystem | |
emitterX:Number
The emitter x position.
|
ParticleSystem | |
emitterY:Number
The emitter y position.
|
ParticleSystem | |
emitTime:Number
Emit time interval(in second).
|
ParticleSystem | |
emitTimeVar:Number
Emit time interval variances.
|
ParticleSystem | |
gx:Number
The gravity x value.
|
ParticleSystem | |
gy:Number
The gravity y value.
|
ParticleSystem | |
totalTime:Number
Total time.
|
ParticleSystem |
Method | Defined | |
---|---|---|
ParticleSystem(properties:Object)
Constructor
|
ParticleSystem | |
onUpdate(dt:Number)
更新
|
ParticleSystem | |
reset(cfg:Object)
Reset the properties.
|
ParticleSystem | |
start()
Start emit particles.
|
ParticleSystem | |
stop(clear:Boolean)
Stop emit particles.
|
ParticleSystem |