FMovieSceneTimeTransform

Movie scene sequence transform class that transforms from one time-space to another.

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "Evaluation/MovieSceneTimeTransform.h"

Syntax

struct FMovieSceneTimeTransform

Remarks

Movie scene sequence transform class that transforms from one time-space to another.

The transform can be thought of as the top row of a 2x2 matrix, where the bottom row is the identity: | TimeScale Offset | | 0 1 | As such, traditional matrix mathematics can be applied to transform between different sequence's time-spaces.

Transforms apply time scale first, and then offset.

Variables

Name Description

Public variable

FFrameTime

 

Offset

Scalar frame offset applied after the scale

Public variable

float

 

TimeScale

The sequence's time scale (or play rate)

Constructors

Name Description

Public function

FMovieSceneTimeTransform()

Default construction to the identity transform

Public function

FMovieSceneTimeTransform

(
    FFrameTime InOffset,
    float InTimeScale
)

Construction from an offset, and a scale

Functions

Name Description

Public function Const

FMovieSceneT...

 

Inverse()

Retrieve the inverse of this transform

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