Export (0) Print
Expand All

BoundingBox.Intersects Method (Ray)

Checks whether the current BoundingBox intersects a Ray.

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

public Nullable<float> Intersects(
	Ray ray
)

Parameters

ray
Type: Microsoft.Xna.Framework.Ray
The Ray to check for intersection with.

Return Value

Type: System.Nullable<Single>
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:
© 2014 Microsoft