Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/Evaluation
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
| Type | Name | Description | |
|---|---|---|---|
| FFrameTime | Offset | Scalar frame offset applied after the scale | |
| float | TimeScale | The sequence's time scale (or play rate) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default construction to the identity transform | |||
FMovieSceneTimeTransform
(
FFrameTime InOffset, |
Construction from an offset, and a scale |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMovieSceneTimeTransform | Inverse () |
Retrieve the inverse of this transform | |
| bool | IsIdentity () |
Returns whether this transform is an identity transform. |