![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IKeyFrameManipulator.h>
Public Types | |
| typedef TCallTraits< TimeType >::ParamType | TimeTypeRef |
Public Member Functions | |
| FKeyHandle | AddKey (TimeTypeRef InTime) |
| void | SetKeyTime (FKeyHandle KeyHandle, TimeTypeRef NewTime) |
| void | RemoveKey (FKeyHandle KeyHandle) |
| TOptional< TimeType > | GetKeyTime (FKeyHandle KeyHandle) const |
| TOptional< FKeyHandle > | FindKey (TimeTypeRef KeyTime, TimeTypeRef KeyTimeTolerance) const |
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.
| typedef TCallTraits<TimeType>::ParamType IKeyFrameManipulator< TimeType >::TimeTypeRef |
|
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 |