BoundingSphere.Contains Method (Microsoft.Xna.Framework)

Test if a frustum is fully inside, outside, or just intersecting the sphere.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.398)
  • C#
  • VB
  • F#
public void Contains(
	BoundingFrustum frustum, 
	out ContainmentType result
)

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.
result
Type: out Microsoft.Xna.Framework.ContainmentType
The containment type as an output parameter.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web