fun translate(x: Float, y: Float, z: Float)(source)

Moves the object by a specified amount along each axis. This changes the object's position based on the given x, y, and z offsets.

Parameters

x

The amount to move along the X axis.

y

The amount to move along the Y axis.

z

The amount to move along the Z axis.