A curve base class which enables key handles to index lookups. 更多...
#include <IndexedCurve.h>
类 FIndexedCurve 继承关系图:Public 成员函数 | |
| virtual FIndexedCurve * | Duplicate () const |
| Allocates a duplicate of the curve | |
| FIndexedCurve () | |
| Default constructor. | |
| FKeyHandle | GetFirstKeyHandle () const |
| Gets the key handle for the first key in the curve | |
| int32 | GetIndexSafe (FKeyHandle KeyHandle) const |
| Gets the index of a handle, checks if the key handle is valid first. | |
| TArray< FKeyHandle >::TConstIterator | GetKeyHandleIterator () const |
| Const iterator for the handles. | |
| virtual float | GetKeyTime (FKeyHandle KeyHandle) const |
| Get the time for the Key with the specified index. | |
| FKeyHandle | GetLastKeyHandle () const |
| Gets the key handle for the last key in the curve | |
| FKeyHandle | GetNextKey (FKeyHandle KeyHandle) const |
| Get the next key given the key handle | |
| virtual int32 | GetNumKeys () const |
| Get number of keys in curve. | |
| FKeyHandle | GetPreviousKey (FKeyHandle KeyHandle) const |
| Get the previous key given the key handle | |
| bool | IsKeyHandleValid (FKeyHandle KeyHandle) const |
| Checks to see if the key handle is valid for this curve. | |
| void | ScaleCurve (float ScaleOrigin, float ScaleFactor) |
| Scales all keys about an origin, preserving order | |
| virtual void | SetKeyTime (FKeyHandle KeyHandle, float NewTime) |
| Move a key to a new time. 更多... | |
| void | ShiftCurve (float DeltaTime) |
| Shifts all keys forwards or backwards in time by an even amount, preserving order | |
Protected 成员函数 | |
| void | EnsureAllIndicesHaveHandles () const |
| Makes sure our handles are all valid and correct. | |
| const int32 * | FindIndex (FKeyHandle KeyHandle) const |
| Gets the index of a handle . | |
| int32 | GetIndex (FKeyHandle KeyHandle) const |
| Gets the index of a handle. | |
| FKeyHandle | GetKeyHandle (int32 KeyIndex) const |
| Internal tool to get a handle from an index. | |
Protected 属性 | |
| FKeyHandleMap | KeyHandlesToIndices |
| Map of which key handles go to which indices. | |
A curve base class which enables key handles to index lookups.
|
virtual |
Move a key to a new time.
This may change the index of the key, so the new key index is returned.
被 FRichCurve, FSimpleCurve, FIntegralCurve, FNameCurve , 以及 FStringCurve 重载.