TBlendableTokenStack

Implementation of a blendable token stack for any given data type

Windows
MacOS
Linux

Inheritance Hierarchy

IBlendableTokenStack

TBlendableTokenStack

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Evaluation/Blending/BlendableTokenStack.h

Include

#include "Evaluation/Blending/BlendableTokenStack.h"

Syntax

template<typename DataType>
struct TBlendableTokenStack : public IBlendableTokenStack

Remarks

Implementation of a blendable token stack for any given data type

Variables

Name Description

Public variable

int32

 

CurrentBias

The highest encountered hierarchical bias

Public variable

TArray< const T...

 

Tokens

This stack's typed blendable tokens

Constructors

Name Description

Public function

TBlendableTokenStack()

Functions

Name Description

Public function

void

 

AddToken

(
    const TBlendableToken< DataType >&...
)

Conditionally add a token to this stack if it has a >= hierarchical bias, removing anything of a lower bias

Public function Const

void

 

SavePreAnimatedState

(
    IMovieScenePlayer& Player,
    T&&... Args
)

Helper function for saving pre-animated state for all entites that want RestoreState and relate to the current token stack.

Public function Const

void

 

SavePreAnimatedStateForAllEntities

(
    IMovieScenePlayer& Player,
    T&&... Args
)

Helper function for saving pre-animated state for all entites that contributed to this stack, regardless of whether they want restore state or not

Overridden from IBlendableTokenStack

Name Description

Public function Virtual

void

 

ComputeAndActuate

(
    UObject* InObject,
    FMovieSceneBlendingAccumulator& Ac...,
    FMovieSceneBlendingActuatorID InAct...,
    const FMovieSceneContext& Context,
    FPersistentEvaluationData& Persist...,
    IMovieScenePlayer& Player
)

Implemented by typed stacks to compute the final blended value for its data, and apply that result to the specified object

Public function Virtual

void

 

Interrogate

(
    UObject* AnimatedObject,
    FMovieSceneInterrogationData& Inte...,
    FMovieSceneBlendingAccumulator& Ac...,
    FMovieSceneBlendingActuatorID Actua...,
    const FMovieSceneContext& Context
)

Implemented by typed stacks to interrogate the final blended value for its data.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss