# TwoPaneSplitView

> Parameterized constructor.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## TwoPaneSplitView()

Parameterized constructor.

```csharp
public TwoPaneSplitView()
```

## TwoPaneSplitView(int, float, TwoPaneSplitViewOrientation)

Parameterized constructor.

```csharp
public TwoPaneSplitView(int fixedPaneIndex, float fixedPaneStartDimension, TwoPaneSplitViewOrientation orientation)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): 0 for setting first child as the fixed pane, 1 for the second child element.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Set an inital width or height for the fixed pane.**** (\[TwoPaneSplitViewOrientation]\(/engine/6000.6/script-reference/unityengine/uielements/twopanesplitvieworientation)): Orientation of the split view.
