BoundingFrustum.Intersects Method (Ray)

Checks whether the current BoundingFrustum intersects the specified Ray.

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

Syntax

public Nullable<float> Intersects (
         Ray ray
)

Parameters

  • ray
    The Ray to check for intersection.

Return Value

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

See Also

Reference

BoundingFrustum Class
BoundingFrustum Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista