ITargetPlatform::GetDefaultDevice

Gets the default device. that not all platforms may have a notion of default devices.

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

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

Include

#include "Interfaces/ITargetPlatform.h"

Syntax

ITargetDevicePtr GetDefaultDevice() const

Remarks

Gets the default device.

that not all platforms may have a notion of default devices.

Returns

Default device.

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