Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FModuleManager
Description
Gets a module by name, checking to ensure it exists.
This method checks whether the module actually exists. If the module does not exist, an assertion will be triggered.
| Name | GetModuleChecked |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
| Include Path | #include "Modules/ModuleManager.h" |
template<typename TModuleInterface>
static TModuleInterface & GetModuleChecked
(
const FName ModuleName
)
The interface to the module.
Parameters
| Name | Remarks |
|---|---|
| ModuleName | The module to get. |
See Also
-
GetModulePtr
-
LoadModulePtr
-
LoadModuleChecked