Constructor
new TransformedShape(Shape)
Example
let matrix = Translate(new Vector(0,0,5))// move 5 units up
cube = new TransformedShape(shape, matrix)
(Shape, Matrix)
Parameters:
| Name | Type | Description |
|---|---|---|
Shape |
||
|
Matrix |