Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/Gltf
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeTranslatorBase
- UInterchangeGLTFTranslator
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Gltf/InterchangeGltfTranslator.h |
| Include | #include "Gltf/InterchangeGltfTranslator.h" |
Syntax
UCLASS (BlueprintType)
class UInterchangeGLTFTranslator :
public UInterchangeTranslatorBase ,
public IInterchangeMeshPayloadInterface ,
public IInterchangeTexturePayloadInterface ,
public IInterchangeAnimationPayloadInterface ,
public IInterchangeVariantSetPayloadInterface
Remarks
GlTF translator class support import of texture, material, static mesh, skeletal mesh,
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FAnimationPayloadData > | GetAnimationPayloadData
(
const UE::Interchange::FAnimationPayloadQuery& PayloadQuery |
IInterchangeAnimationPayloadInterface Begin | |
| bool | GetVariantSetPayloadData
(
UE::Interchange::FVariantSetPayloadData& PayloadData |
||
| UInterchangeMeshNode * | HandleGltfMesh
(
UInterchangeBaseNodeContainer& NodeContainer, |
||
| void | HandleGltfNode
(
UInterchangeBaseNodeContainer& NodeContainer, |
||
| void | HandleGltfSkeletons
(
UInterchangeBaseNodeContainer& NodeContainer, |
||
| void | HandleGltfVariants
(
UInterchangeBaseNodeContainer& NodeContainer, |
Overridden from UInterchangeTranslatorBase
| Type | Name | Description | |
|---|---|---|---|
| EInterchangeTranslatorAssetType | |||
| TArray< FString > | List of formats supported by the translator. | ||
| EInterchangeTranslatorType | Begin UInterchangeTranslatorBase API | ||
| bool | Translate
(
UInterchangeBaseNodeContainer& BaseNodeContainer |
Translate the associated source data into node(s) that are hold in the specified nodes container. |
Overridden from IInterchangeMeshPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FMeshPayloadData > | GetMeshPayloadData
(
const FInterchangeMeshPayLoadKey& PayLoadKey, |
End UInterchangeTranslatorBase API |
Overridden from IInterchangeTexturePayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TOptional< UE::Interchange::FImportImage > | GetTexturePayloadData
(
const FString& PayloadKey, |
Once the translation is done, the import process need a way to retrieve payload data. |
Overridden from IInterchangeAnimationPayloadInterface
| Type | Name | Description | |
|---|---|---|---|
| TArray< UE::Interchange::FAnimationPayloadData > | GetAnimationPayloadData
(
const TArray< UE::Interchange::FAnimationPayloadQuery >& PayloadQuery |
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 |
Typedefs
| Name | Description |
|---|---|
| FNodeUidMap |