|
RayRayIntersectsBox Method |
Determines whether there is an intersection between this ray and a
BoundingBox.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax 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
BooleanWhether the two objects intersected.
See Also