Module flower.Particle

A class that displays the particle based on the PEX file.

Extends:

Info:

  • Release: V3.0.0
  • Author: Makoto

Functions

Particle:init (particleName) Constructor.
Particle:setTexture (texture) Sets the texture.
Particle:startEmitter () Start the emitter animation.
Particle:stopEmitter () Stop the emitter animation.


Functions

Particle:init (particleName)
Constructor.

Parameters:

  • particleName pex file path.
Particle:setTexture (texture)
Sets the texture.

Parameters:

  • texture Texture path, or texture
Particle:startEmitter ()
Start the emitter animation.
Particle:stopEmitter ()
Stop the emitter animation.
generated by LDoc 1.3