Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMisc
Description
Return the engine and project directory based from the executable. This function would return different results than EngineDir and Project dir if for example -basedir is set on cmd line and/or pak files are used
| Name | GetEngineAndProjectAbsoluteDirsFromExecutable |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h |
| Include Path | #include "GenericPlatform/GenericPlatformMisc.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp |
static bool GetEngineAndProjectAbsoluteDirsFromExecutable
(
FString & OutProjectDir,
FString & OutEngineDir
)