pixi.plugins.particles.cloudkid.Emitter
- type
- class
- metadata
- :native
- "cloudkid.Emitter"
Constructor
- parameters
{pixi.display.DisplayObjectContainer}
particleParent The display object to add the particles to.
{Array<pixi.textures.Texture>}
[particleImages] A texture or array of textures to use for the particles.
{Dynamic}
[config] A configuration object containing settings for the emitter.
Instance Methods
- parameters
{Array<pixi.textures.Texture>}
particleImages A texture or array of textures to use for the particles.
{Dynamic}
config A configuration object containing settings for the emitter.
- parameters
{Particle}
particle The particle to recycle.
- parameters
{Float}
newRot The new rotation, in degrees.
- parameters
{Float}
delta Time elapsed since the previous frame, in __seconds__.
- parameters
{Float}
x The new x value of the emitter's owner.
{Float}
y The new y value of the emitter's owner.
- parameters
{Float}
x The new x value of the spawn position for the emitter.
{Float}
y The new y value of the spawn position for the emitter.