Spatial.translate

Changes the node's position by the given offset Vector3. Note that the translation offset is affected by the node's scale, so if scaled by e.g. (10, 1, 1), a translation by an offset of (2, 0, 0) would actually add 20 (2 * 10) to the X coordinate.

struct Spatial
@nogc nothrow
void
translate
(
in Vector3 offset
)

Meta