public static CCSpriteBatchNode batchNodeWithTexture(CCTexture2D tex, int capacity) { CCSpriteBatchNode node = new CCSpriteBatchNode(); node.initWithTexture(tex, capacity); return(node); }
public static CCSpriteBatchNode batchNodeWithTexture(CCTexture2D tex) { CCSpriteBatchNode node = new CCSpriteBatchNode(); node.initWithTexture(tex, 0x1d); return(node); }
/// <summary> /// creates a CCSpriteBatchNode with a texture2d and a default capacity of 29 children. /// The capacity will be increased in 33% in runtime if it run out of space. /// </summary> public static CCSpriteBatchNode batchNodeWithTexture(Texture tex) { CCSpriteBatchNode batchNode = new CCSpriteBatchNode(); batchNode.initWithTexture(tex, defaultCapacity); return(batchNode); }
/// <summary> /// creates a CCSpriteBatchNode with a texture2d and capacity of children. /// The capacity will be increased in 33% in runtime if it run out of space. /// </summary> public static CCSpriteBatchNode batchNodeWithTexture(Texture tex, int capacity) { CCSpriteBatchNode batchNode = new CCSpriteBatchNode(); batchNode.initWithTexture(tex, capacity); return batchNode; }
/// <summary> /// creates a CCSpriteBatchNode with a texture2d and a default capacity of 29 children. /// The capacity will be increased in 33% in runtime if it run out of space. /// </summary> public static CCSpriteBatchNode batchNodeWithTexture(CCTexture2D tex) { CCSpriteBatchNode batchNode = new CCSpriteBatchNode(); batchNode.initWithTexture(tex, defaultCapacity); return batchNode; }