2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ParticleSystemQuad
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ParticleSystem
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets a new SpriteFrame as particle.<br>
|
|
|
|
-- WARNING: this method is experimental. Use setTextureWithRect instead.<br>
|
|
|
|
-- since v0.99.4
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ParticleSystemQuad] setDisplayFrame
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.SpriteFrame spriteFrame
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets a new texture with a rect. The rect is in Points.<br>
|
|
|
|
-- since v0.99.4<br>
|
|
|
|
-- js NA<br>
|
|
|
|
-- lua NA
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ParticleSystemQuad] setTextureWithRect
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Texture2D texture
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #rect_table rect
|
|
|
|
|
2014-07-11 13:46:37 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- listen the event that renderer was recreated on Android/WP8<br>
|
|
|
|
-- js NA<br>
|
|
|
|
-- lua NA
|
2014-07-11 13:46:37 +08:00
|
|
|
-- @function [parent=#ParticleSystemQuad] listenRendererRecreated
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.EventCustom event
|
2014-07-11 13:46:37 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, string
|
|
|
|
-- @overload self
|
|
|
|
-- @overload self, map_table
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ParticleSystemQuad] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #map_table dictionary
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return ParticleSystemQuad#ParticleSystemQuad ret (return value: cc.ParticleSystemQuad)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- creates a Particle Emitter with a number of particles
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ParticleSystemQuad] createWithTotalParticles
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int numberOfParticles
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return ParticleSystemQuad#ParticleSystemQuad ret (return value: cc.ParticleSystemQuad)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ParticleSystemQuad] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|