![]() |
Falco Engine 3.9.0.1 (beta)
|
Public Types | |
enum | TextHorizontalAlignment { Left , Center , Right } |
TextHorizontalAlignment enum More... | |
enum | TextVerticalAlignment { Top , Middle , Bottom } |
TextVerticalAlignment enum More... | |
![]() | |
enum | CanvasHorizontalAlignment { Left , Center , Right } |
CanvasHorizontalAlignment enum More... | |
enum | CanvasVerticalAlignment { Top , Middle , Bottom } |
CanvasVerticalAlignment enum More... | |
Properties | |
Texture | normalStateTexture [getset] |
Returns the texture in the normal state More... | |
Texture | hoverStateTexture [getset] |
Returns the texture in the hover state (when the mouse cursor is above this text input) More... | |
Texture | activeStateTexture [getset] |
Returns the texture in the active state (when the mouse is clicked and held down on this text input) More... | |
Texture | disabledStateTexture [getset] |
Returns the texture in the disabled state More... | |
Color | hoverStateColor [getset] |
Returns the color in the hover state (when the mouse cursor is above this text input) More... | |
Color | activeStateColor [getset] |
Returns the color in the active state (when the mouse is clicked and held down on this text input) More... | |
Color | disabledStateColor [getset] |
Returns the color in the disabled state More... | |
bool | interactable [getset] |
Gets or sets the text input interactability (i.e. disable or enable this text input or get its state) More... | |
string | text [getset] |
Get or set the text More... | |
Font | font [getset] |
Get or set the font More... | |
float | fontSize [getset] |
Get or set the font size More... | |
TextHorizontalAlignment | textHorizontalAlignment [getset] |
Get or set text horizontal alignment More... | |
TextVerticalAlignment | textVerticalAlignment [getset] |
Get or set text vertical alignment More... | |
![]() | |
CanvasHorizontalAlignment | horizontalAlignment [getset] |
Get or set horizontal alignment of this element More... | |
CanvasVerticalAlignment | verticalAlignment [getset] |
Get or set vertical alignment of this element More... | |
Color | color [getset] |
Get or set the main color of this element More... | |
Vector2 | anchor [getset] |
Get or set the anchor of this element (pivot point) More... | |
Vector2 | size [getset] |
Get or set the size of this element (width and height) More... | |
bool | hovered [get] |
Returns if this element is hovered by mouse cursor More... | |
Canvas | canvas [get] |
Returns a canvas of this element More... | |
Vector3 | position [getset] |
Rect | rect [get] |
object | userData [getset] |
Get or set the user data More... | |
![]() | |
bool | enabled [getset] |
Enable or disable this component More... | |
GameObject | gameObject [get] |
Get game object at which this component is attached More... | |
bool | isUiComponent [get] |
Returns if this component is derived from UIElement (or this is a canvas) or not More... | |
Additional Inherited Members | |
![]() | |
delegate void | MouseButtonEvent (UIElement sender, int button, Vector2 cursorPosition) |
delegate void | MouseMoveEvent (UIElement sender, Vector2 cursorPosition) |
![]() | |
Component () | |
![]() | |
MouseButtonEvent | onMouseDown |
MouseButtonEvent | onMouseUp |
MouseMoveEvent | onMouseMove |
MouseMoveEvent | onMouseEnter |
MouseMoveEvent | onMouseExit |
Definition at line 7 of file TextInput.cs.
TextHorizontalAlignment enum
Enumerator | |
---|---|
Left | |
Center | |
Right |
Definition at line 90 of file TextInput.cs.
|
getset |
Returns the color in the active state (when the mouse is clicked and held down on this text input)
Definition at line 53 of file TextInput.cs.
|
getset |
Returns the texture in the active state (when the mouse is clicked and held down on this text input)
Definition at line 27 of file TextInput.cs.
|
getset |
Returns the color in the disabled state
Definition at line 69 of file TextInput.cs.
|
getset |
Returns the texture in the disabled state
Definition at line 32 of file TextInput.cs.
|
getset |
Get or set the font
Definition at line 105 of file TextInput.cs.
|
getset |
Get or set the font size
Definition at line 110 of file TextInput.cs.
|
getset |
Returns the color in the hover state (when the mouse cursor is above this text input)
Definition at line 37 of file TextInput.cs.
|
getset |
Returns the texture in the hover state (when the mouse cursor is above this text input)
Definition at line 22 of file TextInput.cs.
|
getset |
Gets or sets the text input interactability (i.e. disable or enable this text input or get its state)
Definition at line 85 of file TextInput.cs.
|
getset |
Returns the texture in the normal state
Definition at line 17 of file TextInput.cs.
|
getset |
Get or set the text
Definition at line 100 of file TextInput.cs.
|
getset |
Get or set text horizontal alignment
Definition at line 115 of file TextInput.cs.
|
getset |
Get or set text vertical alignment
Definition at line 130 of file TextInput.cs.