Navigation
API > API/Plugins > API/Plugins/RemoteControlProtocolMIDI
References
| Module | RemoteControlProtocolMIDI |
| Header | /Engine/Plugins/VirtualProduction/RemoteControlProtocolMIDI/Source/RemoteControlProtocolMIDI/Public/RemoteControlProtocolMIDI.h |
| Include | #include "RemoteControlProtocolMIDI.h" |
Syntax
USTRUCT&40;&41;
struct FRemoteControlMIDIDevice
Remarks
MIDI protocol device identifier
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDeviceIsAvailable | If device available for use. | |
| int32 | DeviceId | User-specified Midi Device Id | |
| FName | DeviceName | Midi Device Name. If specified, takes priority over DeviceId. | |
| ERemoteControlMIDIDeviceSelector | DeviceSelector | Midi Device Selector | |
| int32 | ResolvedDeviceId | Midi Resolved Device Id. Distinct from the user specified Device Id. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor | |||
FRemoteControlMIDIDevice
(
const int32 DeviceId |
Construct for the given DeviceId | ||
FRemoteControlMIDIDevice
(
const int32 DeviceId, |
Construct for the given DeviceId and DeviceName |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | ResolveDeviceId
(
const TArray< FFoundMIDIDevice >& InFoundDevices |
Resolves the actual Midi Device Id given the FRemoteControlMIDIDevice configuration. | |
| void | Sets DeviceId and DeviceName, disables bUseProjectSettings and bUseUserDeviceId. | ||
| void | Sets bUseProjectSettings = true, clears bUseUserDeviceId. | ||
| void | Sets bUseUserDeviceId = true, clears bUseProjectSettings. | ||
| FText | Creates a formatted string to display in the combobox |