Navigation
API > API/Plugins > API/Plugins/DatasmithInterchange
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeTranslatorBase
- UInterchangeDatasmithTranslator
References
| Module | DatasmithInterchange |
| Header | /Engine/Plugins/Experimental/Enterprise/DatasmithInterchange/Source/DatasmithInterchange/Public/InterchangeDatasmithTranslator.h |
| Include | #include "InterchangeDatasmithTranslator.h" |
Syntax
UCLASS&40;BlueprintType, Experimental&41;
class UInterchangeDatasmithTranslator :
public UInterchangeTranslatorBase,
public IInterchangeTexturePayloadInterface,
public IInterchangeMeshPayloadInterface,
public IInterchangeAnimationPayloadInterface,
public IInterchangeVariantSetPayloadInterface
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | BuildConfigFilePath
(
const FString& FilePath |
Returns a unique file path to |
Overridden from UInterchangeTranslatorBase
| Type | Name | Description | |
|---|---|---|---|
| bool | CanImportSourceData
(
const UInterchangeSourceData* InSourceData |
Return true if the translator can translate the given source data. | |
| EInterchangeTranslatorAssetType | |||
| TArray< FString > | List of formats supported by the translator. | ||
| void | ImportFinish () |
This function is call when the import is done (FImportAsyncHelper::CleanUp) and we are cleaning the data. | |
| void | Release source is called when we do not need anymore the translator source and also early in the cancel process. | ||
| bool | Translate
(
UInterchangeBaseNodeContainer& BaseNodeContainer |
Translate the associated source data into node(s) that are hold in the specified nodes container. |
Overridden from IInterchangeTexturePayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FImportImage > | GetTexturePayloadData
(
const FString& PayloadKey, |
IInterchangeTexturePayloadInterface Begin |
Overridden from IInterchangeMeshPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TFuture< TOptional< UE::Interchange::FMeshPayloadData > > | GetMeshPayloadData
(
const FInterchangeMeshPayLoadKey& PayLoadKey, |
IInterchangeStaticMeshPayloadInterface Begin |
Overridden from IInterchangeAnimationPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TFuture< TOptional< UE::Interchange::FAnimationPayloadData > > | GetAnimationPayloadData
(
const FInterchangeAnimationPayLoadKey& PayLoadKey, |
IInterchangeAnimationPayloadInterface Begin |
Overridden from IInterchangeVariantSetPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TFuture< TOptional< UE::Interchange::FVariantSetPayloadData > > | GetVariantSetPayloadData
(
const FString& PayloadKey |
IInterchangeVariantSetPayloadInterface Begin |