BoundingSphere.Intersects Method (Microsoft.Xna.Framework)

Gets whether or not a specified BoundingBox intersects with this sphere.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public bool Intersects(
	BoundingBox box
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

box
Type: Microsoft.Xna.Framework.BoundingBox
The box for testing.

Return Value

Type: System.Boolean
true if BoundingBox intersects with this sphere; false otherwise.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web