---
title: "init(center:fullExtents:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/boundingspherebox/init(center:fullextents:)"
---

# init(center:fullExtents:)

Creates a bounding box with the given center and full extents, with a circumscribed sphere.

## Declaration

```swift
init(center: SIMD3<Float>, fullExtents: SIMD3<Float>)
```

## Parameters

- `center`: The center of the bounding box in model space.
- `fullExtents`: The full extents of the bounding box along each axis.

## See Also

### Creating a bounding volume

- [init(center:radius:)](realitykit/boundingspherebox/init(center:radius:).md)
- [init(center:halfExtents:)](realitykit/boundingspherebox/init(center:halfextents:).md)
- [init(boxMin:boxMax:)](realitykit/boundingspherebox/init(boxmin:boxmax:).md)
