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

A widget for picking Articy object assets. More...

#include <SArticyObjectAssetPicker.h>

Inheritance diagram for SArticyObjectAssetPicker:

Public Member Functions

 SLATE_BEGIN_ARGS (SArticyObjectAssetPicker)
 ~SArticyObjectAssetPicker ()
 Destructor for SArticyObjectAssetPicker.
void Construct (const FArguments &InArgs)
 Constructs the Articy Object Asset Picker widget.
virtual void Tick (const FGeometry &AllottedGeometry, const double InCurrentTime, const float InDeltaTime) override
 Ticks the widget for updates.
void RequestSlowFullListRefresh ()
 Requests a slow full list refresh.
void SelectAsset (TWeakObjectPtr< UArticyObject > AssetItem, ESelectInfo::Type SelectInfo) const
 Selects an asset in the asset picker.

Detailed Description

A widget for picking Articy object assets.

This widget allows users to search and filter Articy objects, displaying them in a tile view for easy selection.

Member Function Documentation

◆ Construct()

void SArticyObjectAssetPicker::Construct ( const FArguments & InArgs)

Constructs the Articy Object Asset Picker widget.

Parameters
InArgsThe construction arguments for the widget.

This method sets up the UI components and filtering logic for the asset picker widget, including search and filter functionality.

Parameters
InArgsThe construction arguments for the widget.

◆ RequestSlowFullListRefresh()

void SArticyObjectAssetPicker::RequestSlowFullListRefresh ( )

Requests a slow full list refresh.

This method sets a flag to request a full refresh of the asset list.

◆ SelectAsset()

void SArticyObjectAssetPicker::SelectAsset ( TWeakObjectPtr< UArticyObject > AssetItem,
ESelectInfo::Type SelectInfo ) const

Selects an asset in the asset picker.

Parameters
AssetItemThe selected asset item.
SelectInfoThe selection information.

◆ Tick()

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

Ticks the widget for updates.

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

This method is called every frame to update the widget state, such as refreshing the asset list if needed.

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

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