#include <SAssetView.h>
◆ SAssetView()
| SAssetView::SAssetView |
( |
| ) |
|
The object displayed in this asset view Whether a Thmbnail is displayed if object is an asset. The size in pixel of the thumbnail to display. Open asset editor when mouse is double clicked on the widget. Whether possible to drag the asset outside this view. Whether possible to drop an asset to this view. Called when an asset was dropped to this view. Called when we need to check if an asset type is valid for dropping and also will have a reason if it is not Called when this text is double clicked
◆ ~SAssetView()
| SAssetView::~SAssetView |
( |
| ) |
|
◆ Construct()
| void SAssetView::Construct |
( |
const FArguments & | InArgs | ) |
|
Construct this widget
- Parameters
-
| InArgs | The declaration data for this widget |
◆ CreateAssetView()
| TSharedRef< SWidget > SAssetView::CreateAssetView |
( |
bool | bWithThumbnail, |
|
|
float | ThumbnailSize ) |
|
private |
◆ DECLARE_DELEGATE_RetVal_TwoParams()
| SAssetView::DECLARE_DELEGATE_RetVal_TwoParams |
( |
bool | , |
|
|
FIsAssetAcceptableForDropWithReason | , |
|
|
const FAssetData & | , |
|
|
FText & | ) |
|
private |
Called when we need to check if an asset type is valid for dropping and also will have a reason if it is not
◆ DECLARE_DELEGATE_TwoParams()
| SAssetView::DECLARE_DELEGATE_TwoParams |
( |
FOnAssetDropped | , |
|
|
const FDragDropEvent & | , |
|
|
const FAssetData & | ) |
|
private |
Called when a valid asset is dropped
◆ GetObject()
| void SAssetView::GetObject |
( |
FAssetData & | OutAssetData | ) |
const |
|
inline |
Gets the obejct assigned to this asset view
- Returns
- This asset view's object
◆ OnDragDetected()
| FReply SAssetView::OnDragDetected |
( |
const FGeometry & | Geometry, |
|
|
const FPointerEvent & | PointerEvent ) |
|
overridevirtual |
◆ OnMouseButtonDoubleClick()
| FReply SAssetView::OnMouseButtonDoubleClick |
( |
const FGeometry & | Geometry, |
|
|
const FPointerEvent & | PointerEvent ) |
|
overridevirtual |
◆ OnMouseButtonDown()
| FReply SAssetView::OnMouseButtonDown |
( |
const FGeometry & | MyGeometry, |
|
|
const FPointerEvent & | MouseEvent ) |
|
overridevirtual |
◆ SetObject()
| void SAssetView::SetObject |
( |
const FAssetData & | InAssetData | ) |
|
Sets the object for this asset view.
◆ SLATE_BEGIN_ARGS()
◆ AssetData
| TAttribute<FAssetData> SAssetView::AssetData |
|
private |
◆ bAllowAssetDragging
| bool SAssetView::bAllowAssetDragging |
|
private |
◆ bAllowAssetDropping
| bool SAssetView::bAllowAssetDropping |
|
private |
◆ bDisplayThumbnail
| bool SAssetView::bDisplayThumbnail |
|
private |
◆ bOpenAssetOnDoubleClick
| bool SAssetView::bOpenAssetOnDoubleClick |
|
private |
◆ OnAssetDropped
| FOnAssetDropped SAssetView::OnAssetDropped |
|
private |
◆ OnIsAssetAcceptableForDropWithReason
| FIsAssetAcceptableForDropWithReason SAssetView::OnIsAssetAcceptableForDropWithReason |
|
private |
◆ ThumbnailOverlay
| TSharedPtr<SOverlay> SAssetView::ThumbnailOverlay |
|
private |
◆ ThumbnailSize
| float SAssetView::ThumbnailSize |
|
private |
The documentation for this class was generated from the following files:
- C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCoreEditor/Private/Widgets/SAssetView.h
- C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCoreEditor/Private/Widgets/SAssetView.cpp