MCPcopy Create free account
hub / github.com/csaez/mscreen / __init__

Method __init__

mscreen.py:92–101  ·  view source on GitHub ↗
(self, transform=None)

Source from the content-addressed store, hash-verified

90 some minimums in order to play nicely with the whole system.
91 """
92 def __init__(self, transform=None):
93 logger.debug('Initializing: {}'.format(self))
94 self._transform = om2.MTransformationMatrix() if transform is None \
95 else om2.MTransformationMatrix(transform)
96 self._preCallbacks = list()
97 self._postCallbacks = list()
98 self._parent = None
99 # `isDirty` sets whether or not the primitive needs to be updated
100 # before drawing.
101 self.isDirty = False
102
103 # `transform` holds an OpenMaya 2.0 `MTransformationMatrix` object
104 # representing the transformation matrix of the primitive. Feel free to

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected