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

Movie scene sequence transform class that transforms from one time-space to another. 更多...

#include <MovieSceneTimeTransform.h>

Public 成员函数

 FMovieSceneTimeTransform ()
 Default construction to the identity transform
 
 FMovieSceneTimeTransform (FFrameTime InOffset, float InTimeScale=1.f)
 Construction from an offset, and a scale 更多...
 
FMovieSceneTimeTransform Inverse () const
 Retrieve the inverse of this transform
 
bool IsIdentity () const
 Returns whether this transform is an identity transform.
 

Public 属性

FFrameTime Offset
 Scalar frame offset applied after the scale
 
float TimeScale
 The sequence's time scale (or play rate)
 

详细描述

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.

构造及析构函数说明

◆ FMovieSceneTimeTransform()

FMovieSceneTimeTransform::FMovieSceneTimeTransform ( FFrameTime  InOffset,
float  InTimeScale = 1.f 
)
inlineexplicit

Construction from an offset, and a scale

参数
InOffsetThe offset to translate by
InTimeScaleThe timescale. For instance, if a sequence is playing twice as fast, pass 2.f

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