CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
SAssetView クラス

#include <SAssetView.h>

SAssetView の継承関係図

公開メンバ関数

 SAssetView ()
 ~SAssetView ()
void Construct (const FArguments &InArgs)
void GetObject (FAssetData &OutAssetData) const
virtual FReply OnDragDetected (const FGeometry &Geometry, const FPointerEvent &PointerEvent) override
virtual FReply OnMouseButtonDoubleClick (const FGeometry &Geometry, const FPointerEvent &PointerEvent) override
virtual FReply OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
void SetObject (const FAssetData &InAssetData)
 SLATE_BEGIN_ARGS (SAssetView)

非公開メンバ関数

TSharedRef< SWidget > CreateAssetView (bool bWithThumbnail, float ThumbnailSize)
 DECLARE_DELEGATE_RetVal_TwoParams (bool, FIsAssetAcceptableForDropWithReason, const FAssetData &, FText &)
 DECLARE_DELEGATE_TwoParams (FOnAssetDropped, const FDragDropEvent &, const FAssetData &)

非公開変数類

TAttribute< FAssetData > AssetData
bool bAllowAssetDragging
bool bAllowAssetDropping
bool bDisplayThumbnail
bool bOpenAssetOnDoubleClick
FOnAssetDropped OnAssetDropped
FIsAssetAcceptableForDropWithReason OnIsAssetAcceptableForDropWithReason
TSharedPtr< SOverlay > ThumbnailOverlay
float ThumbnailSize

構築子と解体子

◆ 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

引数
InArgsThe 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

戻り値
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()

SAssetView::SLATE_BEGIN_ARGS ( SAssetView )
inline

メンバ詳解

◆ 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

このクラス詳解は次のファイルから抽出されました:
  • C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCoreEditor/Private/Widgets/SAssetView.h
  • C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCoreEditor/Private/Widgets/SAssetView.cpp