2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module SpriteBatchNode
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend Node,TextureProtocol
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
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-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
2014-04-10 14:19:59 +08:00
|
|
|
-- @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-08-29 18:38:25 +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-08-29 18:38:25 +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-08-29 18:38:25 +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-08-29 18:38:25 +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
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @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-08-29 18:38:25 +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
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @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-08-29 18:38:25 +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
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #string str
|
|
|
|
-- @param #long long
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] createWithTexture
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
-- @param #long long
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, cc.Node, int, string
|
|
|
|
-- @overload self, cc.Node, int, int
|
2014-06-25 14:17:41 +08:00
|
|
|
-- @function [parent=#SpriteBatchNode] addChild
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
2014-06-25 14:17:41 +08:00
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #mat4_table mat4
|
|
|
|
-- @param #unsigned int int
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
2014-05-23 11:12:39 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] visit
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #mat4_table mat4
|
|
|
|
-- @param #unsigned int int
|
2014-05-23 11:12:39 +08:00
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] sortAllChildren
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] removeChild
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #bool bool
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteBatchNode] reorderChild
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #int int
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|