engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FMovieSceneTimeWarping结构体 参考

Transform time by warping it around from end to start. 更多...

#include <MovieSceneTimeWarping.h>

Public 成员函数

TRange< FFrameTime > GetRange () const
 Returns a range that encompasses the whole warping time span.
 
FMovieSceneTimeTransform InverseFromWarp (uint32 WarpCount) const
 Returns a transformation that takes us from a local time into a given loop back to the root time.
 
bool IsValid () const
 Returns whether this warping transform is doing anything.
 
FFrameNumber Length () const
 Returns the length of the warping.
 
void TransformFrame (FFrameNumber InFrame, FFrameNumber &OutFrame, uint32 &OutWarpIndex) const
 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) const
 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) const
 Transforms the given range in a "naive" way, i.e. 更多...
 
TRange< FFrameTime > TransformRangeUnwarped (const TRange< FFrameTime > &Range) const
 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, FFrameTime &OutTime, uint32 &OutWarpIndex) const
 Transforms the given time and returns the warped time along with the warp index we ended up in.
 
void TransformTimeSpecific (FFrameTime InTime, uint32 WarpCount, FFrameTime &OutTime) const
 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.
 

详细描述

Transform time by warping it around from end to start.

This is mostly useful for looping things.

成员函数说明

◆ TransformRangeConstrained()

TRange< FFrameTime > FMovieSceneTimeWarping::TransformRangeConstrained ( const TRange< FFrameTime > &  Range) const
inline

Transforms the given range by time-warping it and figuring out if it "covered" a full loop or not.

If it covered a full loop, return a full-loop range, i.e. a range that goes from StartOffset to (Length - EndOffset). If it didn't cover a full loop, return the transformed range, which should be a subset of the full loop range mentioned above.

◆ TransformRangePure()

TRange< FFrameTime > FMovieSceneTimeWarping::TransformRangePure ( const TRange< FFrameTime > &  Range) const
inline

Transforms the given range in a "naive" way, i.e.

its lower and upper bounds are transformed independently by this time warping. This means that the output range could be "inside-out"... that is, the output lower bound could be greater than the output upper bound, like, for instance, in the case of the input range starting near the end of a loop, and ending near the beginning of another loop.

◆ TransformRangeUnwarped()

TRange< FFrameTime > FMovieSceneTimeWarping::TransformRangeUnwarped ( const TRange< FFrameTime > &  Range) const
inline

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.

So if the input range starts in the middle of a loop and lasts 3 loops, the output range will start in the middle of the first loop, and last 3 times as long as the Length of this time warp.


该结构体的文档由以下文件生成: