Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ThickenParams) -> &mut meshlib::ThickenParams |
| auto | outside_offset () const -> &f32 |
| auto | outside_offset_mut () -> &mut f32 |
| void | set_outside_offset (value:f32) |
| auto | inside_offset () const -> &f32 |
| auto | inside_offset_mut () -> &mut f32 |
| void | set_inside_offset (value:f32) |
| auto | normals_trust_factor () const -> &f32 |
| auto | normals_trust_factor_mut () -> &mut f32 |
| void | set_normals_trust_factor (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ThickenParams > |
| static auto | construct_from (outsideOffset:f32, insideOffset:f32, normalsTrustFactor:f32) -> meshlib::Owned< meshlib::ThickenParams > |
| static auto | construct_from_another (_other:&meshlib::ThickenParams) -> meshlib::Owned< meshlib::ThickenParams > |
| 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::ThickenParams.
Generated from class MR::ThickenParams. Heap-allocated instances are held in Owned<ThickenParams>.
| auto meshlib::ThickenParams::assign_from_another | ( | _other:&meshlib::ThickenParams | ) | -> &mut meshlib::ThickenParams |
Generated from method MR::ThickenParams::operator=.
Calls MR_ThickenParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::ThickenParams elementwise.
Calls MR_ThickenParams_ConstructFrom().
|
static |
Generated from constructor MR::ThickenParams::ThickenParams.
Calls MR_ThickenParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ThickenParams::inside_offset | ( | ) | const -> &f32 |
the amount of offset for cloned mirrored mesh vertices in the opposite direction Returns a pointer to a member variable of class MR::ThickenParams named insideOffset.
Calls MR_ThickenParams_Get_insideOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::ThickenParams::inside_offset_mut | ( | ) | -> &mut f32 |
the amount of offset for cloned mirrored mesh vertices in the opposite direction Returns a mutable pointer to a member variable of class MR::ThickenParams named insideOffset.
Calls MR_ThickenParams_GetMutable_insideOffset(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ThickenParams_DefaultConstruct().
| auto meshlib::ThickenParams::normals_trust_factor | ( | ) | const -> &f32 |
increasing this value will lead mesh vertices to shift in the directions closer to their raw pseudo-normals, but it will increase the probability of self-intersections as well; decreasing (to a positive value) will on the contrary make the field of shift directions smoother Returns a pointer to a member variable of class MR::ThickenParams named normalsTrustFactor.
Calls MR_ThickenParams_Get_normalsTrustFactor(). The reference to this object might be preserved as the return value.
| auto meshlib::ThickenParams::normals_trust_factor_mut | ( | ) | -> &mut f32 |
increasing this value will lead mesh vertices to shift in the directions closer to their raw pseudo-normals, but it will increase the probability of self-intersections as well; decreasing (to a positive value) will on the contrary make the field of shift directions smoother Returns a mutable pointer to a member variable of class MR::ThickenParams named normalsTrustFactor.
Calls MR_ThickenParams_GetMutable_normalsTrustFactor(). The reference to this object might be preserved as the return value.
| auto meshlib::ThickenParams::outside_offset | ( | ) | const -> &f32 |
the amount of offset for original mesh vertices Returns a pointer to a member variable of class MR::ThickenParams named outsideOffset.
Calls MR_ThickenParams_Get_outsideOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::ThickenParams::outside_offset_mut | ( | ) | -> &mut f32 |
the amount of offset for original mesh vertices Returns a mutable pointer to a member variable of class MR::ThickenParams named outsideOffset.
Calls MR_ThickenParams_GetMutable_outsideOffset(). The reference to this object might be preserved as the return value.
| void meshlib::ThickenParams::set_inside_offset | ( | value:f32 | ) |
the amount of offset for cloned mirrored mesh vertices in the opposite direction Modifies a member variable of class MR::ThickenParams named insideOffset.
Calls MR_ThickenParams_Set_insideOffset().
| void meshlib::ThickenParams::set_normals_trust_factor | ( | value:f32 | ) |
increasing this value will lead mesh vertices to shift in the directions closer to their raw pseudo-normals, but it will increase the probability of self-intersections as well; decreasing (to a positive value) will on the contrary make the field of shift directions smoother Modifies a member variable of class MR::ThickenParams named normalsTrustFactor.
Calls MR_ThickenParams_Set_normalsTrustFactor().
| void meshlib::ThickenParams::set_outside_offset | ( | value:f32 | ) |
the amount of offset for original mesh vertices Modifies a member variable of class MR::ThickenParams named outsideOffset.
Calls MR_ThickenParams_Set_outsideOffset().