Pass:translate

Edit

Translates the coordinate system.



Translate the coordinate system using numbers.

Arguments

NameTypeDescription
xnumber The x component of the translation.
ynumber The y component of the translation.
znumber The z component of the translation.

Returns

Nothing

Translate the coordinate system using a vector.

Arguments

NameTypeDescription
translationVec3 The translation.

Returns

Nothing

Notes

Order matters when scaling, translating, and rotating the coordinate system.

See also