BoundingFrustum.Intersects Method (Microsoft.Xna.Framework)
Gets the distance of intersection of Ray and this BoundingFrustum or null if no intersection happens.
- C#
- VB
- F#
public Nullable<float> Intersects( Ray ray )
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.
Return Value
Type: Nullable<System.Single>Distance at which ray intersects with this BoundingFrustum or null if no intersection happens.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web