pub fn load(path: &Path) -> Result<Document, LoadError>Expand description
Load an .fbx file into a core Document: skeleton, animation,
and scene assets (triangulated meshes, skins, factor-only
materials). Consumers that only judge animation ignore
Document::assets.
§Errors
Returns LoadError::Path when the path cannot be passed to ufbx,
LoadError::Fbx when the FBX container cannot be parsed, and
LoadError::Bake when an animation stack cannot be baked into the
linear TRS tracks that animsmith’s checks consume.