summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.ParticleSystemQuad.lua
blob: f7922139d8a7f4be565b4b91a6a234e57311fb1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

---@class cc.ParticleSystemQuad :cc.ParticleSystem
local ParticleSystemQuad={ }
cc.ParticleSystemQuad=ParticleSystemQuad




---*  Sets a new SpriteFrame as particle.<br>
---* WARNING: this method is experimental. Use setTextureWithRect instead.<br>
---* param spriteFrame A given sprite frame as particle texture.<br>
---* since v0.99.4
---@param spriteFrame cc.SpriteFrame
---@return self
function ParticleSystemQuad:setDisplayFrame (spriteFrame) end
---*  Sets a new texture with a rect. The rect is in Points.<br>
---* since v0.99.4<br>
---* js NA<br>
---* lua NA<br>
---* param texture A given texture.<br>
---* 8 @param rect A given rect, in points.
---@param texture cc.Texture2D
---@param rect rect_table
---@return self
function ParticleSystemQuad:setTextureWithRect (texture,rect) end
---*  Listen the event that renderer was recreated on Android/WP8.<br>
---* js NA<br>
---* lua NA<br>
---* param event the event that renderer was recreated on Android/WP8.
---@param event cc.EventCustom
---@return self
function ParticleSystemQuad:listenRendererRecreated (event) end
---@overload fun(map_table0:string):self
---@overload fun():self
---@overload fun(map_table:map_table):self
---@param dictionary map_table
---@return self
function ParticleSystemQuad:create (dictionary) end
---*  Creates a Particle Emitter with a number of particles.<br>
---* param numberOfParticles A given number of particles.<br>
---* return An autoreleased ParticleSystemQuad object.
---@param numberOfParticles int
---@return self
function ParticleSystemQuad:createWithTotalParticles (numberOfParticles) end
---* 
---@return string
function ParticleSystemQuad:getDescription () end
---* js NA<br>
---* lua NA
---@return self
function ParticleSystemQuad:updateParticleQuads () end
---* js ctor
---@return self
function ParticleSystemQuad:ParticleSystemQuad () end