Click or drag to resize

BBoxIntersects(Ray, Single) Method

Whether the specified ray intersects the bounding box.

Namespace: Demo3D.Visuals
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public bool Intersects(
	Ray ray,
	out float distance
)

Parameters

ray  Ray
The ray.
distance  Single
The distance along the ray at which an intersection occurs.

Return Value

Boolean
True if the ray intersects the bounding box, false otherwise.
See Also