unreal.AssetTagsSubsystem
¶
-
class
unreal.
AssetTagsSubsystem
(outer=None, name='None')¶ Bases:
unreal.EngineSubsystem
Asset Tags Subsystem
C++ Source:
Plugin: AssetTags
Module: AssetTags
File: AssetTagsSubsystem.h
-
add_asset_datas_to_collection
(name, asset_datas) → bool¶ Add the given assets to the given collection.
-
add_asset_ptrs_to_collection
(name, asset_ptrs) → bool¶ Add the given assets to the given collection.
-
add_assets_to_collection
(name, asset_path_names) → bool¶ Add the given assets to the given collection.
-
create_collection
(name, share_type) → bool¶ Create a new collection with the given name and share type.
- Parameters
name (Name) – Name to give to the collection.
share_type (CollectionShareType) – Whether the collection should be local, private, or shared?
- Returns
True if the collection was created, false otherwise (see the output log for details on error).
- Return type
-
get_assets_in_collection
(name)¶ Get the assets in the given collection.
-
get_collections
()¶ Get the names of all available collections.
-
get_collections_containing_asset
(asset_path_name)¶ Get the names of the collections that contain the given asset.
-
get_collections_containing_asset_data
(asset_data)¶ Get the names of the collections that contain the given asset.
-
get_collections_containing_asset_ptr
(asset_ptr)¶ Get the names of the collections that contain the given asset.
-
remove_asset_data_from_collection
(name, asset_data) → bool¶ Remove the given asset from the given collection.
-
remove_asset_datas_from_collection
(name, asset_datas) → bool¶ Remove the given assets from the given collection.
-
remove_asset_from_collection
(name, asset_path_name) → bool¶ Remove the given asset from the given collection.
-
remove_asset_ptr_from_collection
(name, asset_ptr) → bool¶ Remove the given asset from the given collection.
-
remove_asset_ptrs_from_collection
(name, asset_ptrs) → bool¶ Remove the given assets from the given collection.
-
remove_assets_from_collection
(name, asset_path_names) → bool¶ Remove the given assets from the given collection.