UUsdAssetCache::MarkAssetsAsStale

Every time an asset is retrieved/inserted we add it to ActiveAssets.

Windows
MacOS
Linux

References

Module

USDClasses

Header

/Engine/Plugins/Importers/USDImporter/Source/USDClasses/Public/USDAssetCache.h

Include

#include "USDAssetCache.h"

Source

/Engine/Plugins/Importers/USDImporter/Source/USDClasses/Private/USDAssetCache.cpp

Syntax

void MarkAssetsAsStale()

Remarks

Every time an asset is retrieved/inserted we add it to ActiveAssets. With these functions that container can be reset/returned.

When importing via the USDStageImporter we will move assets from this cache to the content folder. The problem is that some of those assets may not be currently used (e.g. inactive variant, purpose, etc.). The USDStageImporter will then use these functions before/after translating the scene to know which items from the cache that are actually used for the current scene.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss