BBMOD_Matrix.Translate

A function defined in BBMOD_Matrix.gml

Translate(_x[, _y, _z])

Description

Translates the matrix and returns the result as a new matrix.

Arguments

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

Returns

Struct.BBMOD_Matrix The resulting matrix.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.