Skip to main content

load_scale_source_bytes

Function load_scale_source_bytes 

Source
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 the base for external resources; bytes is the exact captured top-level FBX container.

ยง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.