mirror of https://github.com/axmolengine/axmol.git
73 lines
1.9 KiB
Lua
73 lines
1.9 KiB
Lua
|
|
--------------------------------
|
|
-- @module Skeleton3D
|
|
-- @extend Ref
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- remove all bones
|
|
-- @function [parent=#Skeleton3D] removeAllBones
|
|
-- @param self
|
|
-- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D)
|
|
|
|
--------------------------------
|
|
-- add bone
|
|
-- @function [parent=#Skeleton3D] addBone
|
|
-- @param self
|
|
-- @param #cc.Bone3D bone
|
|
-- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Skeleton3D] getBoneByName
|
|
-- @param self
|
|
-- @param #string id
|
|
-- @return Bone3D#Bone3D ret (return value: cc.Bone3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Skeleton3D] getRootBone
|
|
-- @param self
|
|
-- @param #int index
|
|
-- @return Bone3D#Bone3D ret (return value: cc.Bone3D)
|
|
|
|
--------------------------------
|
|
-- refresh bone world matrix
|
|
-- @function [parent=#Skeleton3D] updateBoneMatrix
|
|
-- @param self
|
|
-- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D)
|
|
|
|
--------------------------------
|
|
-- get bone
|
|
-- @function [parent=#Skeleton3D] getBoneByIndex
|
|
-- @param self
|
|
-- @param #unsigned int index
|
|
-- @return Bone3D#Bone3D ret (return value: cc.Bone3D)
|
|
|
|
--------------------------------
|
|
-- get & set root bone
|
|
-- @function [parent=#Skeleton3D] getRootCount
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- get bone index
|
|
-- @function [parent=#Skeleton3D] getBoneIndex
|
|
-- @param self
|
|
-- @param #cc.Bone3D bone
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- get total bone count
|
|
-- @function [parent=#Skeleton3D] getBoneCount
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Skeleton3D] Skeleton3D
|
|
-- @param self
|
|
-- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D)
|
|
|
|
return nil
|