# MinMaxSlider

> Constructor.

## Definition

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

## MinMaxSlider()

Constructor.

```csharp
public MinMaxSlider()
```

## MinMaxSlider(float, float, float, float)

Constructor.

```csharp
public MinMaxSlider(float minValue, float maxValue, float minLimit, float maxLimit)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The minimum value in the range to be represented.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The maximum value in the range to be represented.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The minimum value of the slider limit.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The maximum value of the slider limit.

## MinMaxSlider(string, float, float, float, float)

Constructor.

```csharp
public MinMaxSlider(string label, float minValue = 0, float maxValue = 10, float minLimit = -3.4028235E+38, float maxLimit = 3.4028235E+38)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The minimum value in the range to be represented.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The maximum value in the range to be represented.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The minimum value of the slider limit.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The maximum value of the slider limit.
