Class: Skeleton

Skeleton

new Skeleton(params)

骨架

Name Type Description
params Object optional

创建对象的属性参数。可包含此类的所有属性。

Members Show Inherited

Name Type Default Description
isSkeleton Boolean true
className String Skeleton
userData any null

用户数据

id String math.generateUUID('Skeleton')

id

jointNodeList Array.<Node> []
jointNames Array.<String> []
inverseBindMatrices Array.<Matrix4> []
jointCount Number

关节数量

rootNode Node

设置根节点

Methods Show Inherited

resetJointNamesByNodeName(skeleton)

用新骨骼的 node name 重设 jointNames

Name Type Description
skeleton Skeleton

新骨架

clone(rootNode){Skeleton}

clone

Name Type Description
rootNode Node optional
Returns:
Type Description
Skeleton

copy(skeleton, rootNode){Skeleton}

copy

Name Type Description
skeleton Skeleton
rootNode Node optional
Returns:
Type Description
Skeleton this