Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/UInterchangeMeshUtilities
Description
This function import a morph target from the source data and add/replace the skeletal mesh morph target.
@Param SkeletalMesh - The target skeletal mesh we want to add the morph targets @Param LodIndex - The index of the LOD we want to replace or add the morph targets @Param SourceData - The source to import the morph targets @Param bAsync - If true the future will not be set when the function return and the import will be asynchronous. @Param MorphTargetName - If not empty we will use this name to create the morph target, if there is already an existing morph target it will be re-import @Return - return future boolean which will be true if it successfully add or replace the skeletal mesh morph target at LodIndex with the imported data.
| Name | ImportMorphTarget |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeMeshUtilities.h |
| Include Path | #include "InterchangeMeshUtilities.h" |
| Source | /Engine/Source/Runtime/Interchange/Engine/Private/InterchangeMeshUtilities.cpp |
static TFuture < bool > ImportMorphTarget
(
USkeletalMesh * SkeletalMesh,
const int32 LodIndex,
const UInterchangeSourceData * SourceData,
bool bAsync,
const FString & MorphTargetName
)