BoundingSphere.Contains Method (Microsoft.Xna.Framework)
Test if a sphere is fully inside, outside, or just intersecting the sphere.
- C#
- VB
- F#
public void Contains( BoundingSphere sphere, out ContainmentType result )
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.
- 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
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web