2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ParticleSystem
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend Node,TextureProtocol
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @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 #point_table point
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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 point_table#point_table ret (return value: point_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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 point_table#point_table ret (return value: point_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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 point_table#point_table ret (return value: point_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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 #point_table point
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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 #point_table point
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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 #point_table point
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-03-28 14:17:06 +08:00
|
|
|
-- @function [parent=#ParticleSystem] getRotationIsDir
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-03-28 14:17:06 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ParticleSystem] setScale
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ParticleSystem] getEmissionRate
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-03-28 14:17:06 +08:00
|
|
|
-- @function [parent=#ParticleSystem] getEndColor
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-03-28 14:17:06 +08:00
|
|
|
-- @return color4F_table#color4F_table ret (return value: color4F_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ParticleSystem] update
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|