Skip to main content

Bounds(Vector3 center, Vector3 size)

Creates a new Bounds.

Parameters:

NameTypeDescription
centerVector3The location of the origin of the Bounds.
sizeVector3The dimensions of the Bounds.

Usage

---@type Vector3
local center;

---@type Vector3
local size;


local bounds = Bounds(center, size);