createTranslationXYZ MethodStatic
create a Transform with translation provided by x,y,z parts.
createTranslationXYZ(x: number = 0, y: number = 0, z: number = 0, result?: Transform): Transform
Parameter | Type | Description |
---|---|---|
x | number | x part of translation |
y | number | y part of translation |
z | number | z part of translation |
result | Transform | optional result |
Returns - Transform
new or updated transform.
Defined in
- geometry3d/Transform.ts Line 192
Last Updated: 30 November, 2023