detachSkin

fun ModelInstance.detachSkin(target: Node, @IntRange(from = 0) skinIndex: Int = 0)

Attaches the given skin to the given node, which must have an associated mesh with BONE_INDICES and BONE_WEIGHTS attributes.

This is a no-op if the given skin index or target is invalid.