unreal.ContentBrowserDataSubsystem

class unreal.ContentBrowserDataSubsystem(outer=None, name='None')

Bases: unreal.EditorSubsystem

Subsystem that provides access to Content Browser data. This type deals with the composition of multiple data sources, which provide information about the folders and files available in the Content Browser.

C++ Source:

  • Module: ContentBrowserData

  • File: ContentBrowserDataSubsystem.h

activate_all_data_sources() None

Activate all available data sources.

activate_data_source(name) bool

Attempt to activate the named data source.

Parameters

name (Name) –

Returns

True if the data source was available and not already active, false otherwise.

Return type

bool

deactivate_all_data_sources() None

Deactivate all active data sources.

deactivate_data_source(name) bool

Attempt to deactivate the named data source.

Parameters

name (Name) –

Returns

True if the data source was available and active, false otherwise.

Return type

bool

get_active_data_sources()

Get the list of current active data sources.

Return type

Array(Name)

get_available_data_sources()

Get the list of current available data sources.

Return type

Array(Name)

get_item_at_path(path, item_type_filter) ContentBrowserItem

Get the first item (folder and/or file) that exists at the given virtual path.

Parameters
Return type

ContentBrowserItem

get_items_at_path(path, item_type_filter)

Get the items (folders and/or files) that exist at the given virtual path. note: Multiple items may have the same virtual path if they are different types, or come from different data sources.

Parameters
Return type

Array(ContentBrowserItem)

get_items_under_path(path, filter)

Get the items (folders and/or files) that exist under the given virtual path.

Parameters
Return type

Array(ContentBrowserItem)