pub fn load_scale_source_bytes(
path: &Path,
bytes: &[u8],
) -> Result<FbxScaleSource, LoadError>Expand description
Load captured FBX bytes and retain the capability inventory from the same parse.
path supplies source provenance and parser context; bytes is the exact
captured top-level FBX container. This legacy byte-only entry point does
not permit external resource I/O; use
load_scale_source_bytes_with_resource_root for rooted capture.
ยงErrors
Returns LoadError::Path when path cannot be passed to ufbx,
LoadError::Fbx when the FBX container cannot be parsed, and
LoadError::Bake when an animation take cannot be baked, and
LoadError::SourceFacts when the loader violates a core source-fact
binding invariant.