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 更多... | |
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.
|
inline |
Add a new key time to the data structure
| InTime | The value of the time to add |
|
inline |
Attempt to find a key using a custom predicate
| InPredicate | Predicate function to use when searching |
|
inline |
Get the time that corresponds to the specified key handle
| KeyHandle | Handle to the key to get the time for. |
|
inline |
Remove a key that corresponds to the specified key handle
| KeyHandle | Handle to the key to remove |
|
inline |
Set the time for a key that corresponds to the specified key handle
| KeyHandle | Handle to the key to set the time for |
| NewTime | The time to assign to this key |