SAssetTileItem

An item in the asset tile view

Unreal Engine C++ API Reference > Editor > ContentBrowser

Inheritance Hierarchy

References

   
Module ContentBrowser
Header /Engine/Source/Editor/ContentBrowser/Public/AssetViewWidgets.h
Include #include "AssetViewWidgets.h"

Syntax

class SAssetTileItem : public [SAssetViewItem](API\Editor\ContentBrowser\SAssetViewItem)  

Remarks

An item in the asset tile view

Destructors

Type Name Description
  ~SAssetTileItem () Destructor

Functions

Type Name Description
bool CanDisplayPrimitiveTools () Whether the widget should allow primitive tools to be displayed
void Construct ( const FArguments& InArgs ) Constructs this widget with InArgs
FSlateColor GetAssetClassLabelTextColor () Gets the color of the asset class label in thumbnails
EVisibility GetAssetClassLabelVisibility () Gets the visibility of the asset class label in thumbnails
FOptionalSiz... GetExtraStateIconMaxWidth () Returns the max width size to be used by extra state icons.
float GetExtraStateIconWidth () Get the expected width of an extra state icon.
const FSlate... GetFolderBackgroundImage ()  
const FSlate... GetFolderBackgroundShadowImage ()  
int32 GetGenericThumbnailSize ()  
FOptionalSiz... GetMaxAssetNameHeight () Gets the max size of the name area for an asset
const FSlate... GetNameAreaBackgroundImage ()  
FOptionalSiz... GetNameAreaMaxDesiredHeight ()  
FSlateColor GetNameAreaTextColor ()  
float GetRegularFontHeight ()  
EVisibility GetSCCIconVisibility () Gets the visibility of the SCC icons
float GetSmallFontHeight ()  
FOptionalSiz... GetStateIconImageSize () Returns the size of the state icon box widget (i.e dirty image, scc)
FOptionalSiz... GetThumbnailBoxSize () Returns the size of the thumbnail widget
FSlateFontIn... GetThumbnailFont () Returns the font to use for the thumbnail label
void InitializeAssetNameHeights ()  

Overridden from SAssetViewItem

Type Name Description
const FSlate... GetBorderImage () Get the border image to display
float GetNameTextWrapWidth () SAssetViewItem interface
void OnAssetDataChanged () Handles committing a name change

Overridden from SWidget

Type Name Description
void OnMouseEnter ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) Handles realtime thumbnails
void OnMouseLeave ( const FPointerEvent& MouseEvent ) Handles realtime thumbnails

Classes

Type Name Description
Public struct FArguments  

Constants

Name Description
AssetNameHeights Max name height for each thumbnail size
RegularFontHeight Regular thumbnail font size
SmallFontHeight Small thumbnail font size

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library