translate($x, $y, $z)
Creates a transformation that moves an object
| object name | Type | Type Description | Mandatory | Default |
|---|---|---|---|---|
| x | double | Value by which the object is to be moved in the x direction. | yes | |
| y | double | Value by which the object is to be moved in the y direction. | yes | |
| z | double | Value by which the object is to be moved in the z direction. | yes double |
Type: `tl.threed.core:Transformation`
translate(100, 100, 50);
Output: Creates a transformation that moves an object by 100 in the x and y directions and by 50 in the z direction.