Skip to main content

Plane.Translate(Plane plane, Vector3 translation)

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

Parameters:

NameTypeDescription
planePlaneThe plane to move in space.
translationVector3The offset in space to move the plane with.

Returns:

typeDescription
PlaneThe translated plane.

Usage

---@type Plane
local plane;

---@type Vector3
local translation;


local val0 = Plane:Translate(plane, translation)