Files
UnrealEngine/Engine/Source/Editor/MovieSceneTools/Public/LevelSequenceFBXInterop.h
2025-05-18 13:04:45 +08:00

30 lines
616 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ISequencer.h"
class MOVIESCENETOOLS_API FLevelSequenceFBXInterop
{
public:
FLevelSequenceFBXInterop(TSharedRef<ISequencer> InSequencer);
/** Imports the animation from an fbx file. */
void ImportFBX();
void ImportFBXOntoSelectedNodes();
/** Exports the animation to an fbx file. */
void ExportFBX();
private:
/** Exports sequence to a FBX file */
void ExportFBXInternal(const FString& ExportFilename, const TArray<FGuid>& Bindings, const TArray<UMovieSceneTrack*>& Tracks);
private:
TWeakPtr<ISequencer> WeakSequencer;
};