Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/MovieSceneToolHelpers
Description
Merge the TopSection onto the BaseSection. This function should be used when merging a mix of Override/Additive and Absolute section Blend Types.
| Name | MergeTwoSections |
| Type | function |
| Header File | /Engine/Source/Editor/MovieSceneTools/Public/MovieSceneToolHelpers.h |
| Include Path | #include "MovieSceneToolHelpers.h" |
template<typename ChannelType>
static bool MergeTwoSections
(
const FBaseTopSections & BT,
const TRange < FFrameNumber > & Range,
const TArray < UMovieSceneSection * > & TrackSections,
const int32 * Increment
)
Returns true if successful
Parameters
| Name | Remarks |
|---|---|
| BaseAndTopSections | The sections we are merging with index information |
| Range | Range of time over which we will merge Control Rig sections and don't want to merge the last weight float channel |
| TrackSections | Sections in this track |
| Increment | Optional increment index, if specfied we bake over the range using the increment value, otherwise by default we just merge onto the existing keys |