TNonDesktopTargetPlatformBase::IsRunningPlatform

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

Unreal Engine C++ API Reference > Developer > TargetPlatform > Common > TNonDesktopTargetPlatformBase

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h
Include #include "Common/TargetPlatformBase.h"
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. true if this platform is running, false otherwise.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library