BoundingFrustum.Intersects Method (Microsoft.Xna.Framework)

Gets the distance of intersection of Ray and this BoundingFrustum or null if no intersection happens.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void Intersects(
	Ray ray, 
	out Nullable`1 result
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

ray
Type: Microsoft.Xna.Framework.Ray
A Ray for intersection test.
result
Type: out System.Nullable`1<System.Single>
Distance at which ray intersects with this BoundingFrustum or null if no intersection happens as an output parameter.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web