Navigation
API > API/Developer > API/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 FDataDrivenPlatformInfo * | DataDrivenPlatformInfo | Cached pointer to the DDPI | |
| FText | DisplayName | The friendly (and localized) display name of this platform | |
| TArray< const FTargetPlatformInfo * > | 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::Flags | PlatformFlags | Flags for this platform | |
| FName | PlatformFlavor | Platform flavor, eg "ETC2" for "Android_ETC2" | |
| EBuildTargetType | PlatformType | Type of this platform | |
| FString | UATCommandLine | Additional argument string data to append to UAT commands relating to this platform | |
| FTargetPlatformInfo * | 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, |
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 |