Skip to main content

CCParticleBatchNode

CCParticleBatchNode

Cocos2D

Inheritance: System.Object → Cocos2D.CCNode

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

Constructors

CCParticleBatchNode(CCTexture2D)

CCParticleBatchNode(CCTexture2D)(Cocos2D.CCTexture2D tex)
Parameters:
tex (Cocos2D.CCTexture2D)

CCParticleBatchNode(CCTexture2D, int)

CCParticleBatchNode(CCTexture2D, int)(Cocos2D.CCTexture2D tex, System.Int32 capacity)
Parameters:
tex (Cocos2D.CCTexture2D)
capacity (System.Int32)

CCParticleBatchNode(string, int)

CCParticleBatchNode(string, int)(System.String imageFile, System.Int32 capacity)
Parameters:
imageFile (System.String)
capacity (System.Int32)

Fields

TextureAtlas(Cocos2D.CCTextureAtlas)
kCCParticleDefaultCapacity(System.Int32)

Properties

BlendFunc(Cocos2D.CCBlendFunc)
Texture(Cocos2D.CCTexture2D)

Methods

AddChild(CCNode, int, int)

AddChild(CCNode, int, int)(Cocos2D.CCNode child, System.Int32 zOrder, System.Int32 tag)
Parameters:
child (Cocos2D.CCNode)
zOrder (System.Int32)
tag (System.Int32)
Example

DisableParticle(int)

DisableParticle(int)(System.Int32 particleIndex)
Parameters:
particleIndex (System.Int32)

Draw()

Draw()()
Example

InitWithFile(string, int)

System.Boolean InitWithFile(string, int)(System.String fileImage, System.Int32 capacity)
Parameters:
fileImage (System.String)
capacity (System.Int32)
Returns:
System.Boolean

InitWithTexture(CCTexture2D, int)

System.Boolean InitWithTexture(CCTexture2D, int)(Cocos2D.CCTexture2D tex, System.Int32 capacity)
Parameters:
tex (Cocos2D.CCTexture2D)
capacity (System.Int32)
Returns:
System.Boolean

RemoveAllChildren(bool)

RemoveAllChildren(bool)(System.Boolean doCleanup)
Parameters:
doCleanup (System.Boolean)
Example

RemoveChild(CCNode, bool)

RemoveChild(CCNode, bool)(Cocos2D.CCNode child, System.Boolean cleanup)
Parameters:
child (Cocos2D.CCNode)
cleanup (System.Boolean)
Example

RemoveChildAtIndex(int, bool)

RemoveChildAtIndex(int, bool)(System.Int32 index, System.Boolean doCleanup)
Parameters:
index (System.Int32)
doCleanup (System.Boolean)

ReorderChild(CCNode, int)

ReorderChild(CCNode, int)(Cocos2D.CCNode child, System.Int32 zOrder)
Parameters:
child (Cocos2D.CCNode)
zOrder (System.Int32)
Example

Visit()

Visit()()
Example