Skip to main content

Bounds.IntersectRay(Ray ray)

Does ray intersect this bounding box?

Parameters:

NameTypeDescription
rayRayray

Returns:

typeDescription
booleanDoes ray intersect this bounding box?

Usage

---@type Bounds
local bounds;

---@type Ray
local ray;


local val0 = bounds.IntersectRay(ray)