diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.ParticleSystem3D.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.ParticleSystem3D.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc.ParticleSystem3D.lua | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.ParticleSystem3D.lua b/meta/3rd/Cocos4.0/library/cc.ParticleSystem3D.lua new file mode 100644 index 00000000..3f5664a3 --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc.ParticleSystem3D.lua @@ -0,0 +1,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
\ No newline at end of file |