ITargetPlatform::IsRunningPlatform

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

Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > ITargetPlatform

  • ITargetPlatform::IsRunningPlatform()

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h
Include #include "Interfaces/ITargetPlatform.h"
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