ModelData:getNodeSkin

Edit

Returns the index of the skin used by a node. Skins are collections of joints used for skeletal animation. A model can have multiple skins, and each node can use at most one skin to drive the animation of its meshes.

skin = ModelData:getNodeSkin(node)

Arguments

NameTypeDescription
nodestring | number The name or index of a node.

Returns

NameTypeDescription
skinnumber The index of the node's skin, or nil if the node isn't skeletally animated.

See also