Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
Inheritance Hierarchy
- FIndexedCurve
- FIntegralCurve
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Curves/IntegralCurve.h |
Include | #include "Curves/IntegralCurve.h" |
Syntax
struct FIntegralCurve : public FIndexedCurve
Remarks
An integral curve, which holds the key time and the key value
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FKeyHandle | AddKey
(
float InTime, |
Add a new key to the curve with the supplied Time and Value. |
![]() |
void | Removes the default value for this curve. | |
![]() |
void | DeleteKey
(
FKeyHandle KeyHandle |
Remove the specified key from the curve. |
![]() ![]() |
int32 | Evaluate
(
float Time, |
Evaluates the value of an array of keys at a time |
![]() ![]() |
FKeyHandle | FindKey
(
float KeyTime, |
|
![]() ![]() |
FKeyHandle | FindKeyBeforeOrAt
(
float KeyTime |
Gets the handle for the last key which is at or before the time requested. |
![]() ![]() |
int32 | Get the default value for the curve | |
![]() |
FIntegralKey & | GetKey
(
FKeyHandle KeyHandle |
Functions for getting keys based on handles |
![]() ![]() |
FIntegralKey | GetKey
(
FKeyHandle KeyHandle |
Functions for getting keys based on handles |
![]() ![]() |
TArray< FIntegralKey >::TConstIterator | Const iterator for the keys, so the indices and handles stay valid | |
![]() ![]() |
int32 | GetKeyValue
(
FKeyHandle KeyHandle |
Get the value for the Key with the specified index. |
![]() ![]() |
bool | Gets whether or not the default value should be used for evaluation for time values before the first key. | |
![]() ![]() |
bool | HasAnyData () |
Check whether this curve has any data or not |
![]() |
void | Tries to reduce the number of keys required for accurate evaluation (zero error threshold) | |
![]() |
void | SetDefaultValue
(
int32 InDefaultValue |
Set the default value for the curve |
![]() |
void | SetKeyValue
(
FKeyHandle KeyHandle, |
Set the value of the key with the specified index. |
![]() |
void | SetUseDefaultValueBeforeFirstKey
(
bool InbUseDefaultValueBeforeFirstKey |
Sets whether or not the default value should be used for evaluation for time values before the first key. |
![]() |
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. |