# BoundingSphere

> Initializes a BoundingSphere.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## BoundingSphere(Vector3, float)

Initializes a BoundingSphere.

```csharp
public BoundingSphere(Vector3 pos, float rad)
```

### Parameters

**** (\[Vector3]\(/engine/6000.5/script-reference/unityengine/vector3)): The center of the sphere.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The radius of the sphere.

## BoundingSphere(Vector4)

Initializes a BoundingSphere.

```csharp
public BoundingSphere(Vector4 packedSphere)
```

### Parameters

**** (\[Vector4]\(/engine/6000.5/script-reference/unityengine/vector4)): A four-component vector containing the position (packed into the XYZ components) and radius (packed into the W component).
