Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::scene_load::Settings > |
| static auto | construct_from (targetUnit:Option< meshlib::LengthUnit >, progress:&meshlib::std_function_bool_from_float, openFolder:&meshlib::std_function_expected_MR_LoadedObjects_std_string_from_const_std_filesystem_path_ref_const_std_function_bool_func_from_float_ref) -> meshlib::Owned< meshlib::scene_load::Settings > |
| static auto | construct_from_another (_other:&meshlib::scene_load::Settings) -> meshlib::Owned< meshlib::scene_load::Settings > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::SceneLoad::Settings.
Generated from class MR::SceneLoad::Settings. Heap-allocated instances are held in Owned<Settings>.
| auto meshlib::scene_load::Settings::assign_from_another | ( | _other:&meshlib::scene_load::Settings | ) | -> &mut meshlib::scene_load::Settings |
Generated from method MR::SceneLoad::Settings::operator=.
Calls MR_SceneLoad_Settings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::SceneLoad::Settings elementwise.
Calls MR_SceneLoad_Settings_ConstructFrom(). The reference to the parameter targetUnit might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. The reference to the parameter openFolder might be preserved in the constructed object.
|
static |
Generated from constructor MR::SceneLoad::Settings::Settings.
Calls MR_SceneLoad_Settings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SceneLoad_Settings_DefaultConstruct().
| auto meshlib::scene_load::Settings::open_folder | ( | ) | const -> &meshlib::std_function_expected_MR_LoadedObjects_std_string_from_const_std_filesystem_path_ref_const_std_function_bool_func_from_float_ref |
Returns a pointer to a member variable of class MR::SceneLoad::Settings named openFolder.
Calls MR_SceneLoad_Settings_Get_openFolder(). The reference to this object might be preserved as the return value.
| auto meshlib::scene_load::Settings::open_folder_mut | ( | ) | -> &mut meshlib::std_function_expected_MR_LoadedObjects_std_string_from_const_std_filesystem_path_ref_const_std_function_bool_func_from_float_ref |
Returns a mutable pointer to a member variable of class MR::SceneLoad::Settings named openFolder.
Calls MR_SceneLoad_Settings_GetMutable_openFolder(). The reference to this object might be preserved as the return value.
| auto meshlib::scene_load::Settings::progress | ( | ) | const -> &meshlib::std_function_bool_from_float |
to report loading progress and allow the user to cancel it Returns a pointer to a member variable of class MR::SceneLoad::Settings named progress.
Calls MR_SceneLoad_Settings_Get_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::scene_load::Settings::progress_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
to report loading progress and allow the user to cancel it Returns a mutable pointer to a member variable of class MR::SceneLoad::Settings named progress.
Calls MR_SceneLoad_Settings_GetMutable_progress(). The reference to this object might be preserved as the return value.
| void meshlib::scene_load::Settings::set_open_folder | ( | value:&meshlib::std_function_expected_MR_LoadedObjects_std_string_from_const_std_filesystem_path_ref_const_std_function_bool_func_from_float_ref | ) |
Modifies a member variable of class MR::SceneLoad::Settings named openFolder.
Calls MR_SceneLoad_Settings_Set_openFolder(). The reference to the parameter value might be preserved in this object in element openFolder.
| void meshlib::scene_load::Settings::set_progress | ( | value:&meshlib::std_function_bool_from_float | ) |
to report loading progress and allow the user to cancel it Modifies a member variable of class MR::SceneLoad::Settings named progress.
Calls MR_SceneLoad_Settings_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.
| void meshlib::scene_load::Settings::set_target_unit | ( | value:Option< meshlib::LengthUnit > | ) |
if both targetUnit and loadedObject.lengthUnit are not nullopt, then adjusts transformations of the loaded objects to match target units Modifies a member variable of class MR::SceneLoad::Settings named targetUnit.
Calls MR_SceneLoad_Settings_Set_targetUnit(). The reference to the parameter value might be preserved in this object in element targetUnit.
| auto meshlib::scene_load::Settings::target_unit | ( | ) | const -> &meshlib::std_optional_MR_LengthUnit |
if both targetUnit and loadedObject.lengthUnit are not nullopt, then adjusts transformations of the loaded objects to match target units Returns a pointer to a member variable of class MR::SceneLoad::Settings named targetUnit.
Calls MR_SceneLoad_Settings_Get_targetUnit(). The reference to this object might be preserved as the return value.
| auto meshlib::scene_load::Settings::target_unit_mut | ( | ) | -> &mut meshlib::std_optional_MR_LengthUnit |
if both targetUnit and loadedObject.lengthUnit are not nullopt, then adjusts transformations of the loaded objects to match target units Returns a mutable pointer to a member variable of class MR::SceneLoad::Settings named targetUnit.
Calls MR_SceneLoad_Settings_GetMutable_targetUnit(). The reference to this object might be preserved as the return value.