Skip to main content

CCParticleEmitterLight

CCParticleEmitterLight

Cocos2D

Inheritance: System.Object → Cocos2D.CCNode → Cocos2D.CCDrawNode

Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}

Constructors​

CCParticleEmitterLight(int)

CCParticleEmitterLight(int)(System.Int32 maxParticles)
Parameters:
maxParticles (System.Int32)

Properties​

ActiveParticleCount(System.Int32)
DefaultDrag(System.Single)
IsActive(System.Boolean)
OnUpdateParticle(Cocos2D.CCParticleEmitterLight.ParticleUpdateDelegate)
QuadraticFade(System.Boolean)

Methods​

Emit(CCPoint, int, float, float, float, CCColor4F, float, float, float, float)

Emit(CCPoint, int, float, float, float, CCColor4F, float, float, float, float)(Cocos2D.CCPoint position, System.Int32 count, System.Single speed, System.Single spreadAngle, System.Single baseAngle, Cocos2D.CCColor4F color, System.Single life, System.Single size, System.Single speedVariance, System.Single lifeVariance)
Parameters:
position (Cocos2D.CCPoint)
count (System.Int32)
speed (System.Single)
spreadAngle (System.Single)
baseAngle (System.Single)
color (Cocos2D.CCColor4F)
life (System.Single)
size (System.Single)
speedVariance (System.Single)
lifeVariance (System.Single)

Emit(CCPoint, int, float, float, float, CCColor4F[], float, float, float, float)

Emit(CCPoint, int, float, float, float, CCColor4F[], float, float, float, float)(Cocos2D.CCPoint position, System.Int32 count, System.Single speed, System.Single spreadAngle, System.Single baseAngle, Cocos2D.CCColor4F[] colors, System.Single life, System.Single size, System.Single speedVariance, System.Single lifeVariance)
Parameters:
position (Cocos2D.CCPoint)
count (System.Int32)
speed (System.Single)
spreadAngle (System.Single)
baseAngle (System.Single)
colors (Cocos2D.CCColor4F[])
life (System.Single)
size (System.Single)
speedVariance (System.Single)
lifeVariance (System.Single)

StopAll()

StopAll()()

UpdateParticles(float)

UpdateParticles(float)(System.Single dt)
Parameters:
dt (System.Single)