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
  • C#
  • VB
  • F#
public void Intersects(
	BoundingBox box, 
	out Boolean result

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.BoundingBox
The box for testing.
Type: out System.Boolean
true if BoundingBox intersects with this sphere; false otherwise. As an output parameter.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop