axmol/cocos/scripting/lua-bindings/auto/api/AtlasNode.lua

98 lines
2.5 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module AtlasNode
-- @extend Node,TextureProtocol
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- updates the Atlas (indexed vertex array).<br>
-- Shall be overridden in subclasses
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] updateAtlasValues
-- @param self
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] getTexture
-- @param self
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] setTextureAtlas
-- @param self
-- @param #cc.TextureAtlas textureAtlas
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] getTextureAtlas
-- @param self
-- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] getQuadsToDraw
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] setTexture
-- @param self
-- @param #cc.Texture2D texture
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] setQuadsToDraw
-- @param self
-- @param #long quadsToDraw
2014-03-10 14:04:58 +08:00
--------------------------------
-- creates a AtlasNode with an Atlas file the width and height of each item and the quantity of items to render
2014-03-10 14:04:58 +08:00
-- @function [parent=#AtlasNode] create
-- @param self
-- @param #string filename
-- @param #int tileWidth
-- @param #int tileHeight
-- @param #int itemsToRender
2014-03-10 14:04:58 +08:00
-- @return AtlasNode#AtlasNode ret (return value: cc.AtlasNode)
--------------------------------
--
-- @function [parent=#AtlasNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
--------------------------------
--
-- @function [parent=#AtlasNode] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#AtlasNode] setColor
-- @param self
-- @param #color3b_table color
--------------------------------
--
-- @function [parent=#AtlasNode] getColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
--
-- @function [parent=#AtlasNode] setOpacityModifyRGB
-- @param self
-- @param #bool isOpacityModifyRGB
--------------------------------
--
-- @function [parent=#AtlasNode] setOpacity
-- @param self
-- @param #unsigned char opacity
2014-03-10 14:04:58 +08:00
return nil