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

Helper class designed to abstract the complexity of calculating evaluation ranges for previous times and fixed time intervals 更多...

#include <MovieScenePlayback.h>

Public 成员函数

FFrameTime GetCurrentPosition () const
 Get the last position that was set, in InputRate space
 
FMovieSceneEvaluationRange GetCurrentPositionAsRange () const
 Get a range encompassing only the current time, if available (in OutputRate space) 更多...
 
FORCEINLINE EMovieSceneEvaluationType GetEvaluationType () const
 
FORCEINLINE FFrameRate GetInputRate () const
 
TOptional< FFrameTime > GetLastPlayEvalPostition () const
 Get the last actual time that was evaluated during playback, in InputRate space.
 
TOptional< FMovieSceneEvaluationRange > GetLastRange () const
 Get a range that encompasses the last evaluated range in OutputRate space. 更多...
 
FORCEINLINE FFrameRate GetOutputRate () const
 
FMovieSceneEvaluationRange JumpTo (FFrameTime NewPosition)
 Jump to the specified input time. 更多...
 
FMovieSceneEvaluationRange PlayTo (FFrameTime NewPosition)
 Play from the previously evaluated play time, to the specified time 更多...
 
void Reset (FFrameTime StartPos)
 Reset this position to the specified time. 更多...
 
void SetTimeBase (FFrameRate InInputRate, FFrameRate InOutputRate, EMovieSceneEvaluationType InputEvaluationType)
 Assign the input and output rates that frame times should be interpreted as. 更多...
 

详细描述

Helper class designed to abstract the complexity of calculating evaluation ranges for previous times and fixed time intervals

成员函数说明

◆ GetCurrentPositionAsRange()

FMovieSceneEvaluationRange FMovieScenePlaybackPosition::GetCurrentPositionAsRange ( ) const

Get a range encompassing only the current time, if available (in OutputRate space)

返回
An optional evaluation range in OutputRate space.

◆ GetEvaluationType()

FORCEINLINE EMovieSceneEvaluationType FMovieScenePlaybackPosition::GetEvaluationType ( ) const
inline
返回
Whether we are evaluating with sub frames, or frame-locked

◆ GetInputRate()

FORCEINLINE FFrameRate FMovieScenePlaybackPosition::GetInputRate ( ) const
inline
返回
The input frame rate that all frame times provided to this class will be interpreted as

◆ GetLastRange()

TOptional< FMovieSceneEvaluationRange > FMovieScenePlaybackPosition::GetLastRange ( ) const

Get a range that encompasses the last evaluated range in OutputRate space.

返回
An optional evaluation range in OutputRate space.

◆ GetOutputRate()

FORCEINLINE FFrameRate FMovieScenePlaybackPosition::GetOutputRate ( ) const
inline
返回
The output frame rate that all frame times returned from this class will be interpreted as

◆ JumpTo()

FMovieSceneEvaluationRange FMovieScenePlaybackPosition::JumpTo ( FFrameTime  NewPosition)

Jump to the specified input time.

注解
Will reset previous play position. Any subsequent call to 'PlayTo' will include NewPosition.
参数
NewPositionThe new frame time to set, in InputRate space
返回
A range encompassing only the specified time, in OutputRate space.

◆ PlayTo()

FMovieSceneEvaluationRange FMovieScenePlaybackPosition::PlayTo ( FFrameTime  NewPosition)

Play from the previously evaluated play time, to the specified time

参数
NewPositionThe new frame time to set, in InputRate space
返回
An evaluation range from the previously evaluated time to the specified time, in OutputRate space.

◆ Reset()

void FMovieScenePlaybackPosition::Reset ( FFrameTime  StartPos)

Reset this position to the specified time.

注解
Future calls to 'PlayTo' will include this time in its resulting evaluation range

◆ SetTimeBase()

void FMovieScenePlaybackPosition::SetTimeBase ( FFrameRate  InInputRate,
FFrameRate  InOutputRate,
EMovieSceneEvaluationType  InputEvaluationType 
)

Assign the input and output rates that frame times should be interpreted as.

参数
InInputRateThe framerate to interpret any frame time provided to this class
InOutputRateThe framerate to use when returning any frame range from this class
InputEvaluationTypeWhether we're using frame-locked or sub-frame evaluation

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