MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstChangeMeshAction:

Public Member Functions

 __init__ (self, *args, **kwargs)
int heapBytes (self)
str name (self)

Static Public Member Functions

None setObjectDirty (ObjectMesh obj)

Static Public Attributes

 ConstObj = ConstObjectMesh
 Obj = ObjectMesh

Detailed Description

Generated from:  MR::ChangeMeshAction

Undo action for ObjectMesh mesh change

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstChangeMeshAction.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstChangeMeshAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh) -> None

use this constructor to remember object's mesh before making any changes in it

2. __init__(self: meshlib.mrmeshpy.ConstChangeMeshAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, newMesh: meshlib.mrmeshpy.Mesh) -> None

use this constructor to remember object's mesh and immediately set new mesh

3. __init__(self: meshlib.mrmeshpy.ConstChangeMeshAction, arg0: meshlib.mrmeshpy.ConstChangeMeshAction) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstChangeMeshAction, : meshlib.mrmeshpy.ConstChangeMeshAction) -> None

Member Function Documentation

◆ heapBytes()

int mrmeshpy.ConstChangeMeshAction.heapBytes ( self)
returns the amount of memory this object occupies on heap

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ setObjectDirty()

None mrmeshpy.ConstChangeMeshAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstChangeMeshAction.Obj = ObjectMesh
static

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