90 lines
2.6 KiB
Lua
90 lines
2.6 KiB
Lua
---@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 |