Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AssetDropHelpers Namespace Reference

Helpers for dragging and dropping assets from the asset browser to the UI Editor. More...

Typedefs

using AssetList = AZStd::vector< AZ::Data::AssetId >
 

Functions

bool AcceptsMimeType (const QMimeData *mimeData)
 Returns whether mime type is accepted as an asset.
 
bool DoesMimeDataContainSliceOrComponentAssets (const QMimeData *mimeData)
 Returns whether mime data contains slice assets or assets that are associated with components.
 
void DecodeSliceAndComponentAssetsFromMimeData (const QMimeData *mimeData, ComponentAssetHelpers::ComponentAssetPairs &componentAssetPairs, AssetList &sliceAssets)
 Decode asset mime data and find the slice assets and the assets associated with components.
 
void DecodeUiCanvasAssetsFromMimeData (const QMimeData *mimeData, AssetList &canvasAssets)
 Decode asset mime data and find the UiCanvas assets.
 

Detailed Description

Helpers for dragging and dropping assets from the asset browser to the UI Editor.