getBoneByName static method
dynamic
getBoneByName(
- dynamic name,
- dynamic skeleton
Implementation
static getBoneByName(name, skeleton) {
for (var i = 0, bones = getBones(skeleton); i < bones.length; i++) {
if (name == bones[i].name) return bones[i];
}
}