Class cc.ParticleFireworks
Extends
cc.ParticleSystemQuad.
Defined in: CCParticleExamples.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A fireworks particle system
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.ParticleFireworks.create()
Create a fireworks particle system
|
init()
initialize a fireworks particle system
|
|
initWithTotalParticles(numberOfParticles)
initialize a fireworks particle system with number Of Particles
|
- Methods borrowed from class cc.ParticleSystemQuad:
- clone, ctor, draw, initTexCoordsWithRect, listenBackToForeground, postStep, setBatchNode, setDisplayFrame, setTexture, setTextureWithRect, setTotalParticles, setupIndices, updateQuadWithParticle
- Methods borrowed from class cc.ParticleSystem:
- addParticle, destroyParticleSystem, getAngle, getAngleVar, getAtlasIndex, getBatchNode, getBlendFunc, getBoundingBoxToWorld, getDrawMode, getDuration, getEmissionRate, getEmitterMode, getEndColor, getEndColorVar, getEndRadius, getEndRadiusVar, getEndSize, getEndSizeVar, getEndSpin, getEndSpinVar, getGravity, getLife, getLifeVar, getOpacityModifyRGB, getParticleCount, getPositionType, getPosVar, getRadialAccel, getRadialAccelVar, getRotatePerSecond, getRotatePerSecondVar, getShapeType, getSourcePosition, getSpeed, getSpeedVar, getStartColor, getStartColorVar, getStartRadius, getStartRadiusVar, getStartSize, getStartSizeVar, getStartSpin, getStartSpinVar, getTangentialAccel, getTangentialAccelVar, getTexture, getTotalParticles, initParticle, initWithDictionary, initWithFile, isActive, isAutoRemoveOnFinish, isBlendAdditive, isFull, resetSystem, setAngle, setAngleVar, setAtlasIndex, setAutoRemoveOnFinish, setBlendAdditive, setBlendFunc, setDrawMode, setDuration, setEmissionRate, setEmitterMode, setEndColor, setEndColorVar, setEndRadius, setEndRadiusVar, setEndSize, setEndSizeVar, setEndSpin, setEndSpinVar, setGravity, setLife, setLifeVar, setOpacityModifyRGB, setParticleCount, setPositionType, setPosVar, setRadialAccel, setRadialAccelVar, setRotatePerSecond, setRotatePerSecondVar, setRotation, setScale, setScaleX, setScaleY, setShapeType, setSourcePosition, setSpeed, setSpeedVar, setStartColor, setStartColorVar, setStartRadius, setStartRadiusVar, setStartSize, setStartSizeVar, setStartSpin, setStartSpinVar, setTangentialAccel, setTangentialAccelVar, stopSystem, update, updateWithNoTime
- Methods borrowed from class cc.Node:
- addChild, cleanup, convertToNodeSpace, convertToNodeSpaceAR, convertTouchToNodeSpace, convertTouchToNodeSpaceAR, convertToWorldSpace, convertToWorldSpaceAR, description, getActionByTag, getActionManager, getAnchorPoint, getAnchorPointInPoints, getBoundingBox, getCamera, getChildByTag, getChildren, getChildrenCount, getContentSize, getGLServerState, getGrid, getOrderOfArrival, getParent, getPosition, getPositionX, getPositionY, getRotation, getScale, getScaleX, getScaleY, getScheduler, getShaderProgram, getSkewX, getSkewY, getTag, getUserData, getUserObject, getVertexZ, getZOrder, ignoreAnchorPointForPosition, isIgnoreAnchorPointForPosition, isRunning, isVisible, nodeToParentTransform, nodeToWorldTransform, numberOfRunningActions, onEnter, onEnterTransitionDidFinish, onExit, onExitTransitionDidStart, parentToNodeTransform, pauseSchedulerAndActions, release, removeAllChildren, removeAllChildrenWithCleanup, removeChild, removeChildByTag, removeFromParent, removeFromParentAndCleanup, reorderChild, resumeSchedulerAndActions, retain, runAction, schedule, scheduleOnce, scheduleUpdate, scheduleUpdateWithPriority, setActionManager, setAnchorPoint, setContentSize, setGLServerState, setGrid, setNodeDirty, setOrderOfArrival, setParent, setPosition, setPositionX, setPositionY, setScheduler, setShaderProgram, setSkewX, setSkewY, setTag, setUserData, setUserObject, setVertexZ, setVisible, setZOrder, sortAllChildren, stopAction, stopActionByTag, stopAllActions, transform, transformAncestors, unschedule, unscheduleAllCallbacks, unscheduleUpdate, updateTransform, visit, worldToNodeTransform
Class Detail
cc.ParticleFireworks()
A fireworks particle system
var emitter = cc.ParticleFireworks.create();
Method Detail
<static>
{cc.ParticleFireworks}
cc.ParticleFireworks.create()
Create a fireworks particle system
var emitter = cc.ParticleFireworks.create();
- Returns:
- {cc.ParticleFireworks}
{Boolean}
init()
initialize a fireworks particle system
- Returns:
- {Boolean}
{Boolean}
initWithTotalParticles(numberOfParticles)
initialize a fireworks particle system with number Of Particles
- Parameters:
- {Number} numberOfParticles
- Returns:
- {Boolean}