Generated from: MR::PartialChangeMeshAction
Undo action for efficiently storage of partial change in mesh (e.g. a modification of small region)
| mrmeshpy.ConstPartialChangeMeshAction.__init__ |
( |
| self, |
|
|
* | args, |
|
|
** | kwargs ) |
__init__(*args, **kwargs)
Overloaded function.
1. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstCmpOld, oldMesh: meshlib.mrmeshpy.ConstMesh) -> None
use this constructor after the object already contains new mesh,
and old mesh is passed to remember the difference for future undoing
2. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstSetNew, newMesh: meshlib.mrmeshpy.Mesh) -> None
use this constructor to set new object's mesh and remember its difference from existed mesh for future undoing
3. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, arg0: meshlib.mrmeshpy.ConstPartialChangeMeshAction) -> None
Implicit copy constructor.
4. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, : meshlib.mrmeshpy.ConstPartialChangeMeshAction) -> None