FMovieScenePlaybackPosition

Helper class designed to abstract the complexity of calculating evaluation ranges for previous times and fixed time intervals

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieScenePlayback.h

Include

#include "Evaluation/MovieScenePlayback.h"

Syntax

struct FMovieScenePlaybackPosition

Remarks

Helper class designed to abstract the complexity of calculating evaluation ranges for previous times and fixed time intervals

Constructors

Functions

Name Description

Public function Const

FFrameTime

 

GetCurrentPosition()

Get the last position that was set, in InputRate space

Public function Const

FMovieSceneE...

 

GetCurrentPositionAsRange()

Get a range encompassing only the current time, if available (in OutputRate space)

Public function Const

EMovieSceneE...

 

GetEvaluationType()

Public function Const

FFrameRate

 

GetInputRate()

Public function Const

TOptional< F...

 

GetLastPlayEvalPostition()

Get the last actual time that was evaluated during playback, in InputRate space.

Public function Const

TOptional< F...

 

GetLastRange()

Get a range that encompasses the last evaluated range in OutputRate space.

Public function Const

FFrameRate

 

GetOutputRate()

Public function

FMovieSceneE...

 

JumpTo

(
    FFrameTime NewPosition
)

Jump to the specified input time.

Public function

FMovieSceneE...

 

PlayTo

(
    FFrameTime NewPosition
)

Play from the previously evaluated play time, to the specified time

Public function

void

 

Reset

(
    FFrameTime StartPos
)

Reset this position to the specified time.

Public function

void

 

SetTimeBase

(
    FFrameRate InInputRate,
    FFrameRate InOutputRate,
    EMovieSceneEvaluationType InputEval...
)

Assign the input and output rates that frame times should be interpreted as.

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