This documentation is archived and is not being maintained.

Ray.Intersects Method (Plane)

Determines whether this Ray intersects a specified Plane.

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

public Nullable<float> Intersects (
         Plane plane


The Plane with which to calculate this Ray's intersection.

Return Value

The distance at which this Ray intersects the specified Plane, or null if there is no intersection.

Xbox 360, Windows XP SP2, Windows Vista, Zune