Undo action for ObjectMeshHolder uvCoords change.
More...
#include <MRChangeMeshAction.h>
Undo action for ObjectMeshHolder uvCoords change.
◆ Obj
◆ ChangeMeshUVCoordsAction() [1/2]
MR::ChangeMeshUVCoordsAction::ChangeMeshUVCoordsAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectMeshHolder > & | obj ) |
|
inline |
use this constructor to remember object's uv-coordinates before making any changes in them
◆ ChangeMeshUVCoordsAction() [2/2]
MR::ChangeMeshUVCoordsAction::ChangeMeshUVCoordsAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectMeshHolder > & | obj, |
|
|
VertUVCoords && | newUvCoords ) |
|
inline |
use this constructor to remember object's uv-coordinates and immediate set new value
◆ action()
This function is called on history action (undo, redo, etc.)
Implements MR::HistoryAction.
◆ heapBytes()
virtual size_t MR::ChangeMeshUVCoordsAction::heapBytes |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
returns the amount of memory this object occupies on heap
Implements MR::HistoryAction.
◆ name()
virtual std::string MR::ChangeMeshUVCoordsAction::name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setObjectDirty()
static void MR::ChangeMeshUVCoordsAction::setObjectDirty |
( |
const std::shared_ptr< ObjectMeshHolder > & | obj | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: