Translate

function

Translate(_x[, _y, _z])

Description

Translates the matrix.

Arguments

Name Type Description
_x Real/BBMOD_Vec3 Translation on the X axis or a vector with translations on all axes.
_y Real/Undefined Translation on the Y axis. Use undefined if _x is a vector. Defaults to undefined.
_z Real/Undefined Translation on the Z axis. Use undefined if _x is a vector. Defaults to undefined.

Returns

BBMOD_Matrix The resulting matrix.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.