ITargetPlatform::AddDevice

Add a target device by name.

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

  • ITargetPlatform::AddDevice()

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h
Include #include "Interfaces/ITargetPlatform.h"
bool AddDevice
(
    const [FString](API\Runtime\Core\Containers\FString) & DeviceName,
    bool bDefault
)

Remarks

Add a target device by name. true if the device was added, false otherwise.

Parameters

Name Description
DeviceName The name of the device to add.
bDefault Whether the added device should be the default.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library