Navigation
API > API/Runtime > API/Runtime/MovieScene
Transform time by warping it around from end to start. This is mostly useful for looping things.
| Name | FMovieSceneTimeWarping |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneTimeWarping.h |
| Include Path | #include "Evaluation/MovieSceneTimeWarping.h" |
Syntax
USTRUCT ()
struct FMovieSceneTimeWarping
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Evaluation/MovieSceneTimeWarping.h | |||
FMovieSceneTimeWarping
(
FFrameNumber InStart, |
Evaluation/MovieSceneTimeWarping.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidWarpCount | const uint32 | Evaluation/MovieSceneTimeWarping.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| End | FFrameNumber | Evaluation/MovieSceneTimeWarping.h | ||
| Start | FFrameNumber | Evaluation/MovieSceneTimeWarping.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TRange< FFrameTime > GetRange() |
Returns a range that encompasses the whole warping time span. | Evaluation/MovieSceneTimeWarping.h | |
FMovieSceneTimeTransform InverseFromWarp
(
uint32 WarpCount |
Returns a transformation that takes us from a local time into a given loop back to the root time. | Evaluation/MovieSceneTimeWarping.h | |
bool IsValid() |
Returns whether this warping transform is doing anything. | Evaluation/MovieSceneTimeWarping.h | |
FFrameNumber Length() |
Returns the length of the warping. | Evaluation/MovieSceneTimeWarping.h | |
void TransformFrame
(
FFrameNumber InFrame, |
Transforms the given frame and returns the warped frame time along with the warp index we ended up in. | Evaluation/MovieSceneTimeWarping.h | |
TRange< FFrameTime > TransformRangeConstrained
(
const TRange< FFrameTime >& Range |
Transforms the given range by time-warping it and figuring out if it "covered" a full loop or not. | Evaluation/MovieSceneTimeWarping.h | |
TRange< FFrameTime > TransformRangePure
(
const TRange< FFrameTime >& Range |
Transforms the given range in a "naive" way, i.e. its lower and upper bounds are transformed independently by this time warping. | Evaluation/MovieSceneTimeWarping.h | |
TRange< FFrameTime > TransformRangeUnwarped
(
const TRange< FFrameTime >& Range |
Transforms the given range by time-warping its lower bound, and computing an upper bound so that the size of the input range is preserved. | Evaluation/MovieSceneTimeWarping.h | |
void TransformTime
(
FFrameTime InTime, |
Transforms the given time and returns the warped time along with the warp index we ended up in. | Evaluation/MovieSceneTimeWarping.h | |
void TransformTimeSpecific
(
FFrameTime InTime, |
Transforms the given time by warping it by a specific warp count, regardless of how many warps are needed in theory to stay in the warping range. | Evaluation/MovieSceneTimeWarping.h |