(self, transform=None, size=1.0)
| 402 | Z_COLOR = COLOR_BLUE |
| 403 | |
| 404 | def __init__(self, transform=None, size=1.0): |
| 405 | super(TransformPrim, self).__init__(transform) |
| 406 | # Notice how 3 vectors can be used to compose the matrix (depending on |
| 407 | # your use case, composition can provide a more convenient/clean way to |
| 408 | # extend classes than inheritance). |
| 409 | self._xAxis = VectorPrim((1, 0, 0), color=TransformPrim.X_COLOR) |
| 410 | self._yAxis = VectorPrim((0, 1, 0), color=TransformPrim.Y_COLOR) |
| 411 | self._zAxis = VectorPrim((0, 0, 1), color=TransformPrim.Z_COLOR) |
| 412 | self.size = size |
| 413 | |
| 414 | @property |
| 415 | def size(self): |
nothing calls this directly
no test coverage detected