BBoxIntersects Method (Ray, Single) |
Whether the specified ray intersects the bounding box.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic bool Intersects(
Ray ray,
out float distance
)
Parameters
- ray
- Type: Demo3D.VisualsRay
The ray. - distance
- Type: SystemSingle
The distance along the ray at which an intersection occurs.
Return Value
Type:
BooleanTrue if the ray intersects the bounding box, false otherwise.
See Also