Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/Texture > API/Plugins/InterchangeImport/Texture/IInterchangeTexturePayloadInterf- > API/Plugins/InterchangeImport/Texture/IInterchangeTexturePayloadInterf-/GetTexturePayloa-
- IInterchangeTexturePayloadInterface::GetTexturePayloadData()
- UInterchangeMaterialXTranslator::GetTexturePayloadData()
- UInterchangePSDTranslator::GetTexturePayloadData()
- UInterchangePCXTranslator::GetTexturePayloadData()
- UInterchangeJPGTranslator::GetTexturePayloadData()
- UInterchangeImageWrapperTranslator::GetTexturePayloadData()
- UInterchangeDDSTranslator::GetTexturePayloadData()
- UInterchangeFbxTranslator::GetTexturePayloadData()
- UInterchangeGLTFTranslator::GetTexturePayloadData()
- UInterchangeOBJTranslator::GetTexturePayloadData()
- UInterchangeDatasmithTranslator::GetTexturePayloadData()
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Texture/InterchangeTexturePayloadInterface.h |
| Include | #include "Texture/InterchangeTexturePayloadInterface.h" |
virtual TOptional< UE::Interchange::FImportImage > GetTexturePayloadData
&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 | The key to retrieve the a particular payload contain into the specified source data. |
| AlternateTexturePath | When applicable, set to the path of the file actually loaded to create the FImportImage. |