Navigation
API > API/Runtime > API/Runtime/MovieScene
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.
| Name | FMovieSceneTimeTransform |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneTimeTransform.h |
| Include Path | #include "Evaluation/MovieSceneTimeTransform.h" |
Syntax
USTRUCT ()
struct FMovieSceneTimeTransform
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default construction to the identity transform | Evaluation/MovieSceneTimeTransform.h | ||
FMovieSceneTimeTransform
(
FFrameTime InOffset, |
Construction from an offset, and a scale | Evaluation/MovieSceneTimeTransform.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Offset | FFrameTime | Scalar frame offset applied after the scale | Evaluation/MovieSceneTimeTransform.h | |
| TimeScale | float | The sequence's time scale (or play rate) | Evaluation/MovieSceneTimeTransform.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMovieSceneTimeTransform Inverse() |
Retrieve the inverse of this transform | Evaluation/MovieSceneTimeTransform.h | |
bool IsIdentity() |
Returns whether this transform is an identity transform. | Evaluation/MovieSceneTimeTransform.h |