FTargetPlatformInfo

Information about a given platform

Unreal Engine C++ API Reference > Developer > DesktopPlatform

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

Type Name Description
const FDataDriv... DataDrivenPlatformInfo Cached pointer to the DDPI
FText DisplayName The friendly (and localized) display name of this platform
TArray< const F... Flavors For vanilla objects, this contains the flavors (children)
FName IniPlatformName Name of this platform when loading INI files (and finding DataDrivenPlatformInfo)
FName Name Name of the Info object as well as the ITargetPlatform that this Info describes
EPlatformFlags:... PlatformFlags Flags for this platform
FName PlatformFlavor Platform flavor, eg "ETC2" for "Android_ETC2"
EBuildTargetTyp... PlatformType Type of this platform
FString UATCommandLine Additional argument string data to append to UAT commands relating to this platform
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

Type Name Description
  FTargetPlatformInfo ( const FString& InIniPlatformName, EBuildTargetType InType, const FString& InCookFlavor )  

Functions

Type Name Description
FName GetIconStyleName ( const EPlatformIconSize InIconSize ) Convenience function
bool IsFlavor () Returns true if this platform is a flavor
bool IsVanilla () Returns true if this platform is vanilla

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library