Public Member Functions | |
| Settings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Settings () | |
| Settings (meshlib.objectsave.Settings _other) | |
| meshlib.objectsave.Settings | assignFromAnother (meshlib.objectsave.Settings _other) |
| meshlib.std_optional_MR_LengthUnit | lengthUnit () |
| void | setLengthUnit (meshlib.LengthUnit value) |
| meshlib.std_function_bool_from_float | progress () |
| void | setProgress (meshlib.std_function_bool_from_float value) |
| meshlib.scenesave.Settings | upcastToSettings () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Static Public Member Functions | |
| static meshlib.objectsave.Settings | staticDowncastFromSettings (meshlib.scenesave.Settings object) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
ObjectSave::Settings and SceneSave::Settings must be distinct classes for ObjectSave::ObjectSaver and SceneSave::SceneSaver be distinct types and MR_FORMAT_REGISTRY_DECL does not mix them Generated from class MR::ObjectSave::Settings. Base classes: Direct: (non-virtual) MR::SceneSave::Settings
Instances created here own their C++ objects, see CppObject.
| meshlib.objectsave.Settings.Settings | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.objectsave.Settings.Settings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectSave_Settings_DefaultConstruct().
| meshlib.objectsave.Settings.Settings | ( | meshlib.objectsave.Settings | _other | ) |
Generated from constructor MR::ObjectSave::Settings::Settings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_ObjectSave_Settings_ConstructFromAnother().
| meshlib.objectsave.Settings meshlib.objectsave.Settings.assignFromAnother | ( | meshlib.objectsave.Settings | _other | ) |
Generated from method MR::ObjectSave::Settings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_ObjectSave_Settings_AssignFromAnother().
| meshlib.std_optional_MR_LengthUnit meshlib.objectsave.Settings.lengthUnit | ( | ) |
units of input coordinates and transformation, to be serialized if the format supports it Returns a pointer to a member variable of class MR::ObjectSave::Settings named lengthUnit. The reference to this object might be preserved as the return value.
Calls MR_ObjectSave_Settings_Get_lengthUnit().
| meshlib.std_function_bool_from_float meshlib.objectsave.Settings.progress | ( | ) |
to report loading progress and allow the user to cancel it Returns a pointer to a member variable of class MR::ObjectSave::Settings named progress. The reference to this object might be preserved as the return value.
Calls MR_ObjectSave_Settings_Get_progress().
| void meshlib.objectsave.Settings.setLengthUnit | ( | meshlib.LengthUnit | value | ) |
units of input coordinates and transformation, to be serialized if the format supports it Modifies a member variable of class MR::ObjectSave::Settings named lengthUnit. The reference to the parameter value might be preserved in this object in element lengthUnit.
Calls MR_ObjectSave_Settings_Set_lengthUnit().
| void meshlib.objectsave.Settings.setProgress | ( | meshlib.std_function_bool_from_float | value | ) |
to report loading progress and allow the user to cancel it Modifies a member variable of class MR::ObjectSave::Settings named progress. The reference to the parameter value might be preserved in this object in element progress.
Calls MR_ObjectSave_Settings_Set_progress().
|
static |
Static downcast from the base class MR::SceneSave::Settings. Undefined behavior if the object isn't actually a Settings. The result refers to object.
Calls MR_ObjectSave_Settings_MutableStaticDowncastFrom_MR_SceneSave_Settings().
| meshlib.scenesave.Settings meshlib.objectsave.Settings.upcastToSettings | ( | ) |
Upcasts to the base class MR::SceneSave::Settings. The result refers to this object.
Calls MR_ObjectSave_Settings_MutableUpcastTo_MR_SceneSave_Settings().