Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Common > API/Developer/TargetPlatform/Common/FTargetPlatformBase > API/Developer/TargetPlatform/Common/FTargetPlatformBase/AddDevice
- ITargetPlatform::AddDevice()
- FTargetPlatformBase::AddDevice()
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h |
| Include | #include "Common/TargetPlatformBase.h" |
virtual bool AddDevice
&40;
const FString & DeviceName,
bool bDefault
&41;
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. |