Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::NoiseSettings) -> &mut meshlib::NoiseSettings |
| auto | sigma () const -> &f32 |
| auto | sigma_mut () -> &mut f32 |
| void | set_sigma (value:f32) |
| auto | seed () const -> &core::ffi::c_uint |
| auto | seed_mut () -> &mut core::ffi::c_uint |
| void | set_seed (value:core::ffi::c_uint) |
| auto | callback () const -> &meshlib::std_function_bool_from_float |
| auto | callback_mut () -> &mut meshlib::std_function_bool_from_float |
| void | set_callback (value:&meshlib::std_function_bool_from_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::NoiseSettings > |
| static auto | construct_from (sigma:f32, seed:core::ffi::c_uint, callback:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::NoiseSettings > |
| static auto | construct_from_another (_other:&meshlib::NoiseSettings) -> meshlib::Owned< meshlib::NoiseSettings > |
| 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::NoiseSettings.
Generated from class MR::NoiseSettings. Heap-allocated instances are held in Owned<NoiseSettings>.
| auto meshlib::NoiseSettings::assign_from_another | ( | _other:&meshlib::NoiseSettings | ) | -> &mut meshlib::NoiseSettings |
Generated from method MR::NoiseSettings::operator=.
Calls MR_NoiseSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::NoiseSettings::callback | ( | ) | const -> &meshlib::std_function_bool_from_float |
Returns a pointer to a member variable of class MR::NoiseSettings named callback.
Calls MR_NoiseSettings_Get_callback(). The reference to this object might be preserved as the return value.
| auto meshlib::NoiseSettings::callback_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
Returns a mutable pointer to a member variable of class MR::NoiseSettings named callback.
Calls MR_NoiseSettings_GetMutable_callback(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::NoiseSettings elementwise.
Calls MR_NoiseSettings_ConstructFrom(). The reference to the parameter seed might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object.
|
static |
Generated from constructor MR::NoiseSettings::NoiseSettings.
Calls MR_NoiseSettings_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_NoiseSettings_DefaultConstruct().
| auto meshlib::NoiseSettings::seed | ( | ) | const -> &core::ffi::c_uint |
start state of the generator engine Returns a pointer to a member variable of class MR::NoiseSettings named seed.
Calls MR_NoiseSettings_Get_seed(). The reference to this object might be preserved as the return value.
| auto meshlib::NoiseSettings::seed_mut | ( | ) | -> &mut core::ffi::c_uint |
start state of the generator engine Returns a mutable pointer to a member variable of class MR::NoiseSettings named seed.
Calls MR_NoiseSettings_GetMutable_seed(). The reference to this object might be preserved as the return value.
| void meshlib::NoiseSettings::set_callback | ( | value:&meshlib::std_function_bool_from_float | ) |
Modifies a member variable of class MR::NoiseSettings named callback.
Calls MR_NoiseSettings_Set_callback(). The reference to the parameter value might be preserved in this object in element callback.
| void meshlib::NoiseSettings::set_seed | ( | value:core::ffi::c_uint | ) |
start state of the generator engine Modifies a member variable of class MR::NoiseSettings named seed.
Calls MR_NoiseSettings_Set_seed(). The reference to the parameter value might be preserved in this object in element seed.
| void meshlib::NoiseSettings::set_sigma | ( | value:f32 | ) |
Modifies a member variable of class MR::NoiseSettings named sigma.
Calls MR_NoiseSettings_Set_sigma().
| auto meshlib::NoiseSettings::sigma | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::NoiseSettings named sigma.
Calls MR_NoiseSettings_Get_sigma(). The reference to this object might be preserved as the return value.
| auto meshlib::NoiseSettings::sigma_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::NoiseSettings named sigma.
Calls MR_NoiseSettings_GetMutable_sigma(). The reference to this object might be preserved as the return value.