Hi! Im rendering a movie with the renderque executor, is there a way to exit unreal after its done?
executor = subsystem.render_queue_with_executor(unreal.MoviePipelinePIEExecutor)
Hi! Im rendering a movie with the renderque executor, is there a way to exit unreal after its done?
executor = subsystem.render_queue_with_executor(unreal.MoviePipelinePIEExecutor)
In C++ you can add a delegate to the OnExecutorFinished/OnExecutorErrored:
UMoviePipelineQueueSubsystem * QueueSystem = GEditor->GetEditorSubsystem<UMoviePipelineQueueSubsystem>();
QueueSystem->GetActiveExecutor()->OnExecutorFinished().AddLambda([](UMoviePipelineExecutorBase*, bool)
{
FPlatformMisc::RequestExit(false);
});
Instead of getting the executor through QueueSubsystem you can add the delegate directly to the executor instance.
Hi there @Havard_stardust,
Hope you’re well ![]()
This topic has been moved from International to Programming & Scripting.
When posting, please review the categories to ensure your topic is posted in the most relevant space.