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

Public Member Functions

auto assign_from_another (_other:&meshlib::MeshNormals) -> &mut meshlib::MeshNormals
auto face_normals () const -> &meshlib::FaceNormals
auto face_normals_mut () -> &mut meshlib::FaceNormals
void set_face_normals (value:&meshlib::FaceNormals)
auto vert_normals () const -> &meshlib::VertCoords
auto vert_normals_mut () -> &mut meshlib::VertCoords
void set_vert_normals (value:&meshlib::VertCoords)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MeshNormals >
static auto construct_from (faceNormals:&meshlib::FaceNormals, vertNormals:&meshlib::VertCoords) -> meshlib::Owned< meshlib::MeshNormals >
static auto construct_from_another (_other:&meshlib::MeshNormals) -> meshlib::Owned< meshlib::MeshNormals >
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::MeshNormals.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::MeshNormals::construct_from ( faceNormals:&meshlib::FaceNormals ,
vertNormals:&meshlib::VertCoords  ) -> meshlib::Owned< meshlib::MeshNormals >
static

Constructs MR::MeshNormals elementwise.

Calls MR_MeshNormals_ConstructFrom(). The reference to the parameter faceNormals might be preserved in the constructed object. The reference to the parameter vertNormals might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshNormals::MeshNormals.

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

◆ face_normals()

auto meshlib::MeshNormals::face_normals ( ) const -> &meshlib::FaceNormals

Returns a pointer to a member variable of class MR::MeshNormals named faceNormals.

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

◆ face_normals_mut()

auto meshlib::MeshNormals::face_normals_mut ( ) -> &mut meshlib::FaceNormals

Returns a mutable pointer to a member variable of class MR::MeshNormals named faceNormals.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshNormals_DefaultConstruct().

◆ set_face_normals()

void meshlib::MeshNormals::set_face_normals ( value:&meshlib::FaceNormals )

Modifies a member variable of class MR::MeshNormals named faceNormals.

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

◆ set_vert_normals()

void meshlib::MeshNormals::set_vert_normals ( value:&meshlib::VertCoords )

Modifies a member variable of class MR::MeshNormals named vertNormals.

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

◆ vert_normals()

auto meshlib::MeshNormals::vert_normals ( ) const -> &meshlib::VertCoords

Returns a pointer to a member variable of class MR::MeshNormals named vertNormals.

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

◆ vert_normals_mut()

auto meshlib::MeshNormals::vert_normals_mut ( ) -> &mut meshlib::VertCoords

Returns a mutable pointer to a member variable of class MR::MeshNormals named vertNormals.

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


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