Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Evaluation
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/PersistentEvaluationData.h |
Include | #include "Evaluation/PersistentEvaluationData.h" |
Syntax
struct FPersistentEvaluationData
Remarks
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.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FPersistentEvaluationData
(
IMovieScenePlayer& InPlayer |
Proxy constructor from 2 externally owned maps for entity, and shared data | |
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
T & | Add
(
const FSharedPersistentDataKey& InKey |
|
![]() |
T & | ||
![]() |
T & | AddTrackData () |
|
![]() ![]() |
const FMovieSceneEvaluationKey & | DeriveSectionKey
(
uint32 InSectionIdentifier |
Set the current section based off the current track with the specified section identifier |
![]() ![]() |
const T * | Find
(
const FSharedPersistentDataKey& InKey |
|
![]() |
T * | Find
(
const FSharedPersistentDataKey& InKey |
|
![]() ![]() |
const T * | Find the current sequence's instance data as the templated type, provided its type matches | |
![]() ![]() |
T * | ||
![]() ![]() |
T * | ||
![]() |
T * | ||
![]() ![]() |
const T & | Get
(
const FSharedPersistentDataKey& InKey |
|
![]() |
T & | Get
(
const FSharedPersistentDataKey& InKey |
|
![]() ![]() |
const FMovieSceneSequenceInstanceData * | Get the raw instance data for the current sequence | |
![]() |
T & | GetOrAdd
(
const FSharedPersistentDataKey& InKey |
User accessor functions for shared data keys |
![]() |
T & | User accessor functions for persistent data relating to the current section | |
![]() |
T & | User accessor functions for persistent data relating to the current track | |
![]() ![]() |
T & | ~ 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 & | Get the currently set section key (ie the section we're currently evaluating) | |
![]() ![]() |
T & | GetTrackData () |
~ 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) |
![]() |
T & | GetTrackData () |
|
![]() ![]() |
const FMovieSceneEvaluationKey & | GetTrackKey () |
Get the currently set track key (ie the track we're currently evaluating) |
![]() |
void | Reset
(
const FSharedPersistentDataKey& InKey |
|
![]() |
void | ||
![]() |
void | ||
![]() ![]() |
void | SetSectionKey
(
const FMovieSceneEvaluationKey& Key |
Set the current section |
![]() ![]() |
void | SetTrackKey
(
const FMovieSceneEvaluationKey& Key |
Set the current track |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FPersistentEvaluationData & | operator=
(
const FPersistentEvaluationData& |