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 7, Windows Vista, Windows XP, Windows Phone 7