FTargetPlatformInfo

Information about a given platform

Windows
MacOS
Linux

References

Module

DesktopPlatform

Header

/Engine/Source/Developer/DesktopPlatform/Public/PlatformInfo.h

Include

#include "PlatformInfo.h"

Syntax

struct FTargetPlatformInfo

Remarks

Information about a given platform

Variables

Name Description

Public variable

const FDataDriv...

 

DataDrivenPlatformInfo

Cached pointer to the DDPI

Public variable

FText

 

DisplayName

The friendly (and localized) display name of this platform

Public variable

TArray< const F...

 

Flavors

For vanilla objects, this contains the flavors (children)

Public variable

FName

 

IniPlatformName

Name of this platform when loading INI files (and finding DataDrivenPlatformInfo)

Public variable

FName

 

Name

Name of the Info object as well as the ITargetPlatform that this Info describes

Public variable

EPlatformFlags:...

 

PlatformFlags

Flags for this platform

Public variable

FName

 

PlatformFlavor

Platform flavor, eg "ETC2" for "Android_ETC2"

Public variable

EBuildTargetTyp...

 

PlatformType

Type of this platform

Public variable

FString

 

UATCommandLine

Additional argument string data to append to UAT commands relating to this platform

Public variable

FTargetPlatform...

 

VanillaInfo

For flavors, this points to the vanilla (parent) object - for vanilla objects, this points to itself so ->VanillaInfo can be used without checking for null

Constructors

Name Description

Public function

FTargetPlatformInfo

(
    const FString& InIniPlatformName,
    EBuildTargetType InType,
    const FString& InCookFlavor
)

Functions

Name Description

Public function Const

FName

 

GetIconStyleName

(
    const EPlatformIconSize InIconSize
)

Convenience function

Public function Const

bool

 

IsFlavor()

Returns true if this platform is a flavor

Public function Const

bool

 

IsVanilla()

Returns true if this platform is vanilla