BoundingSphere.Intersects Method (Microsoft.Xna.Framework)

Gets whether or not the other BoundingSphere intersects with this sphere.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.398)
  • C#
  • VB
  • F#
public bool Intersects(
	BoundingSphere sphere
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

sphere
Type: Microsoft.Xna.Framework.BoundingSphere
The other sphere for testing.

Return Value

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web