Navigation
API > API/Editor > API/Editor/ContentBrowser
Inheritance Hierarchy
References
| Module | ContentBrowser |
| Header | /Engine/Source/Editor/ContentBrowser/Public/SAssetView.h |
| Include | #include "SAssetView.h" |
Syntax
class SAssetView : public SCompoundWidget
Remarks
A widget to display a list of filtered assets
Destructors
| Type | Name | Description | |
|---|---|---|---|
~SAssetView () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AdjustActiveSelection
(
int32 SelectionDelta |
Adjusts the selected asset by the selection delta, which should be +1 or -1) | |
| void | ApplyHistoryData
(
const FHistoryData& History |
Sets the state of the asset view to the one described by the history data | |
| void | ClearSelection
(
bool bForceSilent |
Clears the selection of all the lists in the view | |
| void | Construct
(
const FArguments& InArgs |
Constructs this widget with InArgs | |
| void | CreateNewAsset
(
const FString& DefaultAssetName, |
Creates a new asset item designed to allocate a new object once it is named. | |
| void | ForceShowPluginFolder
(
bool bEnginePlugin |
Forces the plugin content folder to be shown. | |
| FText | Gets the text for the asset count label | ||
| const FARFilter & | Get the current backend filter | ||
| TArray< FAssetData > | Returns all the asset data objects in items currently selected in the view | ||
| TArray< FContentBrowserItem > | Returns all the file items currently selected in the view | ||
| TArray< FContentBrowserItem > | Returns all the folder items currently selected in the view | ||
| TArray< FString > | Returns all the folders currently selected in the view | ||
| TArray< FContentBrowserItem > | Returns all the items currently selected in the view | ||
| TArray< TSharedPtr< FAssetViewItem > > | Returns all the items currently selected in the view | ||
| const FSourcesData & | Returns the sources filter applied to this asset view | ||
| TSharedRef< SWidget > | Handler for when the view combo button is clicked | ||
| void | HandleSettingChanged
(
FName PropertyName |
Delegate called when an editor setting is changed | |
| bool | Returns true if a real asset path is selected (i.e * or *) | ||
| bool | |||
| bool | |||
| bool | |||
| bool | Returns true if an asset is currently in the process of being renamed | ||
| bool | Returns true if the asset view is in thumbnail editing mode | ||
| void | LoadSettings
(
const FString& IniFilename, |
Loads any settings to config that should be persistent between editor sessions | |
| void | NewFileItemRequested
(
const FContentBrowserItemDataTemporaryContext& NewItemContext |
Handler for when a data source requests file item creation | |
| void | NewFolderItemRequested
(
const FContentBrowserItemTemporaryContext& NewItemContext |
Handler for when a data source requests folder item creation | |
| void | Opens the selected assets or folders, depending on the selection | ||
| void | Loads the selected assets and previews them if possible | ||
| void | Enables the Show Developer Content setting for the active Content Browser. | ||
| void | Enables the Show Engine Content setting for the active Content Browser. | ||
| void | Enables the Show Localized Content setting for the active Content Browser. | ||
| void | Enables the Show Plugin Content setting for the active Content Browser. | ||
| void | RenameItem
(
const FContentBrowserItem& ItemToRename |
Sets up an inline rename for the specified item | |
| void | Requests that the asset view refreshes only items that are filtered through frontend sources. | ||
| void | Requests that the asset view refreshes all it's source items. | ||
| void | SaveSettings
(
const FString& IniFilename, |
Saves any settings to config that should be persistent between editor sessions | |
| void | SetBackendFilter
(
const FARFilter& InBackendFilter |
Notifies the asset view that the filter-list filter has changed | |
| void | SetCurrentThumbnailSize
(
EThumbnailSize NewThumbnailSize |
Sets the thumbnail size and updates lists accordingly | |
| void | SetCurrentViewType
(
EAssetViewType::Type NewType |
Sets the view type and updates lists accordingly | |
| void | SetFilterBar
(
TSharedPtr< SFilterList > InFilterBar |
Set the filter list attached to this asset view - allows toggling of the the filter bar layout from the view options | |
| void | SetSourcesData
(
const FSourcesData& InSourcesData |
Changes the base sources for this view | |
| void | SetUserSearching
(
bool bInSearching |
Set whether the user is currently searching or not | |
| bool | ShouldColumnGenerateWidget
(
const FString ColumnName |
||
| void | SyncToItems
(
TArrayView< const FContentBrowserItem > ItemsToSync, |
Selects the specified items. | |
| void | SyncToLegacy
(
TArrayView< const FAssetData > AssetDataList, |
Selects the specified assets and paths. | |
| void | SyncToVirtualPaths
(
TArrayView< const FName > VirtualPathsToSync, |
Selects the specified virtual paths. | |
| FText | ThumbnailSizeToDisplayName
(
EThumbnailSize InSize |
Gets text name for given thumbnail |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | OnDragLeave
(
const FDragDropEvent& DragDropEvent |
Called during drag and drop when the drag leaves a widget. | |
| FReply | OnDragOver
(
const FGeometry& MyGeometry, |
Called during drag and drop when the the mouse is being dragged over a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | |
| void | OnFocusChanging
(
const FWeakWidgetPath& PreviousFocusPath, |
Called whenever a focus path is changing on all the widgets within the old and new focus paths | |
| FReply | OnKeyChar
(
const FGeometry& MyGeometry, |
Called after a character is entered while this widget has keyboard focus | |
| FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) | ||
| FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called when the mouse wheel is spun. This event is bubbled. | |
| void | SWidget inherited. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |