BoundingFrustum.Intersects Method (Ray, Nullable<Single>)
Checks whether the current BoundingFrustum intersects a Ray.
Syntax
'Declaration
Public Sub Intersects ( _
ref ray As Ray, _
out result As Nullable(Of Single) _
)
public void Intersects (
ref Ray ray,
out Nullable<float> result
)
public:
void Intersects(
ref Ray ray,
out Nullable<float> result
)
Parameters
- ray
Type: Ray
The Ray to check for intersection with. - result
Type: Nullable<Single>
[OutAttribute] Distance at which the ray intersects the BoundingFrustum or null if there is no intersection.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
BoundingFrustum Class
BoundingFrustum Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone