Class Index | File Index

Classes


Class cc.ParticleFire


Extends cc.ParticleSystemQuad.

Defined in: CCParticleExamples.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A fire particle system
Method Summary
Method Attributes Method Name and Description
<static>  
cc.ParticleFire.create()
Create a fire particle system
 
init()
initialize a fire particle system
 
initWithTotalParticles(numberOfParticles)
initialize a fire 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.ParticleFire()
A fire particle system
var emitter = cc.ParticleFire.create();
Method Detail
<static> {cc.ParticleFire} cc.ParticleFire.create()
Create a fire particle system
var emitter = cc.ParticleFire.create();
Returns:
{cc.ParticleFire}

{Boolean} init()
initialize a fire particle system
Returns:
{Boolean}

{Boolean} initWithTotalParticles(numberOfParticles)
initialize a fire particle system with number Of Particles
Parameters:
{Number} numberOfParticles
Returns:
{Boolean}

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:52 GMT-0800 (PST)