Module |
|
Header |
/Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h |
Include |
#include "IDesktopPlatform.h" |
bool TryGetEngineVersion
(
const FString & RootDir,
FEngineVersion & OutVersion
)
Attempt to get the engine version from the supplied engine root directory. Tries to read the contents of Engine/Build/Build.version, but scrapes information from the Engine/Source/Launch/Resources/Version.h if it fails.
true if the engine version was successfully obtained
Parameter |
Description |
---|---|
RootDir |
Root directory for the engine to check |
OutVersion |
Engine version obtained from identifier |