mirror of https://github.com/axmolengine/axmol.git
73 lines
1.9 KiB
Lua
73 lines
1.9 KiB
Lua
|
|
--------------------------------
|
|
-- @module Mesh
|
|
-- @extend Ref
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- get mesh vertex attribute count
|
|
-- @function [parent=#Mesh] getMeshVertexAttribCount
|
|
-- @param self
|
|
-- @return long#long ret (return value: long)
|
|
|
|
--------------------------------
|
|
-- @overload self, cc.Texture2D
|
|
-- @overload self, string
|
|
-- @function [parent=#Mesh] setTexture
|
|
-- @param self
|
|
-- @param #string texPath
|
|
-- @return Mesh#Mesh self (return value: cc.Mesh)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Mesh] getTexture
|
|
-- @param self
|
|
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
|
|
|
|
--------------------------------
|
|
-- name getter
|
|
-- @function [parent=#Mesh] getName
|
|
-- @param self
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Mesh] setBlendFunc
|
|
-- @param self
|
|
-- @param #cc.BlendFunc blendFunc
|
|
-- @return Mesh#Mesh self (return value: cc.Mesh)
|
|
|
|
--------------------------------
|
|
-- get per vertex size in bytes
|
|
-- @function [parent=#Mesh] getVertexSizeInBytes
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Mesh] getBlendFunc
|
|
-- @param self
|
|
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
|
|
|
|
--------------------------------
|
|
-- get MeshVertexAttribute by index
|
|
-- @function [parent=#Mesh] getMeshVertexAttribute
|
|
-- @param self
|
|
-- @param #int idx
|
|
-- @return MeshVertexAttrib#MeshVertexAttrib ret (return value: cc.MeshVertexAttrib)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Mesh] isVisible
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- visible getter and setter
|
|
-- @function [parent=#Mesh] setVisible
|
|
-- @param self
|
|
-- @param #bool visible
|
|
-- @return Mesh#Mesh self (return value: cc.Mesh)
|
|
|
|
return nil
|