Skip to main content

load_scale_source

Function load_scale_source 

Source
pub fn load_scale_source(path: &Path) -> Result<FbxScaleSource, LoadError>
Expand description

Load an .fbx file and retain its conservative scale capability inventory.

The returned source also owns the shared importer-sensitive source facts; the inventory remains the operation-specific scale view. Neither scale operation is enabled for FBX by this API.

ยง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 take cannot be baked, and LoadError::SourceFacts when the loader violates a core source-fact binding invariant.