# Sandbox.UI.ModelPreview.ModelPreview

```csharp
ModelPreview(Model model)
```

Frames the supplied model and enables drag to orbit and wheel to zoom.

### Parameters

- `model` (`Model`)

Declared in [Sandbox.UI.ModelPreview](/api/Sandbox.UI.ModelPreview).
Assembly: `Sandbox.Engine`.
