BoundingSphere.Contains Method (Microsoft.Xna.Framework)

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

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public ContainmentType Contains(
	Vector3 point

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Vector3
The vector in 3D-space for testing.

Return Value

Type: Microsoft.Xna.Framework.ContainmentType
The containment type.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop