engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IKeyFrameManipulator< TimeType > 模板类 参考abstract

Templated key frame manipulator that knows how to add, remove and (re)arrange key times. 更多...

#include <IKeyFrameManipulator.h>

Public 成员函数

FORCEINLINE FKeyHandle AddKey (TimeTypeRef InTime)
 Add a new key time to the data structure 更多...
 
FORCEINLINE TOptional< FKeyHandle > FindKey (TimeTypeRef KeyTime, TimeTypeRef KeyTimeTolerance) const
 Attempt to find a key using a custom predicate 更多...
 
FORCEINLINE TOptional< TimeType > GetKeyTime (FKeyHandle KeyHandle) const
 Get the time that corresponds to the specified key handle 更多...
 
FORCEINLINE void RemoveKey (FKeyHandle KeyHandle)
 Remove a key that corresponds to the specified key handle 更多...
 
FORCEINLINE void SetKeyTime (FKeyHandle KeyHandle, TimeTypeRef NewTime)
 Set the time for a key that corresponds to the specified key handle 更多...
 

详细描述

template<typename TimeType = float>
class IKeyFrameManipulator< TimeType >

Templated key frame manipulator that knows how to add, remove and (re)arrange key times.

Should guarantee that any manipulation of a previously sorted time array, will remain sorted.

成员函数说明

◆ AddKey()

template<typename TimeType = float>
FORCEINLINE FKeyHandle IKeyFrameManipulator< TimeType >::AddKey ( TimeTypeRef  InTime)
inline

Add a new key time to the data structure

参数
InTimeThe value of the time to add
返回
A key handle for the new key

◆ FindKey()

template<typename TimeType = float>
FORCEINLINE TOptional< FKeyHandle > IKeyFrameManipulator< TimeType >::FindKey ( TimeTypeRef  KeyTime,
TimeTypeRef  KeyTimeTolerance 
) const
inline

Attempt to find a key using a custom predicate

参数
InPredicatePredicate function to use when searching
返回
The key's handle if found, or an empty container if not

◆ GetKeyTime()

template<typename TimeType = float>
FORCEINLINE TOptional< TimeType > IKeyFrameManipulator< TimeType >::GetKeyTime ( FKeyHandle  KeyHandle) const
inline

Get the time that corresponds to the specified key handle

参数
KeyHandleHandle to the key to get the time for.
返回
The time that this key exists at, or an empty container if it was not found

◆ RemoveKey()

template<typename TimeType = float>
FORCEINLINE void IKeyFrameManipulator< TimeType >::RemoveKey ( FKeyHandle  KeyHandle)
inline

Remove a key that corresponds to the specified key handle

参数
KeyHandleHandle to the key to remove

◆ SetKeyTime()

template<typename TimeType = float>
FORCEINLINE void IKeyFrameManipulator< TimeType >::SetKeyTime ( FKeyHandle  KeyHandle,
TimeTypeRef  NewTime 
)
inline

Set the time for a key that corresponds to the specified key handle

参数
KeyHandleHandle to the key to set the time for
NewTimeThe time to assign to this key

该类的文档由以下文件生成: