renameBones static method
dynamic
renameBones(
- dynamic skeleton,
- dynamic names
Implementation
static renameBones(skeleton, names) {
var bones = getBones(skeleton);
for (var i = 0; i < bones.length; ++i) {
var bone = bones[i];
if (names[bone.name]) {
bone.name = names[bone.name];
}
}
// TODO how return this;
print("SkeletonUtils.renameBones need confirm how return this ");
// return this;
}