class
GUIVector3Field
A composite GUI object representing an editor field.
Editor fields are a combination of a label and an input field. Label is optional. This specific implementation displays a Vector3 input field.
Public
Constructors
GUIVector3Field
Methods
staticGetGuiTypeName
Returns type name of the GUI element used for finding GUI element styles.
SetValue
Value in the input field.
GetValue
HasInputFocus
Checks is the input field currently active.
SetInputFocus
Sets input focus to a specific component's input box.
staticCreate
Creates a new GUI editor field with a label.
- labelContent
- Content to display in the editor field label.
- labelWidth
- Width of the label in pixels.
- styleClass
- Style class that will be used for determining GUI element visuals from the current style sheet. If no class is provided, default style is determined based on GUI element type.
Fields
OnValueChanged
Reports the new value of the vector when the user changes the value of any of the vector components.
OnComponentChanged
Reports the new value of an individual vector component when the user changes it.
OnComponentFocusGained
Triggered when an individual component gains focus.
OnComponentFocusLost
Triggered when an individual component loses focus.
OnConfirm
Triggered when the user hits the Enter key with any of the component input boxes in focus.
Protected
Methods
ValueChanged
Triggered when the values in any of the input boxes change.
InputConfirmed
Triggered when the users confirms input in the input box.