Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Evaluation
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneTimeArray.h |
Include | #include "Evaluation/MovieSceneTimeArray.h" |
Syntax
template<typename DataType>
struct TMovieSceneTimeArray
Remarks
A utility class that lets you store a collection of timestamped data originating from various time bases.
All of the data is stored in "root" time space. That is: as you add timestamped data, these timestamps are converted back to "root times" using the inverse of the current time transform. Pushing and popping time transforms, and incrementing loop counts, makes it possible to change what's considered "local time", which affects this inverse transformation.
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Add
(
FFrameNumber LocalTime, |
Adds a new piece of data, timestamped to the given local time |
![]() |
void | Clear () |
Clears all entries |
![]() ![]() |
TArrayView< const TMovieSceneTimeArrayEntry< DataType > > | GetEntries () |
Gets the current list of entries in the array |
![]() |
void | Incremenets the warp counter for the local time space, i.e. all local times will be considered as being in a further loop | |
![]() |
void | PopTransform () |
Removes the last pushed local time transform |
![]() |
void | PushTransform
(
const FMovieSceneTimeTransform& InTransform |
Starts a scope where local times are transformed as specified |
![]() |
void | PushTransform
(
const FMovieSceneTimeWarping& InWarping |
Starts a scope where local times are transformed as specified |
![]() |
void | PushTransform
(
FFrameNumber FrameOffset, |
Starts a scope where local times are offset and scaled as specified |
![]() |
void | PushTransform
(
const FMovieSceneTimeTransform& InTransform, |
Starts a scope where local times are transformed as specified |
![]() |
void | PushTransform
(
FFrameNumber FirstLoopStartFrameOffset, |
Starts a scope where local times are looped and offset as specified |
Typedefs
Name | Description |
---|---|
FEntry |