Skip to content

Api > Plane > Translate()


Plane.Translate(Plane plane, Vector3 translation)⚓︎

Returns a copy of the given plane that is moved in space by the given translation.

Parameters:⚓︎

Name Type Description
plane Plane The plane to move in space.
translation Vector3 The offset in space to move the plane with.

Returns:⚓︎

type Description
Plane The translated plane.

Usage⚓︎

---@type Plane
local plane;

---@type Vector3
local translation;


local val0 = Plane:Translate(plane, translation)