Navigation
API > API/Plugins > API/Plugins/ContentBrowserClassDataSource
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UContentBrowserDataSource
- UContentBrowserClassDataSource
References
| Module | ContentBrowserClassDataSource |
| Header | /Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Source/ContentBrowserClassDataSource/Public/ContentBrowserClassDataSource.h |
| Include | #include "ContentBrowserClassDataSource.h" |
Syntax
UCLASS&40;&41;
class UContentBrowserClassDataSource : public UContentBrowserDataSource
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< IAssetTypeActions > | |||
| void | Initialize
(
const bool InAutoRegister |
||
| bool | RootClassPathPassesFilter
(
const FName InRootClassPath, |
Overridden from UContentBrowserDataSource
| Type | Name | Description | |
|---|---|---|---|
| bool | AppendItemReference
(
const FContentBrowserItemData& InItem, |
Attempt to append any path references for the given item to the given string. | |
| void | Rebuilds the tree of virtual paths that ends with internal roots | ||
| bool | BulkEditItems
(
TArrayView< const FContentBrowserItemData > InItems |
Attempt to open the given item for editing. | |
| bool | CanEditItem
(
const FContentBrowserItemData& InItem, |
Query whether the given item is can be edited, optionally providing error information if it cannot. | |
| void | CompileFilter
(
const FName InPath, |
Given a path and a data filter, produce an optimized filter that can be used to efficiently enumerate items that match it, and also query whether an item would pass it. | |
| bool | DoesItemPassFilter
(
const FContentBrowserItemData& InItem, |
Query whether the given item passes the given compiled filter. | |
| bool | EditItem
(
const FContentBrowserItemData& InItem |
Attempt to open the given item for editing. | |
| void | EnumerateItemsAtPath
(
const FName InPath, |
Enumerate items that have the given virtual path, optionally filtering by type, and invoking the callback for each matching item. | |
| bool | EnumerateItemsForObjects
(
const TArrayView< UObject* > InObjects, |
Enumerate the items (files) that exist for the given objects. | |
| void | EnumerateItemsMatchingFilter
(
const FContentBrowserDataCompiledFilter& InFilter, |
Enumerate items that match the given compiled filter, invoking the callback for each matching item. | |
| bool | GetItemAttribute
(
const FContentBrowserItemData& InItem, |
Query the value of the given attribute on the given item. | |
| bool | GetItemAttributes
(
const FContentBrowserItemData& InItem, |
Query the values of all attributes on the given item. | |
| bool | GetItemPhysicalPath
(
const FContentBrowserItemData& InItem, |
Query the physical (on-disk) path of the given item. | |
| bool | IsFolderVisible
(
const FName InPath, |
Query whether the given virtual folder should be visible in the UI. | |
| bool | Legacy_TryConvertAssetDataToVirtualPath
(
const FAssetData& InAssetData, |
Attempt to convert the given asset data to a virtual path associated with this data source. | |
| bool | Legacy_TryConvertPackagePathToVirtualPath
(
const FName InPackagePath, |
Attempt to convert the given package path to a virtual path associated with this data source. | |
| bool | Legacy_TryGetAssetData
(
const FContentBrowserItemData& InItem, |
Attempt to retrieve the asset data associated with the given item. | |
| bool | Legacy_TryGetPackagePath
(
const FContentBrowserItemData& InItem, |
Attempt to retrieve the package path associated with the given item. | |
| void | Shutdown () |
Shutdown this data source instance. | |
| bool | TryGetCollectionId
(
const FContentBrowserItemData& InItem, |
Attempt to retrieve the identifier that should be used when storing a reference to the given item within a collection. | |
| bool | UpdateThumbnail
(
const FContentBrowserItemData& InItem, |
Attempt to update the thumbnail associated with the given item. |