namespace AsyncObjectLoad
More...
◆ PostLoadCallback
Async load scene from file; calls postLoadCallback from a working thread (or from the main thread on single-thread platforms) after all files being loaded
◆ SceneLoader
◆ asyncFromAnySupportedFormat()
| MRMESH_API void MR::SceneLoad::asyncFromAnySupportedFormat |
( |
const std::vector< std::filesystem::path > & | files, |
|
|
const PostLoadCallback & | postLoadCallback, |
|
|
const Settings & | settings = {} ) |
◆ fromAnySupportedFormat()
| MRMESH_API Result MR::SceneLoad::fromAnySupportedFormat |
( |
const std::vector< std::filesystem::path > & | files, |
|
|
const Settings & | settings = {} ) |
Load scene from file; if both targetUnit and loadedObject.lengthUnit are not nullopt, then adjusts transformations of the loaded objects