FProjectStatus::IsTargetPlatformSupported

Check to see if the given platform name is supported as a target by the current project

Windows
MacOS
Linux

References

Module

Projects

Header

/Engine/Source/Runtime/Projects/Public/Interfaces/IProjectManager.h

Include

#include "Interfaces/IProjectManager.h"

Syntax

bool IsTargetPlatformSupported
(
    const FName & InPlatformName,
    const bool bAllowSupportedIfEmptyList
) const

Remarks

Check to see if the given platform name is supported as a target by the current project

Parameters

Parameter

Description

InPlatformName

Name of the platform to target (eg, WindowsNoEditor)

bAllowSupportedIfEmptyList

Consider an empty list to mean that all platforms are supported targets?

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss