2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module SpriteBatchNode
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend Node,TextureProtocol
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] appendChild
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] addSpriteWithoutQuad
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
|
|
|
-- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] reorderBatch
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] removeAllChildrenWithCleanup
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] lowestAtlasIndexInChild
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @param #cc.Sprite sprite
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @return long#long ret (return value: long)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] atlasIndexForChild
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @param #int int
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return long#long ret (return value: long)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] setTextureAtlas
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @param #cc.TextureAtlas textureatlas
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] getTexture
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] increaseAtlasCapacity
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] getTextureAtlas
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] insertQuadFromSprite
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #long long
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] setTexture
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @param #cc.Texture2D texture2d
|
2014-03-19 09:56:50 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] rebuildIndexInOrder
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @param #long long
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @return long#long ret (return value: long)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] highestAtlasIndexInChild
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-03-19 09:56:50 +08:00
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return long#long ret (return value: long)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] removeChildAtIndex
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @param #long long
|
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] removeSpriteFromAtlas
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #long long
|
|
|
|
-- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] createWithTexture
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
-- @param #long long
|
|
|
|
-- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] addChild
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Mat4 mat4
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] sortAllChildren
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] removeChild
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] reorderChild
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #int int
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|