BoundingSphere.BoundingSphere Method (Microsoft.Xna.Framework)
Constructs a bounding sphere with the specified center and radius.
- C#
- VB
- F#
public BoundingSphere( Vector3 center, float radius )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- center
-
Type: Microsoft.Xna.Framework.Vector3
The sphere center.
- radius
-
Type: System.Single
The sphere radius.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web