Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/UInterchangeUEJPEGTranslator
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.
Virtual Inheritance
- IInterchangeTexturePayloadInterface::GetCompressedTexturePayloadData → UInterchangeUEJPEGTranslator::GetCompressedTexturePayloadData
| Name | GetCompressedTexturePayloadData |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Texture/InterchangeUEJPEGTranslator.h |
| Include Path | #include "Texture/InterchangeUEJPEGTranslator.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/Texture/InterchangeUEJPEGTranslator.cpp |
virtual TOptional < UE::Interchange::FImportImage > GetCompressedTexturePayloadData
(
const FString & PayloadKey,
TOptional < FString > & AlternateTexturePath
) const
a PayloadData containing the import image data. The TOptional will not be set if there is an error.
Parameters
| Name | Remarks |
|---|---|
| PayloadKey | Unused. The translator uses its SourceData property to extract the payload. |
| AlternateTexturePath | Unused. The translator uses its SourceData property to extract the payload. |