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

Public Member Functions

auto assign_from_another (_other:&meshlib::FlowOrigin) -> &mut meshlib::FlowOrigin
auto point () const -> &meshlib::MeshTriPoint
auto point_mut () -> &mut meshlib::MeshTriPoint
void set_point (value:&meshlib::MeshTriPoint)
auto amount () const -> &f32
auto amount_mut () -> &mut f32
void set_amount (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FlowOrigin >
static auto construct_from (point:&meshlib::MeshTriPoint, amount:f32) -> meshlib::Owned< meshlib::FlowOrigin >
static auto construct_from_another (_other:&meshlib::FlowOrigin) -> meshlib::Owned< meshlib::FlowOrigin >
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::FlowOrigin.

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

Member Function Documentation

◆ amount()

auto meshlib::FlowOrigin::amount ( ) const -> &f32

amount of flow, e.g. can be proportional to the horizontal area associated with the start point Returns a pointer to a member variable of class MR::FlowOrigin named amount.

Calls MR_FlowOrigin_Get_amount(). The reference to this object might be preserved as the return value.

◆ amount_mut()

auto meshlib::FlowOrigin::amount_mut ( ) -> &mut f32

amount of flow, e.g. can be proportional to the horizontal area associated with the start point Returns a mutable pointer to a member variable of class MR::FlowOrigin named amount.

Calls MR_FlowOrigin_GetMutable_amount(). The reference to this object might be preserved as the return value.

◆ assign_from_another()

auto meshlib::FlowOrigin::assign_from_another ( _other:&meshlib::FlowOrigin ) -> &mut meshlib::FlowOrigin

Generated from method MR::FlowOrigin::operator=.

Calls MR_FlowOrigin_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::FlowOrigin::construct_from ( point:&meshlib::MeshTriPoint ,
amount:f32  ) -> meshlib::Owned< meshlib::FlowOrigin >
static

Constructs MR::FlowOrigin elementwise.

Calls MR_FlowOrigin_ConstructFrom(). The reference to the parameter point might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::FlowOrigin::construct_from_another ( _other:&meshlib::FlowOrigin ) -> meshlib::Owned< meshlib::FlowOrigin >
static

Generated from constructor MR::FlowOrigin::FlowOrigin.

Calls MR_FlowOrigin_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FlowOrigin_DefaultConstruct().

◆ point()

auto meshlib::FlowOrigin::point ( ) const -> &meshlib::MeshTriPoint

point on the mesh, where this flow starts Returns a pointer to a member variable of class MR::FlowOrigin named point.

Calls MR_FlowOrigin_Get_point(). The reference to this object might be preserved as the return value.

◆ point_mut()

auto meshlib::FlowOrigin::point_mut ( ) -> &mut meshlib::MeshTriPoint

point on the mesh, where this flow starts Returns a mutable pointer to a member variable of class MR::FlowOrigin named point.

Calls MR_FlowOrigin_GetMutable_point(). The reference to this object might be preserved as the return value.

◆ set_amount()

void meshlib::FlowOrigin::set_amount ( value:f32 )

amount of flow, e.g. can be proportional to the horizontal area associated with the start point Modifies a member variable of class MR::FlowOrigin named amount.

Calls MR_FlowOrigin_Set_amount().

◆ set_point()

void meshlib::FlowOrigin::set_point ( value:&meshlib::MeshTriPoint )

point on the mesh, where this flow starts Modifies a member variable of class MR::FlowOrigin named point.

Calls MR_FlowOrigin_Set_point(). The reference to the parameter value might be preserved in this object in element point.


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