GetTargetPlatformManager

Return the Target Platform Manager interface, if it is available, otherwise return nullptr.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/CoreMisc.h

Include

#include "Misc/CoreMisc.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/CoreMisc.cpp

Syntax

ITargetPlatformManagerModule * GetTargetPlatformManager
(
    bool bFailOnInitErrors
)

Remarks

Return the Target Platform Manager interface, if it is available, otherwise return nullptr.

Returns

The Target Platform Manager interface, if it is available, otherwise return nullptr.

Parameters

Parameter

Description

bFailOnInitErrors

If true (default) and errors occur during init of the TPM, an error will be logged and the process may terminate, otherwise will return whether there was an error or not.

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