engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FPersistentEvaluationData结构体 参考

Structure that stores persistent data that track templates may need during evaluation. 更多...

#include <PersistentEvaluationData.h>

Public 成员函数

const FMovieSceneEvaluationKey & DeriveSectionKey (uint32 InSectionIdentifier) const
 Set the current section based off the current track with the specified section identifier
 
template<typename T >
const T * FindInstanceData () const
 Find the current sequence's instance data as the templated type, provided its type matches
 
MOVIESCENE_API FPersistentEvaluationData (IMovieScenePlayer &InPlayer)
 Proxy constructor from 2 externally owned maps for entity, and shared data
 
MOVIESCENE_API const FMovieSceneSequenceInstanceData * GetInstanceData () const
 Get the raw instance data for the current sequence
 
template<typename T >
T & GetOrAdd (const FSharedPersistentDataKey &InKey)
 User accessor functions for shared data keys
 
template<typename T >
T & GetOrAddSectionData ()
 User accessor functions for persistent data relating to the current section
 
template<typename T >
T & GetOrAddTrackData ()
 User accessor functions for persistent data relating to the current track
 
template<typename T >
T & GetSectionData () const
 ~ Section data access is considered const as it can only ever be accessed from a single template (it can do whatever it likes with its own data)
 
const FMovieSceneEvaluationKey & GetSectionKey () const
 Get the currently set section key (ie the section we're currently evaluating)
 
template<typename T >
T & GetTrackData () const
 ~ Section data access is considered const as it can only ever be accessed from a single template (it can do whatever it likes with its own data)
 
const FMovieSceneEvaluationKey & GetTrackKey () const
 Get the currently set track key (ie the track we're currently evaluating)
 
void SetSectionKey (const FMovieSceneEvaluationKey &Key) const
 Set the current section
 
void SetTrackKey (const FMovieSceneEvaluationKey &Key) const
 Set the current track
 

详细描述

Structure that stores persistent data that track templates may need during evaluation.

Such data can be thought of as a cache which exists as long as the track is being evaluated. The cache can store any abstract data provided it implements IPersistentEvaluationData. Data is stored in buckets that is keyed on either the track (ie, accessible from all child templates/sections), or section (only accessible within the section) Type-safety (through the templated methods) is the responsibility of the user. There should only ever be 1 type of data for each section/track association.


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