ITargetPlatform::GetDevice

Gets an interface to the specified device.

Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > ITargetPlatform

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h
Include #include "Interfaces/ITargetPlatform.h"
[ITargetDevicePtr](API\Developer\TargetPlatform\Interfaces\ITargetDevicePtr) GetDevice
(
    const [FTargetDeviceId](API\Developer\TargetPlatform\Interfaces\FTargetDeviceId) & DeviceId
)

Remarks

Gets an interface to the specified device. The target device (can be nullptr).

Parameters

Name Description
DeviceId The identifier of the device to get.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library