Vector3IntField
Make an X, Y & Z integer field for entering a Vector3Int.
Read time 2 minutesLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
Vector3IntField(string, Vector3Int, GUILayoutOption[])
Make an X, Y & Z integer field for entering a Vector3Int.
public static Vector3Int Vector3IntField(string label, Vector3Int 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 .
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 |
|---|---|
| Vector3Int | The value entered by the user. |
Vector3IntField(GUIContent, Vector3Int, GUILayoutOption[])
Make an X, Y & Z integer field for entering a Vector3Int.
public static Vector3Int Vector3IntField(GUIContent label, Vector3Int 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 .
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 |
|---|---|
| Vector3Int | The value entered by the user. |