Export (0) Print
Expand All

BoundingBox.Intersects Method (Ray%, Nullable<Single>%)

Checks whether the current BoundingBox intersects a Ray.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public void Intersects(
	ref Ray ray,
	out Nullable<float> result
)

Parameters

ray
Type: Microsoft.Xna.Framework.Ray%
The Ray to check for intersection with.
result
Type: System.Nullable<Single>%
[OutAttribute] Distance at which the ray intersects the BoundingBox, or null if there is no intersection.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft