BoundsIntField
Make Position & Size field for entering a BoundsInt.
Read time 2 minutesLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
BoundsIntField(BoundsInt, GUILayoutOption[])
Make Position & Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(BoundsInt value, params GUILayoutOption[] options)
Parameters
The value to edit.
An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the .
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
styleAdditional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Returns
Type | Description |
|---|---|
| BoundsInt | The value entered by the user. |
BoundsIntField(string, BoundsInt, GUILayoutOption[])
Make Position & Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(string label, BoundsInt value, params GUILayoutOption[] options)
Parameters
The value to edit.
An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the .
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
styleAdditional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Returns
Type | Description |
|---|---|
| BoundsInt | The value entered by the user. |
BoundsIntField(GUIContent, BoundsInt, GUILayoutOption[])
Make Position & Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(GUIContent label, BoundsInt value, params GUILayoutOption[] options)
Parameters
Make Position & Size field for entering a Bounds.
The value to edit.
An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the .
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
styleAdditional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Returns
Type | Description |
|---|---|
| BoundsInt | The value entered by the user. |