MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.ChangeTextureAction Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.ChangeTextureAction:

Public Member Functions

None __init__ (self, str name, ObjectMeshHolder obj)
 
None __init__ (self, str name, ObjectMeshHolder obj, Vector_MeshTexture_TextureId newTextures)
 
None __init__ (self, ChangeTextureAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

None action (*args, **kwargs)
 
None setObjectDirty (ObjectMeshHolder obj)
 

Static Public Attributes

 Obj = ObjectMeshHolder
 

Detailed Description

Generated from:  MR::ChangeTextureAction

History action for texture change
\\ingroup HistoryGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.ChangeTextureAction.__init__ ( self,
str name,
ObjectMeshHolder obj )
use this constructor to remember object's textures before making any changes in them

◆ __init__() [2/3]

None meshlib.mrmeshpy.ChangeTextureAction.__init__ ( self,
str name,
ObjectMeshHolder obj,
Vector_MeshTexture_TextureId newTextures )
use this constructor to remember object's textures and immediate set new value

◆ __init__() [3/3]

None meshlib.mrmeshpy.ChangeTextureAction.__init__ ( self,
ChangeTextureAction arg0 )
Implicit copy constructor.

Member Function Documentation

◆ action()

None meshlib.mrmeshpy.ChangeTextureAction.action ( * self,
** actionType )
static
This function is called on history action (undo, redo, etc.)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeTextureAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangeTextureAction.setObjectDirty ( ObjectMeshHolder obj)
static

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeTextureAction.Obj = ObjectMeshHolder
static

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