Click or drag to resize
Ab4d.SharpEngine logo

RayRayIntersectsBox Method

Determines whether there is an intersection between this ray and a BoundingBox.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public bool RayIntersectsBox(
	ref BoundingBox box,
	out float distance
)

Parameters

box  BoundingBox
The box to test.
distance  Single
When the method completes, contains the distance of the intersection, or 0 if there was no intersection.

Return Value

Boolean
Whether the two objects intersected.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.Ray.RayIntersectsBox(Ab4d.SharpEngine.Common.BoundingBox@,System.Single@)"]

See Also