Bounds(Vector3 center, Vector3 size)⚓︎
Creates a new Bounds.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
center | Vector3 | The location of the origin of the Bounds. |
size | Vector3 | The dimensions of the Bounds. |
Usage⚓︎
---@type Vector3
local center;
---@type Vector3
local size;
local bounds = Bounds(center, size);