2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Skin
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Sprite
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] getBone
|
|
|
|
-- @param self
|
|
|
|
-- @return Bone#Bone ret (return value: ccs.Bone)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] getNodeToWorldTransformAR
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Mat4#Mat4 ret (return value: cc.Mat4)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] initWithFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] getDisplayName
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] updateArmatureTransform
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] initWithSpriteFrameName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] setBone
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccs.Bone bone
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: create(string)
|
|
|
|
--
|
|
|
|
-- overload function: create()
|
|
|
|
--
|
|
|
|
-- @function [parent=#Skin] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return Skin#Skin ret (retunr value: ccs.Skin)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] createWithSpriteFrameName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return Skin#Skin ret (return value: ccs.Skin)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] updateTransform
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] getNodeToWorldTransform
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Mat4#Mat4 ret (return value: cc.Mat4)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] 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
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Skin] Skin
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|