ModelData:getNodeSkin

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(index)

Arguments

NameTypeDescription
indexnumber The index of the node.

Returns

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

skin = ModelData:getNodeSkin(name)

Arguments

NameTypeDescription
namestring The name of the node.

Returns

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

See also