Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Checks whether the current Ray intersects a BoundingBox.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public void Intersects (
         ref BoundingBox box,
         out Nullable<float> result
)

Parameters

box
The BoundingBox to check for intersection with.
result
[OutAttribute] Distance at which the ray intersects the BoundingBox or null if there is no intersection.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2015 Microsoft