|
| FKeyHandle | AddKey (float InTime, const FName &InValue, FKeyHandle KeyHandle=FKeyHandle()) |
| | Add a new key to the curve with the supplied Time and Value. 更多...
|
| |
| void | DeleteKey (FKeyHandle KeyHandle) |
| | Remove the specified key from the curve. 更多...
|
| |
|
virtual FIndexedCurve * | Duplicate () const final |
| | Allocates a duplicate of the curve
|
| |
| FKeyHandle | FindKey (float KeyTime, float KeyTimeTolerance=KINDA_SMALL_NUMBER) const |
| | Finds a key a the specified time. 更多...
|
| |
| FNameCurveKey & | GetKey (FKeyHandle KeyHandle) |
| | Get a key. 更多...
|
| |
| const TArray< FNameCurveKey > & | GetKeys () const |
| | Read-only access to the key collection. 更多...
|
| |
| virtual float | GetKeyTime (FKeyHandle KeyHandle) const override final |
| | Get the time for the Key with the specified index. 更多...
|
| |
|
virtual int32 | GetNumKeys () const override final |
| | Get number of keys in curve.
|
| |
| virtual void | SetKeyTime (FKeyHandle KeyHandle, float NewTime) override final |
| | Move a key to a new time. 更多...
|
| |
| FKeyHandle | UpdateOrAddKey (float InTime, const FName &InValue, float KeyTimeTolerance=KINDA_SMALL_NUMBER) |
| | Finds the key at InTime, and updates its value. 更多...
|
| |
|
virtual | ~FNameCurve () |
| | Virtual destructor.
|
| |
|
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
|
| |
Implements a curve of FNames.