Navigation
API > API/Runtime > API/Runtime/MovieScene
Generic value type that supports a specific number of channels, optionally masked out. Used for blending types that can be represented as a contiguous set of numeric values. Relative, Weighted and Additive blending occurs on a per-channel basis
| Name | TMultiChannelValue |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/Blending/MovieSceneMultiChannelBlending.h |
| Include Path | #include "Evaluation/Blending/MovieSceneMultiChannelBlending.h" |
Syntax
template<typename T, uint8 N>
struct TMultiChannelValue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default Constructor | Evaluation/Blending/MovieSceneMultiChannelBlending.h | ||
TMultiChannelValue
(
std::initializer_list< OtherType > InitList |
Construction from a set of values. List size must match the number of channels. | Evaluation/Blending/MovieSceneMultiChannelBlending.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Channels | T | Channel data | Evaluation/Blending/MovieSceneMultiChannelBlending.h | |
| Mask | uint32 | Mask signifying which indices within Channels are valid | Evaluation/Blending/MovieSceneMultiChannelBlending.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T Get
(
uint8 Index, |
Access a value with a default | Evaluation/Blending/MovieSceneMultiChannelBlending.h | |
void Increment
(
uint8 Index, |
Increment the channel at the specified index by the specified amount | Evaluation/Blending/MovieSceneMultiChannelBlending.h | |
bool IsEmpty() |
Check if this value is empty | Evaluation/Blending/MovieSceneMultiChannelBlending.h | |
bool IsFull() |
Check if every channel in this value is valid | Evaluation/Blending/MovieSceneMultiChannelBlending.h | |
bool IsSet
(
uint8 Index |
Check whether the specified channel index is enabled | Evaluation/Blending/MovieSceneMultiChannelBlending.h | |
void Set
(
uint8 Index, |
Enable and apply a value to the specified channel | Evaluation/Blending/MovieSceneMultiChannelBlending.h | |
void WeightedBlend
(
uint8 Index, |
Do weighted blend with current value, this is an override | Evaluation/Blending/MovieSceneMultiChannelBlending.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T operator[]
(
uint8 Index |
Array indexing operator - returns a channel value | Evaluation/Blending/MovieSceneMultiChannelBlending.h |