# Sandbox.ModelBuilder.WithViewBounds

```csharp
ModelBuilder WithViewBounds(BBox bounds)
```

Sets the bounds used for rendering and visibility.
If not set, the bounds are calculated from the model's meshes.

### Parameters

- `bounds` (`BBox`): The model-space visibility bounds.

### Returns

`ModelBuilder`

Declared in [Sandbox.ModelBuilder](/api/Sandbox.ModelBuilder).
Assembly: `Sandbox.Engine`.
