Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/Texture > API/Plugins/InterchangeImport/Texture/UInterchangeDDSTranslator
- IInterchangeSlicedTexturePayloadInterface::GetSlicedTexturePayloadData()
- UInterchangeDDSTranslator::GetSlicedTexturePayloadData()
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Texture/InterchangeDDSTranslator.h |
| Include | #include "Texture/InterchangeDDSTranslator.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/Texture/InterchangeDDSTranslator.cpp |
virtual TOptional< UE::Interchange::FImportSlicedImage > GetSlicedTexturePayloadData
&40;
const FString & PayloadKey,
TOptional< FString > & AlternateTexturePath
&41; const
Remarks
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. a PayloadData containing the import image data. The TOptional will not be set if there is an error.
Parameters
| Name | Description |
|---|---|
| PayloadKey | Unused. The translator uses its SourceData property to extract the payload. |
| AlternateTexturePath | Unused. The translator uses its SourceData property to extract the payload. |