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

Classes

class  Type
 

Public Member Functions

None __init__ (self, str name, VisualObject obj, ChangeObjectColorAction.Type type)
 
None __init__ (self, ChangeObjectColorAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

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

Static Public Attributes

 Obj
 

Detailed Description

Generated from:  MR::ChangeObjectColorAction

History action for object color palette change
To use with setFrontColorsForAllViewports, setBackColorsForAllViewports, setFrontColor, setBackColor
\\ingroup HistoryGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.ChangeObjectColorAction.__init__ ( self,
str name,
VisualObject obj,
ChangeObjectColorAction.Type type )
Constructed from original obj

◆ __init__() [2/2]

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

Member Function Documentation

◆ action()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeObjectColorAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangeObjectColorAction.setObjectDirty ( * args,
** kwargs )
static

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeObjectColorAction.Obj
static

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