pub(crate) fn animation_index( document: &LitGltf, reference: &AnimationRef, ) -> Result<usize, Error>
Resolve the animation a document reference names.