Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/Evaluation
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneTimeWarping.h |
| Include | #include "Evaluation/MovieSceneTimeWarping.h" |
Syntax
struct FMovieSceneTimeWarping
Remarks
Transform time by warping it around from end to start. This is mostly useful for looping things.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FFrameNumber | End | ||
| FFrameNumber | Start |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMovieSceneTimeWarping
(
FFrameNumber InStart, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TRange< FFrameTime > | GetRange () |
Returns a range that encompasses the whole warping time span. | |
| FMovieSceneTimeTransform | InverseFromWarp
(
uint32 WarpCount |
Returns a transformation that takes us from a local time into a given loop back to the root time. | |
| bool | IsValid () |
Returns whether this warping transform is doing anything. | |
| FFrameNumber | Length () |
Returns the length of the warping. | |
| void | TransformFrame
(
FFrameNumber InFrame, |
Transforms the given frame and returns the warped frame time along with the warp index we ended up in. | |
| 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. | |
| 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. | |
| 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. | |
| void | TransformTime
(
FFrameTime InTime, |
Transforms the given time and returns the warped time along with the warp index we ended up in. | |
| 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. |
Constants
| Name | Description |
|---|---|
| InvalidWarpCount |