Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
Inheritance Hierarchy
- FIndexedCurve
- FNameCurve
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Curves/NameCurve.h |
Include | #include "Curves/NameCurve.h" |
Syntax
struct FNameCurve : public FIndexedCurve
Remarks
Implements a curve of FNames.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FNameCurveKey > | Keys | Sorted array of keys |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~FNameCurve () |
Virtual destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FKeyHandle | AddKey
(
float InTime, |
Add a new key to the curve with the supplied Time and Value. Returns the handle of the new key. |
![]() |
void | DeleteKey
(
FKeyHandle KeyHandle |
Remove the specified key from the curve. |
![]() ![]() |
FKeyHandle | FindKey
(
float KeyTime, |
Finds a key a the specified time. |
![]() |
FNameCurveKey & | GetKey
(
FKeyHandle KeyHandle |
Get a key. |
![]() ![]() |
FNameCurveKey | GetKey
(
FKeyHandle KeyHandle |
Get a key. |
![]() ![]() |
const TArray< FNameCurveKey > & | GetKeys () |
Read-only access to the key collection. |
![]() |
FKeyHandle | UpdateOrAddKey
(
float InTime, |
Finds the key at InTime, and updates its value. |
Overridden from FIndexedCurve
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FIndexedCurve * | Duplicate () |
Allocates a duplicate of the curve |
![]() ![]() ![]() |
float | GetKeyTime
(
FKeyHandle KeyHandle |
Get the time for the Key with the specified index. |
![]() ![]() ![]() |
int32 | GetNumKeys () |
Get number of keys in curve. |
![]() ![]() |
void | SetKeyTime
(
FKeyHandle KeyHandle, |
Move a key to a new time. |