# Sandbox.UI.PanelTransform.BuildTransform

```csharp
Matrix BuildTransform(float width, float height, Vector2 perspectiveOrigin)
```

### Parameters

- `width` (`float`)
- `height` (`float`)
- `perspectiveOrigin` (`Vector2`)

### Returns

`Matrix`

Declared in [Sandbox.UI.PanelTransform](/api/Sandbox.UI.PanelTransform).
Assembly: `Sandbox.System`.
