Base widget for text widget.
Verse using statement |
using { /UnrealEngine.com/Temporary/UI } |
Inheritance Hierarchy
This class is derived from widget.
| Name | Description |
|---|---|
widget |
Base class for all UI elements drawn on the |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
DefaultJustification |
text_justification |
The justification to display to the user. Used only during initialization of the widget and not modified by SetJustification. |
DefaultOverflowPolicy |
text_overflow_policy |
The policy that determine what happens when the text is longer than its allowed length. Used only during initialization of the widget and not modified by SetOverflowPolicy. |
DefaultText |
message |
The text to display to the user. Used only during initialization of the widget and not modified by SetText. |
DefaultTextColor |
color |
The color of the displayed text. Used only during initialization of the widget and not modified by SetTextColor. |
DefaultTextOpacity |
float |
The opacity of the displayed text. Used only during initialization of the widget and not modified by SetTextOpacity. |
DefaultTextSize |
float |
The size of the displayed text. Used only during initialization of the widget and not modified by SetTextSize. |
Functions
| Function Name | Description |
|---|---|
GetJustification |
Gets the text justification in the widget. |
GetOverflowPolicy |
Gets the policy that determine what happens when the text is longer than its allowed length. |
GetParentWidget |
Returns the |
GetRootWidget |
Returns the |
GetText |
Gets the text currently in the widget. |
GetTextColor |
Gets the color of the displayed text. |
GetTextOpacity |
Gets the opacity of the displayed text. |
GetTextSize |
Gets the size of the displayed text. |
GetVisibility |
Returns the current |
IsEnabled |
|
SetEnabled |
Enables or disables whether the |
SetJustification |
Sets the text justification in the widget. |
SetOverflowPolicy |
Sets the policy that determine what happens when the text is longer than its allowed length. |
SetText |
Sets the text displayed in the widget. |
SetTextColor |
Sets the color of the displayed text. |
SetTextOpacity |
Sets the opacity of the displayed text. |
SetTextSize |
Sets the size of the displayed text. |
SetVisibility |
Shows or hides the |