Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Intersects Method (BoundingFrustum)

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
Type: BoundingFrustum
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

Community Additions

ADD
Show:
© 2015 Microsoft