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

Classes

struct  Settings

Functions

auto to_any_supported_scene_format (object:&meshlib::Object, file:&str, settings:Option<&meshlib::object_save::Settings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_any_supported_format (object:&meshlib::Object, file:&str, settings:Option<&meshlib::object_save::Settings >) -> meshlib::Owned< meshlib::expected_void_std_string >

Function Documentation

◆ to_any_supported_format()

auto meshlib::object_save::to_any_supported_format ( object:&meshlib::Object ,
file:& str,
settings:Option<&meshlib::object_save::Settings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

save a scene object to a given file if the file format is scene-capable, saves all the object's entities otherwise, saves only merged entities of the corresponding type (mesh, polyline, point cloud, etc.) Generated from function MR::ObjectSave::toAnySupportedFormat.

Calls MR_ObjectSave_toAnySupportedFormat().

◆ to_any_supported_scene_format()

auto meshlib::object_save::to_any_supported_scene_format ( object:&meshlib::Object ,
file:& str,
settings:Option<&meshlib::object_save::Settings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

save an object tree to a given file file format must be scene-capable Generated from function MR::ObjectSave::toAnySupportedSceneFormat.

Calls MR_ObjectSave_toAnySupportedSceneFormat().