Ray.Intersects Method (Plane)

Determines whether this Ray intersects a specified Plane.

Syntax

'Declaration
Public Function Intersects ( _
         plane As Plane _
) As Nullable(Of Single) 
public Nullable<float> Intersects (
         Plane plane
)
public:
Nullable<float> Intersects(
         Plane plane
)

Parameters

  • plane
    Type: Plane
    The Plane with which to calculate this Ray's intersection.

Return Value

Type: Nullable<Single>
The distance at which this Ray intersects the specified Plane, or null if there is no intersection.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Ray Structure
Ray Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone