unreal.AssetTagsSubsystem
¶
- class unreal.AssetTagsSubsystem(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
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.
- 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_collections_containing_asset_data(asset_data) → Array[Name]¶
Get the names of the collections that contain the given asset.
- get_collections_containing_asset_ptr(asset_ptr) → Array[Name]¶
Get the names of the collections that contain the given asset.
- k2_add_asset_to_collection(name, asset_path) → bool¶
Add the given asset to the given collection.
- Parameters:
name (Name) – Name of the collection to modify.
asset_path (SoftObjectPath) –
- Returns:
True if the collection was modified, false otherwise (see the output log for details on error).
- Return type:
- k2_add_assets_to_collection(name, asset_paths) → bool¶
Add the given assets to the given collection.
- Parameters:
name (Name) – Name of the collection to modify.
asset_paths (Array[SoftObjectPath]) –
- Returns:
True if the collection was modified, false otherwise (see the output log for details on error).
- Return type:
- k2_get_collections_containing_asset(asset_path) → Array[Name]¶
Get the names of the collections that contain the given asset.
- Parameters:
asset_path (SoftObjectPath) –
- Returns:
Names of the collections that contain the asset.
- Return type:
- k2_remove_asset_from_collection(name, asset_path) → bool¶
Remove the given asset from the given collection.
- Parameters:
name (Name) – Name of the collection to modify.
asset_path (SoftObjectPath) – Asset to remove (its path, eg) /Game/MyFolder/MyAsset.MyAsset).
- Returns:
True if the collection was modified, false otherwise (see the output log for details on error).
- Return type:
- k2_remove_assets_from_collection(name, asset_paths) → bool¶
Remove the given assets from the given collection.
- Parameters:
name (Name) – Name of the collection to modify.
asset_paths (Array[SoftObjectPath]) –
- Returns:
True if the collection was modified, false otherwise (see the output log for details on error).
- Return type:
- 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_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.