mirror of https://github.com/axmolengine/axmol.git
521 lines
15 KiB
Lua
521 lines
15 KiB
Lua
|
|
--------------------------------
|
|
-- @module ParticleSystem
|
|
-- @extend Node,TextureProtocol
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartSizeVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getTexture
|
|
-- @param self
|
|
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] isFull
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getBatchNode
|
|
-- @param self
|
|
-- @return ParticleBatchNode#ParticleBatchNode ret (return value: cc.ParticleBatchNode)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartColor
|
|
-- @param self
|
|
-- @return color4F_table#color4F_table ret (return value: color4F_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getPositionType
|
|
-- @param self
|
|
-- @return ParticleSystem::PositionType#ParticleSystem::PositionType ret (return value: cc.ParticleSystem::PositionType)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setPosVar
|
|
-- @param self
|
|
-- @param #cc.math::Vector2 array
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndSpin
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setRotatePerSecondVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartSpinVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getRadialAccelVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndSizeVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setRotation
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setTangentialAccel
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setScaleY
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setScaleX
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getRadialAccel
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartRadius
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setRotatePerSecond
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndSize
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getGravity
|
|
-- @param self
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getTangentialAccel
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndRadius
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getSpeed
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getAngle
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndColor
|
|
-- @param self
|
|
-- @param #color4F_table color4f
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartSpin
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setDuration
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setTexture
|
|
-- @param self
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getPosVar
|
|
-- @param self
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] updateWithNoTime
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] isBlendAdditive
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getSpeedVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setPositionType
|
|
-- @param self
|
|
-- @param #cc.ParticleSystem::PositionType positiontype
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] stopSystem
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getSourcePosition
|
|
-- @param self
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setLifeVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setTotalParticles
|
|
-- @param self
|
|
-- @param #int int
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndColorVar
|
|
-- @param self
|
|
-- @param #color4F_table color4f
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] updateQuadWithParticle
|
|
-- @param self
|
|
-- @param #cc.sParticle sparticle
|
|
-- @param #cc.math::Vector2 array
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getAtlasIndex
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartSize
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartSpinVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] resetSystem
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setAtlasIndex
|
|
-- @param self
|
|
-- @param #int int
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setTangentialAccelVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndRadiusVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndRadius
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] isOpacityModifyRGB
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] isActive
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setRadialAccelVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartSize
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setSpeed
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartSpin
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getRotatePerSecond
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] initParticle
|
|
-- @param self
|
|
-- @param #cc.sParticle sparticle
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEmitterMode
|
|
-- @param self
|
|
-- @param #cc.ParticleSystem::Mode mode
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getDuration
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setSourcePosition
|
|
-- @param self
|
|
-- @param #cc.math::Vector2 array
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndSpinVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setBlendAdditive
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setLife
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setAngleVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setRotationIsDir
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndSizeVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setAngle
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setBatchNode
|
|
-- @param self
|
|
-- @param #cc.ParticleBatchNode particlebatchnode
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getTangentialAccelVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEmitterMode
|
|
-- @param self
|
|
-- @return ParticleSystem::Mode#ParticleSystem::Mode ret (return value: cc.ParticleSystem::Mode)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndSpinVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getAngleVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartColor
|
|
-- @param self
|
|
-- @param #color4F_table color4f
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getRotatePerSecondVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndSize
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getLife
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setSpeedVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setAutoRemoveOnFinish
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setGravity
|
|
-- @param self
|
|
-- @param #cc.math::Vector2 array
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] postStep
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEmissionRate
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndColorVar
|
|
-- @param self
|
|
-- @return color4F_table#color4F_table ret (return value: color4F_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getRotationIsDir
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setScale
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEmissionRate
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndColor
|
|
-- @param self
|
|
-- @return color4F_table#color4F_table ret (return value: color4F_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getLifeVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartSizeVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setOpacityModifyRGB
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] addParticle
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartRadius
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getParticleCount
|
|
-- @param self
|
|
-- @return unsigned int#unsigned int ret (return value: unsigned int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartRadiusVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartColorVar
|
|
-- @param self
|
|
-- @param #color4F_table color4f
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setEndSpin
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setRadialAccel
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] isAutoRemoveOnFinish
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getTotalParticles
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] setStartRadiusVar
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getEndRadiusVar
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] getStartColorVar
|
|
-- @param self
|
|
-- @return color4F_table#color4F_table ret (return value: color4F_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] create
|
|
-- @param self
|
|
-- @param #string str
|
|
-- @return ParticleSystem#ParticleSystem ret (return value: cc.ParticleSystem)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] createWithTotalParticles
|
|
-- @param self
|
|
-- @param #int int
|
|
-- @return ParticleSystem#ParticleSystem ret (return value: cc.ParticleSystem)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ParticleSystem] update
|
|
-- @param self
|
|
-- @param #float float
|
|
|
|
return nil
|