ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
SArticyObjectTileView Class Reference

A widget for displaying Articy objects in a tile view. More...

#include <SArticyObjectTileView.h>

Inheritance diagram for SArticyObjectTileView:

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.

Detailed Description

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.

Member Function Documentation

◆ Construct()

void SArticyObjectTileView::Construct ( const FArguments & InArgs)

Constructs the widget.

This method initializes the widget with the given arguments.

Parameters
InArgsThe arguments for widget construction.

This method initializes the widget with the given arguments and sets up the UI elements.

Parameters
InArgsThe arguments for widget construction.

◆ Tick()

void SArticyObjectTileView::Tick ( const FGeometry & AllottedGeometry,
const double InCurrentTime,
const float InDeltaTime )
overridevirtual

Ticks the widget for updates.

This method is called each frame to update the widget.

Parameters
AllottedGeometryThe geometry of the widget.
InCurrentTimeThe current time.
InDeltaTimeThe time elapsed since the last tick.

This method is called each frame and updates the widget if the Articy ID has changed.

Parameters
AllottedGeometryThe geometry of the widget.
InCurrentTimeThe current time.
InDeltaTimeThe time elapsed since the last tick.

◆ Update()

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.

Parameters
NewArticyIdThe new Articy ID to display.

This method updates the cached Articy ID and object and refreshes the widget's display.

Parameters
NewArticyIdThe new Articy ID to display.

The documentation for this class was generated from the following files:
  • Source/ArticyEditor/Public/Slate/AssetPicker/SArticyObjectTileView.h
  • Source/ArticyEditor/Private/Slate/AssetPicker/SArticyObjectTileView.cpp