2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Mesh
|
|
|
|
-- @extend Ref
|
|
|
|
-- @parent_module cc
|
|
|
|
|
2015-01-28 13:46:25 +08:00
|
|
|
--------------------------------
|
|
|
|
-- get mesh vertex attribute count
|
|
|
|
-- @function [parent=#Mesh] getMeshVertexAttribCount
|
|
|
|
-- @param self
|
|
|
|
-- @return long#long ret (return value: long)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @overload self, cc.Texture2D
|
|
|
|
-- @overload self, string
|
|
|
|
-- @function [parent=#Mesh] setTexture
|
|
|
|
-- @param self
|
|
|
|
-- @param #string texPath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Mesh#Mesh self (return value: cc.Mesh)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @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
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Mesh#Mesh self (return value: cc.Mesh)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
2015-01-28 13:46:25 +08:00
|
|
|
--------------------------------
|
|
|
|
-- get per vertex size in bytes
|
|
|
|
-- @function [parent=#Mesh] getVertexSizeInBytes
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Mesh] getBlendFunc
|
|
|
|
-- @param self
|
|
|
|
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
|
|
|
|
|
2015-01-28 13:46:25 +08:00
|
|
|
--------------------------------
|
|
|
|
-- get MeshVertexAttribute by index
|
|
|
|
-- @function [parent=#Mesh] getMeshVertexAttribute
|
|
|
|
-- @param self
|
|
|
|
-- @param #int idx
|
|
|
|
-- @return MeshVertexAttrib#MeshVertexAttrib ret (return value: cc.MeshVertexAttrib)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @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
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Mesh#Mesh self (return value: cc.Mesh)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
return nil
|