MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstChangeMeshTexturePerFaceAction Class Reference
Inheritance diagram for mrmeshpy.ConstChangeMeshTexturePerFaceAction:

Public Member Functions

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

Static Public Member Functions

None setObjectDirty (ObjectMeshHolder obj)

Static Public Attributes

 ConstObj = ConstObjectMeshHolder
 Obj = ObjectMeshHolder

Detailed Description

Generated from:  MR::ChangeMeshTexturePerFaceAction

Undo action for ObjectMeshHolder texturePerFace change

Constructor & Destructor Documentation

◆ __init__()

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

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

use this constructor to remember object's texturePerFace data before making any changes in them

2. __init__(self: meshlib.mrmeshpy.ConstChangeMeshTexturePerFaceAction, name: str, obj: meshlib.mrmeshpy.ObjectMeshHolder, newTexturePerFace: meshlib.mrmeshpy.TexturePerFace) -> None

use this constructor to remember object's texturePerFace data and immediate set new value

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

Implicit copy constructor.

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

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshTexturePerFaceAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ setObjectDirty()

None mrmeshpy.ConstChangeMeshTexturePerFaceAction.setObjectDirty ( ObjectMeshHolder obj)
static

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshTexturePerFaceAction.ConstObj = ConstObjectMeshHolder
static

◆ Obj

mrmeshpy.ConstChangeMeshTexturePerFaceAction.Obj = ObjectMeshHolder
static

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