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.



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.

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