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 | |
Generated from: MR::ChangeObjectColorAction History action for object color palette change To use with setFrontColorsForAllViewports, setBackColorsForAllViewports, setFrontColor, setBackColor \\ingroup HistoryGroup
None meshlib.mrmeshpy.ChangeObjectColorAction.__init__ | ( | self, | |
str | name, | ||
VisualObject | obj, | ||
ChangeObjectColorAction.Type | type ) |
Constructed from original obj
None meshlib.mrmeshpy.ChangeObjectColorAction.__init__ | ( | self, | |
ChangeObjectColorAction | arg0 ) |
Implicit copy constructor.
|
static |
This function is called on history action (undo, redo, etc.)
Reimplemented from meshlib.mrmeshpy.HistoryAction.
int meshlib.mrmeshpy.ChangeObjectColorAction.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
Reimplemented from meshlib.mrmeshpy.HistoryAction.
str meshlib.mrmeshpy.ChangeObjectColorAction.name | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.HistoryAction.
|
static |
|
static |