Navigation
API > API/Runtime > API/Runtime/MovieScene
Implementation of a blendable token stack for any given data type
| Name | TBlendableTokenStack |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/Blending/BlendableTokenStack.h |
| Include Path | #include "Evaluation/Blending/BlendableTokenStack.h" |
Syntax
template<typename DataType>
struct TBlendableTokenStack : public IBlendableTokenStack
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TBlendableTokenStack() |
Evaluation/Blending/BlendableTokenStack.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentBias | int32 | The highest encountered hierarchical bias | Evaluation/Blending/BlendableTokenStack.h | |
| Tokens | TArray< const TBlendableToken< DataType > * > | This stack's typed blendable tokens | Evaluation/Blending/BlendableTokenStack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddToken
(
const TBlendableToken< DataType >* TokenToAdd |
Conditionally add a token to this stack if it has a >= hierarchical bias, removing anything of a lower bias | Evaluation/Blending/BlendableTokenStack.h | |
void SavePreAnimatedState
(
IMovieScenePlayer& Player, |
Helper function for saving pre-animated state for all entites that want RestoreState and relate to the current token stack. | Evaluation/Blending/BlendableTokenStack.h | |
void SavePreAnimatedStateForAllEntities
(
IMovieScenePlayer& Player, |
Helper function for saving pre-animated state for all entites that contributed to this stack, regardless of whether they want restore state or not | Evaluation/Blending/BlendableTokenStack.h |
Overridden from IBlendableTokenStack
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ComputeAndActuate
(
UObject* InObject, |
Implemented by typed stacks to compute the final blended value for its data, and apply that result to the specified object | Evaluation/Blending/BlendableTokenStack.h | |
virtual void Interrogate
(
UObject* AnimatedObject, |
Implemented by typed stacks to interrogate the final blended value for its data. | Evaluation/Blending/BlendableTokenStack.h |