getBoneByName method
Implementation
Bone? getBoneByName(name) {
for (var i = 0, il = bones.length; i < il; i++) {
var bone = bones[i];
if (bone.name == name) {
return bone;
}
}
return null;
}
Bone? getBoneByName(name) {
for (var i = 0, il = bones.length; i < il; i++) {
var bone = bones[i];
if (bone.name == name) {
return bone;
}
}
return null;
}