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

Method scale

mscreen.py:164–169  ·  view source on GitHub ↗
(self, x=0.0, y=0.0, z=0.0)

Source from the content-addressed store, hash-verified

162 self.isDirty = True
163
164 def scale(self, x=0.0, y=0.0, z=0.0):
165 if x == y == z == 0.0:
166 return
167 offset = om2.MVector(x, y, z)
168 self.transform.scaleBy(offset, om2.MSpace.kWorld)
169 self.isDirty = True
170
171 # === Primitive callbacks ===
172

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected