Navigation
API > API/Plugins > API/Plugins/USDPregenWrapper > API/Plugins/USDPregenWrapper/FExtAssetDefinitionSnapshot
Description
Reconstructs the underlying ExtAssetDefinition and registers it into the global AssetDefinitionRegistry. Idempotent: returns true on success or when an identical definition already exists, false on conflict with a same-UID definition that has different fields.
On reconstruction, the stored UniqueId is always passed through the customUniqueId form so it round-trips exactly. As a result HasCustomUniqueId() will always report true post-load even when the source had a default-derived UID; the bHasCustomUniqueId field is informational only.
| Name | RegisterIntoRegistry |
| Type | function |
| Header File | /Engine/Plugins/Experimental/USDPregen/Source/USDPregenWrapper/Public/UsdPregenWrappers/ExtAssetDefinition.h |
| Include Path | #include "UsdPregenWrappers/ExtAssetDefinition.h" |
| Source | /Engine/Plugins/Experimental/USDPregen/Source/USDPregenWrapper/Private/UsdPregenWrappers/ExtAssetDefinition.cpp |
bool RegisterIntoRegistry() const