TNonDesktopTargetPlatformBase::IsRunningPlatform

Checks whether this platform is the platform that's currently running.

Windows
MacOS
Linux

Override Hierarchy

ITargetPlatform::IsRunningPlatform()

TNonDesktopTargetPlatformBase::IsRunningPlatform()

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h

Include

#include "Common/TargetPlatformBase.h"

Syntax

virtual bool IsRunningPlatform() const

Remarks

Checks whether this platform is the platform that's currently running.

For example, when running on Windows, the WindowsITargetPlatform will return true and all other platforms will return false.

Returns

true if this platform is running, false otherwise.