# Sandbox.UI.Construct.PanelCreator.ScenePanel

## Overload 1

```csharp
static ScenePanel ScenePanel(PanelCreator self, SceneWorld world, Vector3 position, Rotation rotation, float fieldOfView, string classname = null)
```

> **Obsolete.** Will be deleted if anyone for some reason still uses this

### Parameters

- `self` (`PanelCreator`)
- `world` (`SceneWorld`)
- `position` (`Vector3`)
- `rotation` (`Rotation`)
- `fieldOfView` (`float`)
- `classname` (`string`), default `null`

### Returns

`ScenePanel`

## Overload 2

```csharp
static ScenePanel ScenePanel(PanelCreator self, SceneWorld world, Vector3 position, Rotation rotation, float fieldOfView, string classname = null)
```

> **Obsolete.** Will be deleted if anyone for some reason still uses this

### Parameters

- `self` (`PanelCreator`)
- `world` (`SceneWorld`)
- `position` (`Vector3`)
- `rotation` (`Rotation`)
- `fieldOfView` (`float`)
- `classname` (`string`), default `null`

### Returns

`ScenePanel`

Declared in [Sandbox.UI.Construct.PanelCreator](/api/Sandbox.UI.Construct.PanelCreator).
Assembly: `Sandbox.Engine`.
