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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss