 |
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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic 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