Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/MovieSceneToolHelpers
Description
Merge the set of passed in channels from each section at the specified section channel index. For the algorithm to be relaible it should be done per section blending type.
| Name | MergeChannels |
| Type | function |
| Header File | /Engine/Source/Editor/MovieSceneTools/Public/MovieSceneToolHelpers.h |
| Include Path | #include "MovieSceneToolHelpers.h" |
template<typename ChannelType>
static bool MergeChannels
(
int32 SectionChannelIndex,
TArray < ChannelType * > & Channels,
const TArray < UMovieSceneSection * > & Sections,
const TRange < FFrameNumber > & Range,
FChannelMergeAlgorithm MergeAlgorithm,
const TArray < UMovieSceneSection * > & TrackSections,
const int32 * Increment
)
Returns true if successful
Parameters
| Name | Remarks |
|---|---|
| SectionChannelIndex | The index of the channel of this type in the sections. |
| Channels | Set of channels of this type that we will merge together onto the first specified one. |
| Sections | Set of corresponding sections for each channel specified. |
| Range | Range of time over which we will merge |
| MergeAlgorithm | The algorithm to use to blend the channels together |
| 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 |