Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/IInterchangeAudioPayloadInterfac-
Description
Once the translation is done, the import process need a way to retrieve payload data. This payload will be use by the factories to create the asset.
| Name | GetAudioPayloadData |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Audio/InterchangeAudioPayloadInterface.h |
| Include Path | #include "Audio/InterchangeAudioPayloadInterface.h" |
virtual TOptional < UE::Interchange::FInterchangeAudioPayloadData > GetAudioPayloadData
(
const FString & PayloadSourceFileKey
) const
a PayloadData containing the import sound wave data, this maybe converted data if the format is other than '.wav'. The TOptional will not be set if there is an error.
Parameters
| Name | Remarks |
|---|---|
| PayloadKey | The key to retrieve the a particular payload contain into the specified source data. |