(self, x=0.0, y=0.0, z=0.0)
| 142 | # convenience and should be equivalent to the ones provided by the Maya |
| 143 | # API. |
| 144 | def move(self, x=0.0, y=0.0, z=0.0): |
| 145 | x, y, z = [v for v in (x, y, z) if isinstance(v, int)] |
| 146 | if x == y == z == 0.0: |
| 147 | return |
| 148 | offset = om2.MVector(x, y, z) |
| 149 | self.transform.translateBy(offset, om2.MSpace.kWorld) |
| 150 | self.isDirty = True |
| 151 | |
| 152 | def rotate(self, x=0.0, y=0.0, z=0.0, asDegrees=True): |
| 153 | if x == y == z == 0.0: |
no outgoing calls
no test coverage detected