Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/SkeletalMeshEdit.cpp |
static UAnimSequence * ImportFbxAnimation
(
USkeleton * Skeleton,
UObject * Outer,
class UFbxAnimSequenceImportData * ImportData,
const TCHAR * InFilename,
const TCHAR * AnimName,
bool bImportMorphTracks
)
Open a Fbx file with the given name, and import each sequence with the supplied Skeleton. This is only possible if each track expected in the Skeleton is found in the target file. If not the case, a warning is given and import is aborted. If Skeleton is empty (ie. TrackBoneNames is empty) then we use this Fbx file to form the track names array.
Parameter |
Description |
---|---|
Skeleton |
The skeleton that animation is import into |
Filename |
The FBX filename |
bImportMorphTracks |
true to import any morph curve data. |