|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
A widget for displaying Articy objects in a tile view. More...
#include <SArticyObjectTileView.h>
Public Member Functions | |
| SLATE_BEGIN_ARGS (SArticyObjectTileView) | |
| void | Construct (const FArguments &InArgs) |
| Constructs the widget. | |
| virtual void | Tick (const FGeometry &AllottedGeometry, const double InCurrentTime, const float InDeltaTime) override |
| Ticks the widget for updates. | |
| void | Update (const FArticyId &NewArticyId) |
| Updates the widget with a new Articy ID. | |
A widget for displaying Articy objects in a tile view.
This widget displays an Articy object with a preview image, type image, and context menu.
| void SArticyObjectTileView::Construct | ( | const FArguments & | InArgs | ) |
Constructs the widget.
This method initializes the widget with the given arguments.
| InArgs | The arguments for widget construction. |
This method initializes the widget with the given arguments and sets up the UI elements.
| InArgs | The arguments for widget construction. |
|
overridevirtual |
Ticks the widget for updates.
This method is called each frame to update the widget.
| AllottedGeometry | The geometry of the widget. |
| InCurrentTime | The current time. |
| InDeltaTime | The time elapsed since the last tick. |
This method is called each frame and updates the widget if the Articy ID has changed.
| AllottedGeometry | The geometry of the widget. |
| InCurrentTime | The current time. |
| InDeltaTime | The time elapsed since the last tick. |
| void SArticyObjectTileView::Update | ( | const FArticyId & | NewArticyId | ) |
Updates the widget with a new Articy ID.
This method updates the cached Articy ID and refreshes the widget's display.
| NewArticyId | The new Articy ID to display. |
This method updates the cached Articy ID and object and refreshes the widget's display.
| NewArticyId | The new Articy ID to display. |