engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
TBlendableTokenStack< DataType > 模板结构体 参考

Implementation of a blendable token stack for any given data type 更多...

#include <BlendableTokenStack.h>

+ 类 TBlendableTokenStack< DataType > 继承关系图:

Public 成员函数

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 更多...
 
virtual void ComputeAndActuate (UObject *InObject, FMovieSceneBlendingAccumulator &Accumulator, FMovieSceneBlendingActuatorID InActuatorType, const FMovieSceneContext &Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) override final
 Implemented by typed stacks to compute the final blended value for its data, and apply that result to the specified object 更多...
 
virtual void Interrogate (UObject *AnimatedObject, FMovieSceneInterrogationData &InterrogationData, FMovieSceneBlendingAccumulator &Accumulator, FMovieSceneBlendingActuatorID ActuatorTypeID, const FMovieSceneContext &Context) override final
 Implemented by typed stacks to interrogate the final blended value for its data. 更多...
 
template<typename... T>
void SavePreAnimatedState (IMovieScenePlayer &Player, T &&... Args) const
 Helper function for saving pre-animated state for all entites that want RestoreState and relate to the current token stack. 更多...
 
template<typename... T>
void SavePreAnimatedStateForAllEntities (IMovieScenePlayer &Player, T &&... Args) const
 Helper function for saving pre-animated state for all entites that contributed to this stack, regardless of whether they want restore state or not 更多...
 
- Public 成员函数 继承自 IBlendableTokenStack
virtual void ComputeAndActuate (UObject *InObject, FMovieSceneBlendingAccumulator &Accumulator, FMovieSceneBlendingActuatorID ActuatorTypeID, const FMovieSceneContext &Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player)=0
 Implemented by typed stacks to compute the final blended value for its data, and apply that result to the specified object 更多...
 
virtual void Interrogate (UObject *AnimatedObject, FMovieSceneInterrogationData &InterrogationData, FMovieSceneBlendingAccumulator &Accumulator, FMovieSceneBlendingActuatorID ActuatorTypeID, const FMovieSceneContext &Context)=0
 Implemented by typed stacks to interrogate the final blended value for its data. 更多...
 
virtual ~IBlendableTokenStack ()
 Virtual destructor
 

Public 属性

int32 CurrentBias
 The highest encountered hierarchical bias
 
TArray< const TBlendableToken< DataType > * > Tokens
 This stack's typed blendable tokens
 
- Public 属性 继承自 IBlendableTokenStack
FMovieSceneAnimTypeID DataTypeID
 The type of data that this stack contains
 

额外继承的成员函数

- Protected 成员函数 继承自 IBlendableTokenStack
 IBlendableTokenStack (FMovieSceneAnimTypeID InDataTypeID)
 Constructor
 

详细描述

template<typename DataType>
struct TBlendableTokenStack< DataType >

Implementation of a blendable token stack for any given data type

成员函数说明

◆ AddToken()

template<typename DataType >
void TBlendableTokenStack< DataType >::AddToken ( const TBlendableToken< DataType > *  TokenToAdd)
inline

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

参数
TokenToAddThe token to add

◆ ComputeAndActuate()

template<typename DataType >
virtual void TBlendableTokenStack< DataType >::ComputeAndActuate ( UObject *  InObject,
FMovieSceneBlendingAccumulator &  Accumulator,
FMovieSceneBlendingActuatorID  InActuatorType,
const FMovieSceneContext &  Context,
FPersistentEvaluationData &  PersistentData,
IMovieScenePlayer &  Player 
)
finaloverridevirtual

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

参数
InObjectThe object to apply the result to. Nullptr for master track data.
AccumulatorThe accumulator that was used to gather and consolidate the blendable tokens
ActuatorTypeIDA unique identifier to the actuator that should be used to apply the result to the object
ContextRoot-level movie scene evaluation context for the current frame
PersistentDataPersistent data store for the evaluation
PlayerThe player that is responsible for playing back the sequence

实现了 IBlendableTokenStack.

◆ Interrogate()

template<typename DataType >
virtual void TBlendableTokenStack< DataType >::Interrogate ( UObject *  AnimatedObject,
FMovieSceneInterrogationData &  InterrogationData,
FMovieSceneBlendingAccumulator &  Accumulator,
FMovieSceneBlendingActuatorID  ActuatorTypeID,
const FMovieSceneContext &  Context 
)
finaloverridevirtual

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

参数
AnimatedObjectThe object that the value should be interrogated for
InterrogationDataThe interrogation data to populate
AccumulatorThe accumulator that was used to gather and consolidate the blendable tokens
ActuatorTypeIDA unique identifier to the actuator that should be used to apply the result to the object
ContextRoot-level movie scene evaluation context for the current frame

实现了 IBlendableTokenStack.

◆ SavePreAnimatedState()

template<typename DataType >
template<typename... T>
void TBlendableTokenStack< DataType >::SavePreAnimatedState ( IMovieScenePlayer &  Player,
T &&...  Args 
) const
inline

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

参数
PlayerThe movie scene player that's playing back the sequence
ArgsVariable arguments that are forwarded to IMovieScenePlayer::SavePreAnimatedState

◆ SavePreAnimatedStateForAllEntities()

template<typename DataType >
template<typename... T>
void TBlendableTokenStack< DataType >::SavePreAnimatedStateForAllEntities ( IMovieScenePlayer &  Player,
T &&...  Args 
) const
inline

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

参数
PlayerThe movie scene player that's playing back the sequence
ArgsVariable arguments that are forwarded to IMovieScenePlayer::SavePreAnimatedState

该结构体的文档由以下文件生成: