# LogarithmicIntSlider

> Makes a text field for entering an integer on a logarithmic scale.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## LogarithmicIntSlider(Rect, string, int, int, int, int, int, int)

Makes a text field for entering an integer on a logarithmic scale.

```csharp
public static int LogarithmicIntSlider(Rect position, string label, int sliderValue, int leftValue, int rightValue, int logbase, int textFieldMin, int textFieldMax)
```

### Parameters

**** (\[Rect]\(/engine/6000.7/script-reference/unityengine/rect)): Rectangle on the screen to use for the long field.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Label to display in front of the long field.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value to edit.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value at the left end of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value at the right end of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The logarithm base. The resulting value will be a power of this value.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value to display at the left end of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value to display at the right end of the slider.

### Returns

| Type                                                       | Description                    |
| ---------------------------------------------------------- | ------------------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The value entered by the user. |

### Remarks

Additional Resources: [EditorGUI.IntField](/engine/6000.7/script-reference/unityeditor/editorgui/intfield.md), [EditorGUI.FloatField](/engine/6000.7/script-reference/unityeditor/editorgui/floatfield.md), [EditorGUI.DoubleField](/engine/6000.7/script-reference/unityeditor/editorgui/doublefield.md).

## LogarithmicIntSlider(Rect, GUIContent, int, int, int, int, int, int)

Makes a text field for entering an integer on a logarithmic scale.

```csharp
public static int LogarithmicIntSlider(Rect position, GUIContent label, int sliderValue, int leftValue, int rightValue, int logbase, int textFieldMin, int textFieldMax)
```

### Parameters

**** (\[Rect]\(/engine/6000.7/script-reference/unityengine/rect)): Rectangle on the screen to use for the long field.**** (\[GUIContent]\(/engine/6000.7/script-reference/unityengine/guicontent)): Label to display in front of the long field.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value to edit.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value at the left end of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value at the right end of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The logarithm base. The resulting value will be a power of this value.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value to display at the left end of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value to display at the right end of the slider.

### Returns

| Type                                                       | Description                    |
| ---------------------------------------------------------- | ------------------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The value entered by the user. |

### Remarks

Additional Resources: [EditorGUI.IntField](/engine/6000.7/script-reference/unityeditor/editorgui/intfield.md), [EditorGUI.FloatField](/engine/6000.7/script-reference/unityeditor/editorgui/floatfield.md), [EditorGUI.DoubleField](/engine/6000.7/script-reference/unityeditor/editorgui/doublefield.md).
