Bounds.IntersectRay(Ray ray)⚓︎
Does ray intersect this bounding box?
Parameters:⚓︎
Name | Type | Description |
---|---|---|
ray | Ray | ray |
Returns:⚓︎
type | Description |
---|---|
boolean | Does ray intersect this bounding box? |
Usage⚓︎
---@type Bounds
local bounds;
---@type Ray
local ray;
local val0 = bounds.IntersectRay(ray)