UMoviePipelineBlueprintLibrary::DuplicateSequence

Duplicates the specified sequence using a medium depth copy.

Windows
MacOS
Linux

References

Module

MovieRenderPipelineCore

Header

/Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/MoviePipelineBlueprintLibrary.h

Include

#include "MoviePipelineBlueprintLibrary.h"

Source

/Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Private/MoviePipelineBlueprintLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Movie Render Pipeline")
static UMovieSceneSequence * DuplicateSequence
(
    UObject * Outer,
    UMovieSceneSequence * InSequence
)

Remarks

Duplicates the specified sequence using a medium depth copy. Standard duplication will only duplicate the top level Sequence (since shots and sub-sequences are other standalone assets) so this function recursively duplicates the given sequence, shot and subsequence and then fixes up the references to point to newly duplicated sequences.

Use at your own risk. Some features may not work when duplicated (complex object binding arrangements, blueprint GetSequenceBinding nodes, etc.) but can be useful when wanting to create a bunch of variations with minor differences (such as swapping out an actor, track, etc.)

This does not duplicate any assets that the sequence points to outside of Shots/Subsequences.

Returns

  • The duplicated sequence, or null if no sequence was provided to duplicate.

Parameters

Parameter

Description

Outer

The Outer of the newly duplicated object. Leave null for TransientPackage();

InSequence

The sequence to recursively duplicate.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss