UInterchangeManager::GetTranslatorSupportingPayloadInterfaceForSourceData

Return the first translator that can translate the source data with the specified PayloadInterface.

Choose your operating system:

Windows

macOS

Linux

References

Module

InterchangeEngine

Header

/Engine/Source/Runtime/Experimental/Interchange/Engine/Public/InterchangeManager.h

Include

#include "InterchangeManager.h"

Source

/Engine/Source/Runtime/Experimental/Interchange/Engine/Private/InterchangeManager.cpp

Syntax

UInterchangeTranslatorBase * GetTranslatorSupportingPayloadInterfaceForSourceData
(
    const UInterchangeSourceData * SourceData,
    const UClass * PayloadInterfaceClass
) const

Remarks

Return the first translator that can translate the source data with the specified PayloadInterface. SourceData - The source data for which we search a translator. PayloadInterfaceClass - The PayloadInterface that the translator must implement.

Returns

return a matching translator implementing the specified PayloadInterface or nullptr if there is no match.