summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.ParticleSystem3D.lua
blob: 3f5664a3561e32a1505fd206ae6b561ea2864a6f (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---@meta

---@class cc.ParticleSystem3D :cc.Node@all parent class: Node,BlendProtocol
local ParticleSystem3D={ }
cc.ParticleSystem3D=ParticleSystem3D




---* remove affector by index
---@param index int
---@return self
function ParticleSystem3D:removeAffector (index) end
---* resume particle
---@return self
function ParticleSystem3D:resumeParticleSystem () end
---* remove all particle affector
---@return self
function ParticleSystem3D:removeAllAffector () end
---* add particle affector
---@param affector cc.Particle3DAffector
---@return self
function ParticleSystem3D:addAffector (affector) end
---* particle system play control
---@return self
function ParticleSystem3D:startParticleSystem () end
---* is enabled
---@return boolean
function ParticleSystem3D:isEnabled () end
---* return particle render
---@return cc.Particle3DRender
function ParticleSystem3D:getRender () end
---* set emitter for particle system, can set your own particle emitter
---@param emitter cc.Particle3DEmitter
---@return self
function ParticleSystem3D:setEmitter (emitter) end
---* 
---@return boolean
function ParticleSystem3D:isKeepLocal () end
---* Enables or disables the system.
---@param enabled boolean
---@return self
function ParticleSystem3D:setEnabled (enabled) end
---* get particle quota
---@return unsigned_int
function ParticleSystem3D:getParticleQuota () end
---* override function
---@return cc.BlendFunc
function ParticleSystem3D:getBlendFunc () end
---* pause particle
---@return self
function ParticleSystem3D:pauseParticleSystem () end
---* get particle playing state
---@return int
function ParticleSystem3D:getState () end
---* get alive particles count
---@return int
function ParticleSystem3D:getAliveParticleCount () end
---* set particle quota
---@param quota unsigned_int
---@return self
function ParticleSystem3D:setParticleQuota (quota) end
---* override function
---@param blendFunc cc.BlendFunc
---@return self
function ParticleSystem3D:setBlendFunc (blendFunc) end
---* set particle render, can set your own particle render
---@param render cc.Particle3DRender
---@return self
function ParticleSystem3D:setRender (render) end
---* stop particle
---@return self
function ParticleSystem3D:stopParticleSystem () end
---* 
---@param keepLocal boolean
---@return self
function ParticleSystem3D:setKeepLocal (keepLocal) end
---* override function
---@param renderer cc.Renderer
---@param transform mat4_table
---@param flags unsigned_int
---@return self
function ParticleSystem3D:draw (renderer,transform,flags) end
---* override function
---@param delta float
---@return self
function ParticleSystem3D:update (delta) end
---* 
---@return self
function ParticleSystem3D:ParticleSystem3D () end