Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/MovieSceneToolHelpers > API/Editor/MovieSceneTools/MovieSceneToolHelpers/MergeSections
References
| Module | MovieSceneTools |
| Header | /Engine/Source/Editor/MovieSceneTools/Public/MovieSceneToolHelpers.h |
| Include | #include "MovieSceneToolHelpers.h" |
template<typename ChannelType>
static bool MergeSections
(
UMovieSceneSection * BaseSection,
TArray < UMovieSceneSection * > & AbsoluteSections,
TArray < UMovieSceneSection * > & AdditiveSections,
int32 StartIndex,
int32 EndIndex,
const TRange < FFrameNumber > & Range
)
Remarks
Merge the following set of sections. Should be used when blending just Absolute with additive sections. If Merging with overrides, use the above MergeSections function Returns true if successful
Parameters
| Name | Description |
|---|---|
| BaseSection | The section to merge onto |
| AbsoluteSections | Set of absolute functions to merge |
| AddditveSections | Set of Additive functions to merge |
| StartIndex | Start Index of the channels we are merging |
| EndIndex | End Index of the channels we are merging, should be no greater than the number of channels -1 |
| Range | Range of time over which we will merge Control Rig sections and don't want to merge the last weight float channel |