Navigation
API > API/Plugins > API/Plugins/InterchangeImport
GlTF translator class support import of texture, material, static mesh, skeletal mesh,
| Name | UInterchangeGLTFTranslator |
| Type | class |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Gltf/InterchangeGltfTranslator.h |
| Include Path | #include "Gltf/InterchangeGltfTranslator.h" |
Syntax
UCLASS (BlueprintType)
class UInterchangeGLTFTranslator :
public UInterchangeTranslatorBase ,
public IInterchangeMeshPayloadInterface ,
public IInterchangeTexturePayloadInterface ,
public IInterchangeAnimationPayloadInterface ,
public IInterchangeVariantSetPayloadInterface ,
public IInterchangeTextureLightProfilePayloadInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInterchangeTranslatorBase → UInterchangeGLTFTranslator
Implements Interfaces
- IInterchangeAnimationPayloadInterface
- IInterchangeMeshPayloadInterface
- IInterchangeTextureLightProfilePayloadInterface
- IInterchangeTexturePayloadInterface
- IInterchangeVariantSetPayloadInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UInterchangeGLTFTranslator() |
Gltf/InterchangeGltfTranslator.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FNodeUidMap | TMap< const GLTF::FNode *, FString > | Gltf/InterchangeGltfTranslator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRenderSettingsClearCoatEnableSecondNormal | bool | Gltf/InterchangeGltfTranslator.h | ||
| GltfAsset | GLTF::FAsset | Gltf/InterchangeGltfTranslator.h | ||
| NodeUidMap | FNodeUidMap | Gltf/InterchangeGltfTranslator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptional< UE::Interchange::FAnimationPayloadData > GetAnimationPayloadData
(
const UE::Interchange::FAnimationPayloadQuery& PayloadQuery |
IInterchangeAnimationPayloadInterface Begin | Gltf/InterchangeGltfTranslator.h |
Overridden from UInterchangeTranslatorBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EInterchangeTranslatorAssetType GetSupportedAssetTypes() |
Gltf/InterchangeGltfTranslator.h | ||
| Gltf/InterchangeGltfTranslator.h | |||
virtual EInterchangeTranslatorType GetTranslatorType() |
Begin UInterchangeTranslatorBase API | Gltf/InterchangeGltfTranslator.h | |
virtual bool Translate
(
UInterchangeBaseNodeContainer& BaseNodeContainer |
Gltf/InterchangeGltfTranslator.h |
Overridden from IInterchangeMeshPayloadInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< UE::Interchange::FMeshPayloadData > GetMeshPayloadData
(
const FInterchangeMeshPayLoadKey& PayLoadKey, |
Once the translation is done, the import process need a way to retrieve payload data. | Gltf/InterchangeGltfTranslator.h | |
virtual TOptional< UE::Interchange::FMeshPayloadData > GetMeshPayloadData
(
const FInterchangeMeshPayLoadKey& PayLoadKey, |
End UInterchangeTranslatorBase API IInterchangeStaticMeshPayloadInterface Begin | Gltf/InterchangeGltfTranslator.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. | Gltf/InterchangeGltfTranslator.h |
Overridden from IInterchangeAnimationPayloadInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< UE::Interchange::FAnimationPayloadData > GetAnimationPayloadData
(
const TArray< UE::Interchange::FAnimationPayloadQuery >& PayloadQuery |
Get animation payload data for the specified payload key. | Gltf/InterchangeGltfTranslator.h |
Overridden from IInterchangeVariantSetPayloadInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< UE::Interchange::FVariantSetPayloadData > GetVariantSetPayloadData
(
const FString& PayloadKey |
IInterchangeVariantSetPayloadInterface Begin | Gltf/InterchangeGltfTranslator.h |
Overridden from IInterchangeTextureLightProfilePayloadInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< UE::Interchange::FImportLightProfile > GetLightProfilePayloadData
(
const FString& PayloadKey, |
IInterchangeTextureLightProfilePayloadInterface Begin | Gltf/InterchangeGltfTranslator.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetVariantSetPayloadData
(
UE::Interchange::FVariantSetPayloadData& PayloadData |
Gltf/InterchangeGltfTranslator.h | ||
UInterchangeMeshNode * HandleGltfMesh
(
UInterchangeBaseNodeContainer& NodeContainer, |
Gltf/InterchangeGltfTranslator.h | ||
void HandleGltfNode
(
UInterchangeBaseNodeContainer& NodeContainer, |
Gltf/InterchangeGltfTranslator.h | ||
void HandleGltfSkeletons
(
UInterchangeBaseNodeContainer& NodeContainer, |
Gltf/InterchangeGltfTranslator.h | ||
void HandleGltfVariants
(
UInterchangeBaseNodeContainer& NodeContainer, |
Gltf/InterchangeGltfTranslator.h |