Navigation
API > API/Editor > API/Editor/AssetDefinition > API/Editor/AssetDefinition/UAssetDefinitionRegistry
References
| Module | AssetDefinition |
| Header | /Engine/Source/Editor/AssetDefinition/Public/AssetDefinitionRegistry.h |
| Include | #include "AssetDefinitionRegistry.h" |
| Source | /Engine/Source/Editor/AssetDefinition/Private/AssetDefinitionRegistry.cpp |
void RegisterAssetDefinition
&40;
UAssetDefinition &42; AssetDefinition
&41;
Remarks
Normally UAssetDefinitionRegistry are registered automatically by their CDO. The only reason you need to do this is if you're forced to dynamically create the UAssetDefinition at runtime. The original reason for this function was to be able to create wrappers for the to be replaced IAssetTypeActions, that you can access AssetDefinition versions of any IAssetType making the upgrade easier.