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

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

#include <MovieSceneSequenceTransform.h>

Public 成员函数

 FMovieSceneSequenceTransform ()
 Default construction to the identity transform
 
 FMovieSceneSequenceTransform (FFrameTime InOffset, float InTimeScale=1.f)
 Construction from an offset, and a scale 更多...
 
 FMovieSceneSequenceTransform (FMovieSceneTimeTransform InLinearTransform)
 Construction from a linear time transform. 更多...
 
float GetTimeScale () const
 Returns the total time-scale of this transform.
 
FMovieSceneTimeTransform InverseFromAllFirstWarps () const
 Retrieve the inverse of this transform assuming the local times would all belong to the first warp inside each nested time range.
 
FMovieSceneTimeTransform InverseFromWarp (const FMovieSceneWarpCounter &WarpCounter) const
 Retrieve the inverse of this transform assuming the local times would belong to the n'th warp inside the time range. 更多...
 
FMovieSceneTimeTransform InverseFromWarp (const TArrayView< const uint32 > &WarpCounts) const
 Retrieve the inverse of this transform assuming the local times would belong to the n'th warp inside the time range. 更多...
 
FMovieSceneTimeTransform InverseLinearOnly () const
 Retrieve the inverse of the linear part of this transform.
 
bool IsIdentity () const
 Returns whether this sequence transform is an identity transform (i.e. 更多...
 
bool IsLinear () const
 Returns whether this sequence transform is purely linear (i.e. 更多...
 
bool IsWarping () const
 Returns whether this sequence transform includes any time warping.
 
TRange< FFrameNumber > TransformRangeConstrained (const TRange< FFrameNumber > &Range) const
 Transforms the given range using the "constrained" warping transformation. 更多...
 
TRange< FFrameTime > TransformRangeConstrained (const TRange< FFrameTime > &Range) const
 Transforms the given range using the "constrained" warping transformation. 更多...
 
TRange< FFrameNumber > TransformRangePure (const TRange< FFrameNumber > &Range) const
 Transforms the given range using the "pure" warping transformation. 更多...
 
TRange< FFrameTime > TransformRangePure (const TRange< FFrameTime > &Range) const
 Transforms the given range using the "pure" warping transformation. 更多...
 
TRange< FFrameNumber > TransformRangeUnwarped (const TRange< FFrameNumber > &Range) const
 Transforms the given range using the "unwarped" warping transformation. 更多...
 
TRange< FFrameTime > TransformRangeUnwarped (const TRange< FFrameTime > &Range) const
 Transforms the given range using the "unwarped" warping transformation. 更多...
 
void TransformTime (FFrameTime InTime, FFrameTime &OutTime, FMovieSceneWarpCounter &OutWarpCounter) const
 Transforms the given time, returning the transformed time along with a series of loop indices that indicate which loops each nested level is in.
 

详细描述

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

构造及析构函数说明

◆ FMovieSceneSequenceTransform() [1/2]

FMovieSceneSequenceTransform::FMovieSceneSequenceTransform ( 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

◆ FMovieSceneSequenceTransform() [2/2]

FMovieSceneSequenceTransform::FMovieSceneSequenceTransform ( FMovieSceneTimeTransform  InLinearTransform)
inline

Construction from a linear time transform.

参数
InLinearTransformThe linear transform

成员函数说明

◆ InverseFromWarp() [1/2]

FMovieSceneTimeTransform FMovieSceneSequenceTransform::InverseFromWarp ( const FMovieSceneWarpCounter &  WarpCounter) const
inline

Retrieve the inverse of this transform assuming the local times would belong to the n'th warp inside the time range.

As such, this method requires that the warp counts in the counter object is equal to the number of nested loops in this transform.

◆ InverseFromWarp() [2/2]

FMovieSceneTimeTransform FMovieSceneSequenceTransform::InverseFromWarp ( const TArrayView< const uint32 > &  WarpCounts) const
inline

Retrieve the inverse of this transform assuming the local times would belong to the n'th warp inside the time range.

As such, this method takes as parameter an array with as many items as there currently have nested loops in this transform.

◆ IsIdentity()

bool FMovieSceneSequenceTransform::IsIdentity ( ) const
inline

Returns whether this sequence transform is an identity transform (i.e.

it doesn't change anything).

◆ IsLinear()

bool FMovieSceneSequenceTransform::IsLinear ( ) const
inline

Returns whether this sequence transform is purely linear (i.e.

doesn't involve time warping).

◆ TransformRangeConstrained() [1/2]

TRange< FFrameNumber > FMovieSceneSequenceTransform::TransformRangeConstrained ( const TRange< FFrameNumber > &  Range) const
inline

Transforms the given range using the "constrained" warping transformation.

See FMovieSceneTimeWarping for more information.

◆ TransformRangeConstrained() [2/2]

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

Transforms the given range using the "constrained" warping transformation.

See FMovieSceneTimeWarping for more information.

◆ TransformRangePure() [1/2]

TRange< FFrameNumber > FMovieSceneSequenceTransform::TransformRangePure ( const TRange< FFrameNumber > &  Range) const
inline

Transforms the given range using the "pure" warping transformation.

See FMovieSceneTimeWarping for more information.

◆ TransformRangePure() [2/2]

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

Transforms the given range using the "pure" warping transformation.

See FMovieSceneTimeWarping for more information.

◆ TransformRangeUnwarped() [1/2]

TRange< FFrameNumber > FMovieSceneSequenceTransform::TransformRangeUnwarped ( const TRange< FFrameNumber > &  Range) const
inline

Transforms the given range using the "unwarped" warping transformation.

See FMovieSceneTimeWarping for more information.

◆ TransformRangeUnwarped() [2/2]

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

Transforms the given range using the "unwarped" warping transformation.

See FMovieSceneTimeWarping for more information.


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