findByName static method
Implementation
static findByName(List<AnimationClip> objectOrClipArray, name) {
var clipArray = objectOrClipArray;
if (objectOrClipArray.runtimeType.toString() != "List<AnimationClip>") {
print("AnimationClip.findByName todo ");
// var o = objectOrClipArray;
// clipArray = o.geometry && o.geometry.animations || o.animations;
}
for (var i = 0; i < clipArray.length; i++) {
if (clipArray[i].name == name) {
return clipArray[i];
}
}
return null;
}