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 (BlueprintType, Experimental)
class UInterchangeDatasmithTranslator :
public UInterchangeTranslatorBase ,
public IInterchangeTexturePayloadInterface ,
public IInterchangeTextureLightProfilePayloadInterface ,
public IInterchangeMeshPayloadInterface ,
public IInterchangeAnimationPayloadInterface ,
public IInterchangeVariantSetPayloadInterface
Functions
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FAnimationPayloadData > | GetAnimationPayloadData
(
const UE::Interchange::FAnimationPayloadQuery& PayloadQuery |
IInterchangeAnimationPayloadInterface Begin |
Overridden from UInterchangeTranslatorBase
| Type | Name | Description | |
|---|---|---|---|
| bool | CanImportSourceData
(
const UInterchangeSourceData* InSourceData |
Begin UInterchangeTranslatorBase API | |
| UInterchangeTranslatorSettings * | GetSettings () |
Return this translator settings | |
| EInterchangeTranslatorAssetType | |||
| TArray< FString > | List of formats supported by the translator. | ||
| EInterchangeTranslatorType | Specifies the capabilities of a 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. | ||
| void | SetSettings
(
const UInterchangeTranslatorSettings* InterchangeTranslatorSettings |
Reimport will set the settings if they exist in UInterchangeAssetImportData | |
| 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, |
End UInterchangeTranslatorBase API IInterchangeTexturePayloadInterface Begin |
Overridden from IInterchangeTextureLightProfilePayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FImportLightProfile > | GetLightProfilePayloadData
(
const FString& PayloadKey, |
IInterchangeTextureLightProfilePayloadInterface Begin |
Overridden from IInterchangeMeshPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FMeshPayloadData > | GetMeshPayloadData
(
const FInterchangeMeshPayLoadKey& PayLoadKey, |
IInterchangeStaticMeshPayloadInterface Begin |
Overridden from IInterchangeAnimationPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TArray< UE::Interchange::FAnimationPayloadData > | GetAnimationPayloadData
(
const TArray< UE::Interchange::FAnimationPayloadQuery >& PayloadQueries |
Get animation payload data for the specified payload key. |
Overridden from IInterchangeVariantSetPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FVariantSetPayloadData > | GetVariantSetPayloadData
(
const FString& PayloadKey |
IInterchangeVariantSetPayloadInterface Begin |