Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/IMetasoundUObjectRegistry > API/Plugins/MetasoundEngine/IMetasoundUObjectRegistry/GetObjectAsAssetBase
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundUObjectRegistry.h |
| Include | #include "MetasoundUObjectRegistry.h" |
const FMetasoundAssetBase &42; GetObjectAsAssetBase
&40;
const UObject &42; InObject
&41; const
Remarks
Returns casts the UObject to a FMetasoundAssetBase if the UObject is of a registered type. If the UObject's UClass is not registered, then a nullptr is returned.