Ray.Intersects Method (Plane, Nullable<Single>)
Determines whether this Ray intersects a specified Plane.
Syntax
'Declaration
Public Sub Intersects ( _
ref plane As Plane, _
out result As Nullable(Of Single) _
)
public void Intersects (
ref Plane plane,
out Nullable<float> result
)
public:
void Intersects(
ref Plane plane,
out Nullable<float> result
)
Parameters
- plane
Type: Plane
The Plane with which to calculate this Ray's intersection. - result
Type: Nullable<Single>
[OutAttribute] 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