GearBlocks
The GearBlocks Lua scripting API
Properties | List of all members
SmashHammer.UI.InputField Class Reference

An input field UI element. More...

Inheritance diagram for SmashHammer.UI.InputField:
SmashHammer.UI.Element SmashHammer.UI.IInputField SmashHammer.UI.IElement SmashHammer.UI.ISizeable SmashHammer.UI.IRotatable

Properties

string Value [get, set]
 The input field value.
 
- Properties inherited from SmashHammer.UI.Element
virtual bool IsVisible [get, set]
 Is the element visible?
 
- Properties inherited from SmashHammer.UI.IElement
bool IsVisible [get, set]
 Is the element visible?
 
bool IsInteractable [get, set]
 Is the element interactable?
 
bool IsTargetable [get, set]
 Is the element targetable?
 
- Properties inherited from SmashHammer.UI.IInputField
string Value [get, set]
 The input field value.
 

Additional Inherited Members

- Public Types inherited from SmashHammer.UI.ISizeable
enum  Align : byte {
  LeftEdge , RightEdge , TopEdge , BottomEdge ,
  HorizEdges , VertEdges , HorizCentre , VertCentre
}
 UI element alignment mode. More...
 
void SetAlignment (Align align, float paramA, float paramB)
 Set the element's alignment.
 
void SetRotation (float angle)
 Set the element's rotation.
 
- Events inherited from SmashHammer.UI.IInputField
ValueChangedHandler OnChanged
 Event that is raised when the input field text is changed.
 
ValueChangedHandler OnEndEdit
 Event that is raised when editing the input field text has ended.
 

Detailed Description

An input field UI element.

Property Documentation

◆ Value

string SmashHammer.UI.InputField.Value
getset

The input field value.

The text in this input field.

Implements SmashHammer.UI.IInputField.