MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::ChangeMeshTexturePerFaceAction Struct Reference
Inheritance diagram for meshlib::ChangeMeshTexturePerFaceAction:

Public Member Functions

auto name () const -> meshlib::Owned< meshlib::std_string >
void action (_1:meshlib::HistoryAction_Type)
auto heap_bytes () const -> usize
auto upcast_to_history_action () const -> &meshlib::HistoryAction
auto upcast_to_history_action_mut () -> &mut meshlib::HistoryAction

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::ChangeMeshTexturePerFaceAction) -> meshlib::Owned< meshlib::ChangeMeshTexturePerFaceAction >
static auto construct_2 (name:&str, obj:&meshlib::std_shared_ptr_MR_ObjectMeshHolder) -> meshlib::Owned< meshlib::ChangeMeshTexturePerFaceAction >
static auto construct_3 (name:&str, obj:&meshlib::std_shared_ptr_MR_ObjectMeshHolder, newTexturePerFace:&mut meshlib::TexturePerFace) -> meshlib::Owned< meshlib::ChangeMeshTexturePerFaceAction >
static void set_object_dirty (obj:&meshlib::std_shared_ptr_MR_ObjectMeshHolder)
static auto static_downcast_from_history_action (object:&meshlib::HistoryAction) -> &Self
static auto static_downcast_from_history_action_mut (object:&mut meshlib::HistoryAction) -> &mut Self
static auto dynamic_downcast_from_history_action (object:&meshlib::HistoryAction) -> Option<&Self >
static auto dynamic_downcast_from_history_action_mut (object:&mut meshlib::HistoryAction) -> Option<&mut Self >
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

Undo action for ObjectMeshHolder texturePerFace change Generated from class MR::ChangeMeshTexturePerFaceAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Member Function Documentation

◆ action()

void meshlib::ChangeMeshTexturePerFaceAction::action ( _1:meshlib::HistoryAction_Type )

Generated from method MR::ChangeMeshTexturePerFaceAction::action.

Calls MR_ChangeMeshTexturePerFaceAction_action().

◆ construct_2()

auto meshlib::ChangeMeshTexturePerFaceAction::construct_2 ( name:& str,
obj:&meshlib::std_shared_ptr_MR_ObjectMeshHolder  ) -> meshlib::Owned< meshlib::ChangeMeshTexturePerFaceAction >
static

use this constructor to remember object's texturePerFace data before making any changes in them Generated from constructor MR::ChangeMeshTexturePerFaceAction::ChangeMeshTexturePerFaceAction.

Calls MR_ChangeMeshTexturePerFaceAction_Construct_2(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object.

◆ construct_3()

auto meshlib::ChangeMeshTexturePerFaceAction::construct_3 ( name:& str,
obj:&meshlib::std_shared_ptr_MR_ObjectMeshHolder ,
newTexturePerFace:&mut meshlib::TexturePerFace  ) -> meshlib::Owned< meshlib::ChangeMeshTexturePerFaceAction >
static

use this constructor to remember object's texturePerFace data and immediate set new value Generated from constructor MR::ChangeMeshTexturePerFaceAction::ChangeMeshTexturePerFaceAction.

Calls MR_ChangeMeshTexturePerFaceAction_Construct_3(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter newTexturePerFace might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ChangeMeshTexturePerFaceAction::ChangeMeshTexturePerFaceAction.

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

◆ dynamic_downcast_from_history_action()

auto meshlib::ChangeMeshTexturePerFaceAction::dynamic_downcast_from_history_action ( object:&meshlib::HistoryAction ) -> Option<&Self >
static

Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a ChangeMeshTexturePerFaceAction.

Calls MR_ChangeMeshTexturePerFaceAction_DynamicDowncastFrom_MR_HistoryAction().

◆ dynamic_downcast_from_history_action_mut()

auto meshlib::ChangeMeshTexturePerFaceAction::dynamic_downcast_from_history_action_mut ( object:&mut meshlib::HistoryAction ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a ChangeMeshTexturePerFaceAction.

Calls MR_ChangeMeshTexturePerFaceAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heap_bytes()

auto meshlib::ChangeMeshTexturePerFaceAction::heap_bytes ( ) const -> usize

Generated from method MR::ChangeMeshTexturePerFaceAction::heapBytes.

Calls MR_ChangeMeshTexturePerFaceAction_heapBytes().

◆ name()

auto meshlib::ChangeMeshTexturePerFaceAction::name ( ) const -> meshlib::Owned< meshlib::std_string >

Generated from method MR::ChangeMeshTexturePerFaceAction::name.

Calls MR_ChangeMeshTexturePerFaceAction_name().

◆ set_object_dirty()

void meshlib::ChangeMeshTexturePerFaceAction::set_object_dirty ( obj:&meshlib::std_shared_ptr_MR_ObjectMeshHolder )
static

Generated from method MR::ChangeMeshTexturePerFaceAction::setObjectDirty.

Calls MR_ChangeMeshTexturePerFaceAction_setObjectDirty().

◆ static_downcast_from_history_action()

auto meshlib::ChangeMeshTexturePerFaceAction::static_downcast_from_history_action ( object:&meshlib::HistoryAction ) -> &Self
static

Static downcast from the base class MR::HistoryAction.

Calls MR_ChangeMeshTexturePerFaceAction_StaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a ChangeMeshTexturePerFaceAction.

Note
This function is unsafe.

◆ static_downcast_from_history_action_mut()

auto meshlib::ChangeMeshTexturePerFaceAction::static_downcast_from_history_action_mut ( object:&mut meshlib::HistoryAction ) -> &mut Self
static

Static downcast from the base class MR::HistoryAction.

Calls MR_ChangeMeshTexturePerFaceAction_MutableStaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a ChangeMeshTexturePerFaceAction.

Note
This function is unsafe.

◆ upcast_to_history_action()

auto meshlib::ChangeMeshTexturePerFaceAction::upcast_to_history_action ( ) const -> &meshlib::HistoryAction

Upcasts to the base class MR::HistoryAction.

Calls MR_ChangeMeshTexturePerFaceAction_UpcastTo_MR_HistoryAction().

◆ upcast_to_history_action_mut()

auto meshlib::ChangeMeshTexturePerFaceAction::upcast_to_history_action_mut ( ) -> &mut meshlib::HistoryAction

Upcasts to the base class MR::HistoryAction.

Calls MR_ChangeMeshTexturePerFaceAction_MutableUpcastTo_MR_HistoryAction().


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