pub fn load_source(path: &Path) -> Result<LoadedSource, LoadError>Expand description
Load an .fbx file and retain bounded importer-sensitive source facts.
The returned immutable owner binds the normalized document and source facts to the exact primary bytes parsed by ufbx. Consuming it as a document deliberately discards the sidecar.
ยงErrors
Returns LoadError::Path when the path cannot be passed to ufbx,
LoadError::Fbx when the FBX container cannot be parsed,
LoadError::Bake when an animation take cannot be baked, and
LoadError::SourceFacts when the loader violates a core source-fact
binding invariant.