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

Last Updated: 20 June, 2023