Navigation
API > API/Plugins > API/Plugins/InterchangeImport
A translator for most of the image wrapper supported formats
| Name | UInterchangeImageWrapperTranslator |
| Type | class |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Texture/InterchangeImageWrapperTranslator.h |
| Include Path | #include "Texture/InterchangeImageWrapperTranslator.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UInterchangeImageWrapperTranslator :
public UInterchangeTranslatorBase ,
public IInterchangeTexturePayloadInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInterchangeTranslatorBase → UInterchangeImageWrapperTranslator
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UInterchangeImageWrapperTranslator() |
Texture/InterchangeImageWrapperTranslator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PNGInfill | ETextureImportPNGInfill | Texture/InterchangeImageWrapperTranslator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptional< UE::Interchange::FImportImage > GetTexturePayloadDataFromBuffer
(
const TArray64< uint8 >& SourceDataBuffer |
Texture/InterchangeImageWrapperTranslator.h |
Overridden from UInterchangeTranslatorBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EInterchangeTranslatorAssetType GetSupportedAssetTypes() |
Texture/InterchangeImageWrapperTranslator.h | ||
| Texture/InterchangeImageWrapperTranslator.h | |||
virtual bool Translate
(
UInterchangeBaseNodeContainer& BaseNodeContainer |
Translate the associated source data into a node hold by the specified nodes container. | Texture/InterchangeImageWrapperTranslator.h |
Overridden from IInterchangeTexturePayloadInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< UE::Interchange::FImportImage > GetTexturePayloadData
(
const FString& PayloadKey, |
Once the translation is done, the import process need a way to retrieve payload data. | Texture/InterchangeImageWrapperTranslator.h |