Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/MovieSceneToolHelpers
References
| Module | MovieSceneTools |
| Header | /Engine/Source/Editor/MovieSceneTools/Public/MovieSceneToolHelpers.h |
| Include | #include "MovieSceneToolHelpers.h" |
template<typename ChannelType>
static bool MergeChannels
(
int32 SectionChannelIndex,
TArray < ChannelType * > & Channels,
const TArray < UMovieSceneSection * > & Sections,
const TRange < FFrameNumber > & Range,
FChannelMergeAlgorithm MergeAlgorithm
)
Remarks
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. Returns true if successful
Parameters
| Name | Description |
|---|---|
| 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 |