Click or drag to resize

BSphereIntersects 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
Syntax
C#
public 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: Boolean
True if the ray intersects the bounding box, false otherwise.
See Also