Navigation
API > API/Developer > API/Developer/TargetPlatform
Target platform identifier
This is really just a wrapper around an integer ordinal value, to prevent accidental mix-ups with other classes of integers. It also provides more context to a reader of the code.
| Name | FTargetPlatform |
| Type | struct |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h |
| Include Path | #include "Interfaces/ITargetPlatform.h" |
Syntax
struct FTargetPlatform
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTargetPlatform
(
const ITargetPlatform& Platform |
Interfaces/ITargetPlatform.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Ordinal | uint32 | Interfaces/ITargetPlatform.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetOrdinal() |
Interfaces/ITargetPlatform.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FTargetPlatform& Other |
Interfaces/ITargetPlatform.h |
See Also
- ITargetPlatform::GetPlatformOrdinal()