MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::SphereParams:

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

Detailed Description

Generated from class MR::SphereParams.

Generated from class MR::SphereParams. Heap-allocated instances are held in Owned<SphereParams>.

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from()

auto meshlib::SphereParams::construct_from ( radius:f32 ,
numMeshVertices:core::ffi::c_int  ) -> meshlib::Owned< meshlib::SphereParams >
static

Constructs MR::SphereParams elementwise.

Calls MR_SphereParams_ConstructFrom().

◆ construct_from_another()

auto meshlib::SphereParams::construct_from_another ( _other:&meshlib::SphereParams ) -> meshlib::Owned< meshlib::SphereParams >
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.

◆ new()

auto meshlib::SphereParams::new ( ) -> meshlib::Owned< meshlib::SphereParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_SphereParams_DefaultConstruct().

◆ num_mesh_vertices()

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.

◆ num_mesh_vertices_mut()

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.

◆ radius()

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.

◆ radius_mut()

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.

◆ set_num_mesh_vertices()

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().

◆ set_radius()

void meshlib::SphereParams::set_radius ( value:f32 )

Modifies a member variable of class MR::SphereParams named radius.

Calls MR_SphereParams_Set_radius().


The documentation for this struct was generated from the following file: