Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::SphereParams) -> &mut meshlib::SphereParams |
| auto | radius () const -> &f32 |
| auto | radius_mut () -> &mut f32 |
| void | set_radius (value:f32) |
| auto | num_mesh_vertices () const -> &core::ffi::c_int |
| auto | num_mesh_vertices_mut () -> &mut core::ffi::c_int |
| void | set_num_mesh_vertices (value:core::ffi::c_int) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SphereParams > |
| static auto | construct_from (radius:f32, numMeshVertices:core::ffi::c_int) -> meshlib::Owned< meshlib::SphereParams > |
| static auto | construct_from_another (_other:&meshlib::SphereParams) -> meshlib::Owned< meshlib::SphereParams > |
| 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::SphereParams.
Generated from class MR::SphereParams. Heap-allocated instances are held in Owned<SphereParams>.
| auto meshlib::SphereParams::assign_from_another | ( | _other:&meshlib::SphereParams | ) | -> &mut meshlib::SphereParams |
Generated from method MR::SphereParams::operator=.
Calls MR_SphereParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::SphereParams elementwise.
Calls MR_SphereParams_ConstructFrom().
|
static |
Generated from constructor MR::SphereParams::SphereParams.
Calls MR_SphereParams_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_SphereParams_DefaultConstruct().
| auto meshlib::SphereParams::num_mesh_vertices | ( | ) | const -> &core::ffi::c_int |
Returns a pointer to a member variable of class MR::SphereParams named numMeshVertices.
Calls MR_SphereParams_Get_numMeshVertices(). The reference to this object might be preserved as the return value.
| auto meshlib::SphereParams::num_mesh_vertices_mut | ( | ) | -> &mut core::ffi::c_int |
Returns a mutable pointer to a member variable of class MR::SphereParams named numMeshVertices.
Calls MR_SphereParams_GetMutable_numMeshVertices(). The reference to this object might be preserved as the return value.
| auto meshlib::SphereParams::radius | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::SphereParams named radius.
Calls MR_SphereParams_Get_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::SphereParams::radius_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::SphereParams named radius.
Calls MR_SphereParams_GetMutable_radius(). The reference to this object might be preserved as the return value.
| void meshlib::SphereParams::set_num_mesh_vertices | ( | value:core::ffi::c_int | ) |
Modifies a member variable of class MR::SphereParams named numMeshVertices.
Calls MR_SphereParams_Set_numMeshVertices().
| void meshlib::SphereParams::set_radius | ( | value:f32 | ) |
Modifies a member variable of class MR::SphereParams named radius.
Calls MR_SphereParams_Set_radius().