MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::scene_load Namespace Reference

Classes

struct  Result
struct  Settings

Functions

auto from_any_supported_format (files:&meshlib::std_vector_std_filesystem_path, settings:Option<&meshlib::scene_load::Settings >) -> meshlib::Owned< meshlib::scene_load::Result >
void async_from_any_supported_format (files:&meshlib::std_vector_std_filesystem_path, postLoadCallback:&meshlib::std_function_void_from_MR_SceneLoad_Result, settings:Option<&meshlib::scene_load::Settings >)

Function Documentation

◆ async_from_any_supported_format()

void meshlib::scene_load::async_from_any_supported_format ( files:&meshlib::std_vector_std_filesystem_path ,
postLoadCallback:&meshlib::std_function_void_from_MR_SceneLoad_Result ,
settings:Option<&meshlib::scene_load::Settings >  )

Generated from function MR::SceneLoad::asyncFromAnySupportedFormat.

Calls MR_SceneLoad_asyncFromAnySupportedFormat().

◆ from_any_supported_format()

auto meshlib::scene_load::from_any_supported_format ( files:&meshlib::std_vector_std_filesystem_path ,
settings:Option<&meshlib::scene_load::Settings >  ) -> meshlib::Owned< meshlib::scene_load::Result >

Load scene from file; if both targetUnit and loadedObject.lengthUnit are not nullopt, then adjusts transformations of the loaded objects Generated from function MR::SceneLoad::fromAnySupportedFormat.

Calls MR_SceneLoad_fromAnySupportedFormat().