Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/FTargetPlatformControlsBase
Description
Get unique integer identifier for this platform.
The implementation will assign an ordinal to each target platform at startup, assigning a value of 0, 1, 2, etc in order to make the ordinals usable as array / bit mask indices.
Virtual Inheritance
- ITargetPlatformControls::GetPlatformOrdinal → FTargetPlatformControlsBase::GetPlatformOrdinal
| Name | GetPlatformOrdinal |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformControlsBase.h |
| Include Path | #include "Common/TargetPlatformControlsBase.h" |
virtual int32 GetPlatformOrdinal() const
int32 A unique integer which may be used to identify target platform during the current session only (note: not stable across runs).