BoundingSphere.CreateMerged Method (Microsoft.Xna.Framework)

Creates the smallest BoundingSphere that can contain two spheres.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static BoundingSphere CreateMerged(
	BoundingSphere original, 
	BoundingSphere additional
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

original
Type: Microsoft.Xna.Framework.BoundingSphere
First sphere.
additional
Type: Microsoft.Xna.Framework.BoundingSphere
Second sphere.

Return Value

Type: Microsoft.Xna.Framework.BoundingSphere
The new BoundingSphere.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web