A widget to display a texture.
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 |
|---|---|---|
DefaultDesiredSize |
vector2 |
The size this widget desired to be displayed in. Used only during initialization of the widget and not modified by SetDesiredSize. |
DefaultHorizontalTiling |
image_tiling |
The horizontal tiling option. Used only during initialization of the widget and not modified by SetTiling. |
DefaultImage |
texture |
The image to render. Used only during initialization of the widget and not modified by SetImage. |
DefaultTint |
color |
Tinting applied to the image. Used only during initialization of the widget and not modified by SetTint. |
DefaultVerticalTiling |
image_tiling |
The vertical tiling option. Used only during initialization of the widget and not modified by SetTiling. |
Functions
| Function Name | Description |
|---|---|
GetDesiredSize |
Gets the size this widget desired to be displayed in. |
GetImage |
Gets the image to render. |
GetParentWidget |
Returns the |
GetRootWidget |
Returns the |
GetTiling |
Gets the tiling option. |
GetTint |
Gets the tint applied to the image. |
GetVisibility |
Returns the current |
IsEnabled |
|
SetDesiredSize |
Sets the size this widget desired to be displayed in. |
SetEnabled |
Enables or disables whether the |
SetImage |
Sets the image to render. |
SetTiling |
Sets the tiling option when the image is smaller than the allocated size. |
SetTint |
Sets the tint applied to the image. |
SetVisibility |
Shows or hides the |