Navigation
API > API/Developer > API/Developer/DesktopPlatform > API/Developer/DesktopPlatform/IDesktopPlatform
References
| Module | DesktopPlatform |
| Header | /Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h |
| Include | #include "IDesktopPlatform.h" |
bool TryGetEngineVersion
&40;
const FString & RootDir,
FEngineVersion & OutVersion
&41;
Remarks
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
Parameters
| Name | Description |
|---|---|
| RootDir | Root directory for the engine to check |
| OutVersion | Engine version obtained from identifier |