BoundingSphere.Contains Method (Microsoft.Xna.Framework)
Test if a frustum is fully inside, outside, or just intersecting the sphere.
- C#
- VB
- F#
public ContainmentType Contains( BoundingFrustum frustum )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- frustum
-
Type: Microsoft.Xna.Framework.BoundingFrustum
The frustum for testing.
Return Value
Type: Microsoft.Xna.Framework.ContainmentTypeThe containment type.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web