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

37 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
struct FFrameRate;
struct FFrameNumber;
class UMovieScene;
class MOVIESCENETOOLS_API MovieSceneTranslatorEDL
{
public:
/**
* Import EDL
*
* @param InMovieScene The movie scene to import the edl into
* @param InFrameRate The frame rate to import the EDL at
* @param InFilename The filename to import
* @return Whether the import was successful
*/
static bool ImportEDL(UMovieScene* InMovieScene, FFrameRate InFrameRate, FString InFilename);
/**
* Export EDL
*
* @param InMovieScene The movie scene with the cinematic shot track and audio tracks to export
* @param InFrameRate The frame rate to export the EDL at
* @param InSaveFilename The file path to save to.
* @param InHandleFrames The number of handle frames to include for each shot.
* @param MovieExtension The movie extension for the shot filenames (ie. .avi, .mov, .mp4)
* @return Whether the export was successful
*/
static bool ExportEDL(const UMovieScene* InMovieScene, FFrameRate InFrameRate, FString InSaveFilename, int32 InHandleFrames, FString InMovieExtension);
};