Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FModuleManager
Description
Loads the specified module and returns a result.
| Name | LoadModuleWithFailureReason |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
| Include Path | #include "Modules/ModuleManager.h" |
| Source | /Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp |
IModuleInterface * LoadModuleWithFailureReason
(
const FName InModuleName,
EModuleLoadResult & OutFailureReason,
ELoadModuleFlags InLoadModuleFlags
)
The loaded module (null if the load operation failed).
Parameters
| Name | Remarks |
|---|---|
| InModuleName | The base name of the module file. Should not include path, extension or platform/configuration info. This is just the "module name" part of the module file name. Names should be globally unique. |
| OutFailureReason | Will contain the result. |
| InLoadModuleFlags | Optional flags for module load operation. |
See Also
-
LoadModuleChecked
-
UnloadModule