struct
PrefabCache
Allows various prefab utilities to retrieve and cache prefabs while performing operations.
Public
Methods
FindOrLoadPrefab
HPrefab FindOrLoadPrefab(const UUID &prefabId)
Attempts to find a prefab with the provided ID in the cache.
If not found prefab will be loaded and added to cache.
AddToCache
void AddToCache(const HPrefab &prefab)
Adds a previously loaded prefab to cache.
Private
Fields
mPrefabs
FrameUnorderedMap<UUID, HPrefab> mPrefabs