Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
Inheritance Hierarchy
- FIndexedCurve
- FAttributeCurve
- FIntegralCurve
- FNameCurve
- FRealCurve
- FRichCurve
- FSimpleCurve
- FStringCurve
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Curves/IndexedCurve.h |
Include | #include "Curves/IndexedCurve.h" |
Syntax
struct FIndexedCurve
Remarks
A curve base class which enables key handles to index lookups.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FKeyHandleMap | KeyHandlesToIndices | Map of which key handles go to which indices. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FIndexedCurve * | Duplicate () |
Allocates a duplicate of the curve |
![]() ![]() |
void | Makes sure our handles are all valid and correct. | |
![]() ![]() |
void | EnsureIndexHasAHandle
(
int32 KeyIndex |
|
![]() ![]() |
const int32 * | FindIndex
(
FKeyHandle KeyHandle |
Gets the index of a handle . |
![]() ![]() |
FKeyHandle | Gets the key handle for the first key in the curve | |
![]() ![]() |
int32 | GetIndex
(
FKeyHandle KeyHandle |
Gets the index of a handle. |
![]() ![]() |
int32 | GetIndexSafe
(
FKeyHandle KeyHandle |
Gets the index of a handle, checks if the key handle is valid first. |
![]() ![]() |
FKeyHandle | GetKeyHandle
(
int32 KeyIndex |
Internal tool to get a handle from an index. |
![]() ![]() |
TArray< FKeyHandle >::TConstIterator | Const iterator for the handles. | |
![]() ![]() ![]() |
float | GetKeyTime
(
FKeyHandle KeyHandle |
Get the time for the Key with the specified index. |
![]() ![]() |
FKeyHandle | Gets the key handle for the last key in the curve | |
![]() ![]() |
FKeyHandle | GetNextKey
(
FKeyHandle KeyHandle |
Get the next key given the key handle |
![]() ![]() ![]() |
int32 | GetNumKeys () |
Get number of keys in curve. |
![]() ![]() |
FKeyHandle | GetPreviousKey
(
FKeyHandle KeyHandle |
Get the previous key given the key handle |
![]() ![]() |
bool | IsKeyHandleValid
(
FKeyHandle KeyHandle |
Checks to see if the key handle is valid for this curve. |
![]() |
void | ScaleCurve
(
float ScaleOrigin, |
Scales all keys about an origin, preserving order |
![]() |
void | ScaleCurve
(
float ScaleOrigin, |
Scales all keys about an origin, preserving order |
![]() ![]() |
void | SetKeyTime
(
FKeyHandle KeyHandle, |
Move a key to a new time. This may change the index of the key, so the new key index is returned. |
![]() |
void | ShiftCurve
(
float DeltaTime |
Shifts all keys forwards or backwards in time by an even amount, preserving order |
![]() |
void | ShiftCurve
(
float DeltaTime, |
Shifts all keys forwards or backwards in time by an even amount, preserving order |