ITargetPlatform::GetPlatformFromOrdinal

Given a platform ordinal number, returns the corresponding [ITargetPlatform](API\Developer\TargetPlatform\Interfaces\ITargetPlatform) instance

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h

Include

#include "Interfaces/ITargetPlatform.h"

Source

/Engine/Source/Developer/TargetPlatform/Private/TargetPlatformManagerModule.cpp

Syntax

static const ITargetPlatform * GetPlatformFromOrdinal
(
    int32 Ordinal
)

Remarks

Given a platform ordinal number, returns the corresponding ITargetPlatform instance