BBoxIntersects(Ray, Single) Method |
Whether the specified ray intersects the bounding box.
Namespace: Demo3D.VisualsAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntaxpublic 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
BooleanTrue if the ray intersects the bounding box, false otherwise.
See Also