Add Content.GetAllAssets to get all asset ids in project

This commit is contained in:
Wojtek Figat
2021-10-08 15:31:13 +02:00
parent 78e093245d
commit 058e23f3ee
4 changed files with 26 additions and 2 deletions

View File

@@ -73,6 +73,12 @@ public:
/// <returns>True if found any asset, otherwise false.</returns>
API_FUNCTION() static bool GetAssetInfo(const StringView& path, API_PARAM(Out) AssetInfo& info);
/// <summary>
/// Finds all the asset IDs. Uses asset registry.
/// </summary>
/// <returns>The list of all asset IDs.</returns>
API_FUNCTION() static Array<Guid, HeapAllocation> GetAllAssets();
/// <summary>
/// Finds all the asset IDs by type (exact type, without inheritance checks). Uses asset registry.
/// </summary>