# BoundsIntField

> Make Position & Size field for entering a BoundsInt.

## Definition

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

## BoundsIntField(BoundsInt, GUILayoutOption\[])

Make Position & Size field for entering a [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md).

```csharp
public static BoundsInt BoundsIntField(BoundsInt value, params GUILayoutOption[] options)
```

### Parameters

**** (\[BoundsInt]\(/engine/6000.6/script-reference/unityengine/boundsint)): The value to edit.**** (\[GUILayoutOption\[]]\(/engine/6000.6/script-reference/unityengine/guilayoutoption)): An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the `style`.\
&#x20;Additional Resources: [GUILayout.Width](/engine/6000.6/script-reference/unityengine/guilayout/width.md), [GUILayout.Height](/engine/6000.6/script-reference/unityengine/guilayout/height.md), [GUILayout.MinWidth](/engine/6000.6/script-reference/unityengine/guilayout/minwidth.md), [GUILayout.MaxWidth](/engine/6000.6/script-reference/unityengine/guilayout/maxwidth.md), [GUILayout.MinHeight](/engine/6000.6/script-reference/unityengine/guilayout/minheight.md), [GUILayout.MaxHeight](/engine/6000.6/script-reference/unityengine/guilayout/maxheight.md), [GUILayout.ExpandWidth](/engine/6000.6/script-reference/unityengine/guilayout/expandwidth.md), [GUILayout.ExpandHeight](/engine/6000.6/script-reference/unityengine/guilayout/expandheight.md).

### Returns

| Type                                                                  | Description                    |
| --------------------------------------------------------------------- | ------------------------------ |
| [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md) | The value entered by the user. |

## BoundsIntField(string, BoundsInt, GUILayoutOption\[])

Make Position & Size field for entering a [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md).

```csharp
public static BoundsInt BoundsIntField(string label, BoundsInt value, params GUILayoutOption[] options)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Make Position & Size field for entering a [Bounds](/engine/6000.6/script-reference/unityengine/bounds.md).**** (\[BoundsInt]\(/engine/6000.6/script-reference/unityengine/boundsint)): The value to edit.**** (\[GUILayoutOption\[]]\(/engine/6000.6/script-reference/unityengine/guilayoutoption)): An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the `style`.\
&#x20;Additional Resources: [GUILayout.Width](/engine/6000.6/script-reference/unityengine/guilayout/width.md), [GUILayout.Height](/engine/6000.6/script-reference/unityengine/guilayout/height.md), [GUILayout.MinWidth](/engine/6000.6/script-reference/unityengine/guilayout/minwidth.md), [GUILayout.MaxWidth](/engine/6000.6/script-reference/unityengine/guilayout/maxwidth.md), [GUILayout.MinHeight](/engine/6000.6/script-reference/unityengine/guilayout/minheight.md), [GUILayout.MaxHeight](/engine/6000.6/script-reference/unityengine/guilayout/maxheight.md), [GUILayout.ExpandWidth](/engine/6000.6/script-reference/unityengine/guilayout/expandwidth.md), [GUILayout.ExpandHeight](/engine/6000.6/script-reference/unityengine/guilayout/expandheight.md).

### Returns

| Type                                                                  | Description                    |
| --------------------------------------------------------------------- | ------------------------------ |
| [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md) | The value entered by the user. |

## BoundsIntField(GUIContent, BoundsInt, GUILayoutOption\[])

Make Position & Size field for entering a [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md).

```csharp
public static BoundsInt BoundsIntField(GUIContent label, BoundsInt value, params GUILayoutOption[] options)
```

### Parameters

**** (\[GUIContent]\(/engine/6000.6/script-reference/unityengine/guicontent)): Make Position & Size field for entering a [Bounds](/engine/6000.6/script-reference/unityengine/bounds.md).**** (\[BoundsInt]\(/engine/6000.6/script-reference/unityengine/boundsint)): The value to edit.**** (\[GUILayoutOption\[]]\(/engine/6000.6/script-reference/unityengine/guilayoutoption)): An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the `style`.\
&#x20;Additional Resources: [GUILayout.Width](/engine/6000.6/script-reference/unityengine/guilayout/width.md), [GUILayout.Height](/engine/6000.6/script-reference/unityengine/guilayout/height.md), [GUILayout.MinWidth](/engine/6000.6/script-reference/unityengine/guilayout/minwidth.md), [GUILayout.MaxWidth](/engine/6000.6/script-reference/unityengine/guilayout/maxwidth.md), [GUILayout.MinHeight](/engine/6000.6/script-reference/unityengine/guilayout/minheight.md), [GUILayout.MaxHeight](/engine/6000.6/script-reference/unityengine/guilayout/maxheight.md), [GUILayout.ExpandWidth](/engine/6000.6/script-reference/unityengine/guilayout/expandwidth.md), [GUILayout.ExpandHeight](/engine/6000.6/script-reference/unityengine/guilayout/expandheight.md).

### Returns

| Type                                                                  | Description                    |
| --------------------------------------------------------------------- | ------------------------------ |
| [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md) | The value entered by the user. |
