Export (0) Print
Expand All

Ray.Intersects Method (BoundingFrustum)

Checks whether the Ray intersects a specified BoundingFrustum.

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

public Nullable<float> Intersects (
         BoundingFrustum frustum
)

Parameters

frustum
The BoundingFrustum to check for intersection with the Ray.

Return Value

Distance at which the ray intersects the BoundingFrustum or null if there is no intersection.

Exception typeCondition
ArgumentNullException frustum is null.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show:
© 2014 Microsoft