MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::SceneLoad Namespace Reference

Classes

class  _ByValue_Result
 
class  _ByValue_Settings
 
class  _InOptConst_Result
 
class  _InOptConst_Settings
 
class  _InOptMut_Result
 
class  _InOptMut_Settings
 
class  Const_Result
 
class  Const_Settings
 
class  Result
 Scene loading result.
 
class  Settings
 

Functions

MRMESH_API Result fromAnySupportedFormat (const std::vector< std::filesystem::path > &files, const Settings &settings={})
 
MRMESH_API void asyncFromAnySupportedFormat (const std::vector< std::filesystem::path > &files, const PostLoadCallback &postLoadCallback, const Settings &settings={})
 

Function Documentation

◆ 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