Navigation
API > API/Editor > API/Editor/AssetDefinition > API/Editor/AssetDefinition/UAssetDefinitionRegistry
Description
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.
| Name | RegisterAssetDefinition |
| Type | function |
| Header File | /Engine/Source/Editor/AssetDefinition/Public/AssetDefinitionRegistry.h |
| Include Path | #include "AssetDefinitionRegistry.h" |
| Source | /Engine/Source/Editor/AssetDefinition/Private/AssetDefinitionRegistry.cpp |
void RegisterAssetDefinition
(
UAssetDefinition * AssetDefinition
)