Moai SDK
2.0
|
Function List | |
reset | |
setDistance | |
Function List inherited from MOAINode | |
clearAttrLink | |
clearNodeLink | |
forceUpdate | |
getAttr | |
getAttrLink | |
getNodeState | |
moveAttr | |
scheduleUpdate | |
seekAttr | |
setAttrLink | |
setAttr | |
setNodeLink | |
Function List inherited from MOAIInstanceEventSource | |
getListener | |
setListener | |
Function List inherited from MOAIAction | |
addChild | |
attach | |
clear | |
defer | |
detach | |
getChildren | |
hasChildren | |
isActive | |
isBusy | |
isDone | |
isPaused | |
pause | |
setAutoStop | |
start | |
stop | |
throttle | |
update | |
Additional Inherited Members | |
Function List inherited from MOAIParticleEmitter | |
setAngle | |
setEmission | |
setMagnitude | |
setRadius | |
setRect | |
setState | |
setSystem | |
surge | |
Function List inherited from MOAITransform | |
addLoc | |
addPiv | |
addRot | |
addScl | |
getLoc | |
getPiv | |
getRot | |
getScl | |
move | |
moveLoc | |
movePiv | |
moveRot | |
moveScl | |
seek | |
seekLoc | |
seekPiv | |
seekRot | |
seekScl | |
setLoc | |
setPiv | |
setRot | |
setScl | |
setShearByX | |
setShearByY | |
setShearByZ | |
Function List inherited from MOAITransformBase | |
getWorldDir | |
getWorldLoc | |
getWorldRot | |
getWorldScl | |
getWorldXAxis | |
getWorldYAxis | |
getWorldZAxis | |
getWorldXNormal | |
getWorldYNormal | |
getWorldZNormal | |
modelToWorld | |
setParent | |
worldToModel | |
|
Resets the distance traveled. Use this to avoid large emissions when 'warping' the emitter to a new location.
function reset ( MOAIParticleDistanceEmitter self )
MOAIParticleDistanceEmitter | self |
|
Set the travel distance required for new particle emission.
function setDistance ( MOAIParticleDistanceEmitter self, number min [, number max ] )
MOAIParticleDistanceEmitter | self |
number | min Minimum distance. |
number | max Optional. Maximum distance. Default value is min. |