Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIParticleDistanceEmitter Class Reference
Inheritance diagram for MOAIParticleDistanceEmitter:
MOAIParticleEmitter MOAITransform MOAIAction MOAITransformBase MOAIInstanceEventSource MOAINode MOAIEventSource MOAIInstanceEventSource MOAIEventSource

List of all members.

Function List

  reset
  setDistance

Function Documentation

Resets the distance traveled. Use this to avoid large emissions when 'warping' the emitter to a new location.


function reset ( MOAIParticleDistanceEmitter self )
Parameters:
self ( MOAIParticleDistanceEmitter )
Returns:
nil

Set the travel distance required for new particle emission.


function setDistance ( MOAIParticleDistanceEmitter self, number min [, number max ] )
Parameters:
self ( MOAIParticleDistanceEmitter )
min ( number ) Minimum distance.
max ( number ) Optional. Maximum distance. Default value is min.
Returns:
nil