![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <KeyFrameManipulator.h>
Inheritance diagram for TKeyFrameManipulator< TimeType >:Public Types | |
| typedef TCallTraits< TimeType >::ParamType | TimeTypeRef |
Public Member Functions | |
| TKeyFrameManipulator (TArray< TimeType > *KeyTimesParam, FKeyHandleLookupTable *ExternalKeyHandleLUT=nullptr) | |
| TKeyFrameManipulator (const TKeyFrameManipulator &Rhs) | |
| TKeyFrameManipulator & | operator= (const TKeyFrameManipulator &Rhs) |
| TKeyFrameManipulator (TKeyFrameManipulator &&Rhs) | |
| TKeyFrameManipulator & | operator= (TKeyFrameManipulator &&Rhs) |
| virtual | ~TKeyFrameManipulator () |
| FKeyHandle | AddKey (TimeTypeRef InTime) |
| void | SetKeyTime (FKeyHandle KeyHandle, TimeTypeRef NewTime) |
| void | RemoveKey (FKeyHandle KeyHandle) |
| void | Reset () |
| TOptional< TimeType > | GetKeyTime (FKeyHandle KeyHandle) const |
| TOptional< FKeyHandle > | FindKey (const TFunctionRef< bool(TimeTypeRef)> &InPredicate) const |
| TKeyTimeIterator< TimeType > | IterateKeys () const |
Protected Member Functions | |
| int32 | ComputeInsertIndex (TimeTypeRef InTime, int32 StartAtIndex=0) const |
| FKeyHandle | InsertKeyImpl (TimeTypeRef Time, int32 InsertIndex) const |
| TimeType | GetKeyTimeChecked (int32 KeyIndex) const |
| int32 | GetIndex (FKeyHandle KeyHandle) const |
| FKeyHandle | GetKeyHandleFromIndex (int32 Index) const |
| void | RelocateKeyImpl (int32 OldIndex, int32 NewIndex) |
Templated key frame manipulator that knows how to add, remove and (re)arrange key times. Guarantees that any manipulation of a previously sorted time array, will remain sorted.
| typedef TCallTraits<TimeType>::ParamType TKeyFrameManipulator< TimeType >::TimeTypeRef |
|
inline |
Construction from an externally owned array of times
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
Add a new key time to the data structure
| InTime | The value of the time to add |
|
inlineprotected |
Calculate the index at which to insert the given time such that the container remains sorted
|
inline |
Attempt to find a key using a custom predicate
| InPredicate | Predicate function to use when searching |
|
inlineprotected |
Get the index that corresponds to the specified key handle
|
inlineprotected |
Get the handle that corresponds to the specified index
|
inline |
Get the time that corresponds to the specified key handle
| KeyHandle | Handle to the key to get the time for. |
|
inlineprotected |
Get the time of the specified key index. Index is assumed to be valid.
|
inlineprotected |
Insert the specified time into our container at the specified index
|
inline |
Iterate the times stored in the external data structure
|
inline |
|
inline |
|
inlineprotected |
Move a key from one index to another
|
inline |
Remove a key that corresponds to the specified key handle
| KeyHandle | Handle to the key to remove |
|
inline |
Removes all keys.
|
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 |