RectIntField
Make an X, Y, W & H field for entering a RectInt.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
RectIntField(RectInt, GUILayoutOption[])
Make an X, Y, W & H field for entering a RectInt.
public static RectInt RectIntField(RectInt 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 style.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Returns
Type | Description |
|---|---|
| RectInt | The value entered by the user. |
RectIntField(string, RectInt, GUILayoutOption[])
Make an X, Y, W & H field for entering a RectInt.
public static RectInt RectIntField(string label, RectInt value, params GUILayoutOption[] options)
Parameters
Label to display above the field.
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 style.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Returns
Type | Description |
|---|---|
| RectInt | The value entered by the user. |
RectIntField(GUIContent, RectInt, GUILayoutOption[])
Make an X, Y, W & H field for entering a RectInt.
public static RectInt RectIntField(GUIContent label, RectInt value, params GUILayoutOption[] options)
Parameters
Label to display above the field.
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 style.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
Returns
Type | Description |
|---|---|
| RectInt | The value entered by the user. |