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

Public Member Functions

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

Static Public Member Functions

None setObjectDirty (*args, **kwargs)

Static Public Attributes

 ConstObj = ConstObject
 Obj = Object

Detailed Description

Generated from:  MR::ChangeObjectVisibilityAction

History action for object visibility

Constructor & Destructor Documentation

◆ __init__()

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

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

use this constructor to remember object's visibility mask before making any changes in it

2. __init__(self: meshlib.mrmeshpy.ConstChangeObjectVisibilityAction, name: str, obj: meshlib.mrmeshpy.Object, newVisibilityMask: meshlib.mrmeshpy.ConstViewportMask) -> None

use this constructor to remember object's visibility mask and immediately set new mask

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

Implicit copy constructor.

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

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeObjectVisibilityAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ setObjectDirty()

None mrmeshpy.ConstChangeObjectVisibilityAction.setObjectDirty ( * args,
** kwargs )
static

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeObjectVisibilityAction.ConstObj = ConstObject
static

◆ Obj

mrmeshpy.ConstChangeObjectVisibilityAction.Obj = Object
static

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