Export (0) Print
Expand All

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

XNA Game Studio Express
Checks whether the current BoundingBox intersects a Ray.

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

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

Parameters

ray
The Ray 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

Show:
© 2014 Microsoft