Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/UInterchangeOBJTranslator
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::GetTexturePayloadData → UInterchangeOBJTranslator::GetTexturePayloadData
| Name | GetTexturePayloadData |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Mesh/InterchangeOBJTranslator.h |
| Include Path | #include "Mesh/InterchangeOBJTranslator.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/Mesh/InterchangeOBJTranslator.cpp |
virtual TOptional < UE::Interchange::FImportImage > GetTexturePayloadData
(
const FString & PayloadKey,
TOptional < FString > & AlternateTexturePath
) const
a PayloadData containing the imported data. The TOptional will not be set if there is an error.
Parameters
| Name | Remarks |
|---|---|
| InSourceData | The source data containing the data to translate |
| PayloadKey | The key to retrieve the a particular payload contain into the specified source data. |