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)

Syntax

public Nullable<float> Intersects (
         BoundingFrustum frustum
)

Parameters

Return Value

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

Exceptions

Exception type Condition
ArgumentNullException frustum is null.

See Also

Reference

Ray Structure
Ray Members
Microsoft.Xna.Framework Namespace

Platforms

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