Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
Inheritance Hierarchy
- FIndexedCurve
- FRealCurve
- FRichCurve
- FSimpleCurve
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Curves/RealCurve.h |
Include | #include "Curves/RealCurve.h" |
Syntax
struct FRealCurve : public FIndexedCurve
Remarks
A rich, editable float curve
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | DefaultValue | Default value |
![]() |
TEnumAsByte< ERichCurveExtrapolation > | PostInfinityExtrap | Post-infinity extrapolation state |
![]() |
TEnumAsByte< ERichCurveExtrapolation > | PreInfinityExtrap | Pre-infinity extrapolation state |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FRealCurve () |
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 | BakeCurve
(
float SampleRate, |
|
![]() ![]() |
void | BakeCurve
(
float SampleRate |
Bake curve given the sample rate |
![]() |
void | Removes the default value for this curve. | |
![]() ![]() |
void | CycleTime
(
float MinTime, |
|
![]() ![]() |
void | DeleteKey
(
FKeyHandle KeyHandle |
Remove the specified key from the curve. |
![]() ![]() ![]() |
float | Eval
(
float InTime, |
Evaluate this curve at the specified time |
![]() ![]() |
FKeyHandle | FindKey
(
float KeyTime, |
Finds a key a the specified time |
![]() ![]() |
float | Get the default value for the curve | |
![]() ![]() ![]() |
int32 | GetKeyIndex
(
float KeyTime, |
|
![]() ![]() ![]() |
ERichCurveInterpMode | GetKeyInterpMode
(
FKeyHandle KeyHandle |
|
![]() ![]() ![]() |
TPair< float, float > | GetKeyTimeValuePair
(
FKeyHandle KeyHandle |
Returns a |
![]() ![]() ![]() |
float | GetKeyValue
(
FKeyHandle KeyHandle |
Returns the value of the specified key |
![]() ![]() ![]() |
void | GetTimeRange
(
float& MinTime, |
Get range of input time values. |
![]() ![]() ![]() |
void | GetValueRange
(
float& MinValue, |
Get range of output values. |
![]() ![]() |
bool | HasAnyData () |
Check whether this curve has any data or not |
![]() ![]() |
bool | KeyExistsAtTime
(
float KeyTime, |
True if a key exists already, false otherwise |
![]() ![]() |
void | ReadjustTimeRange
(
float NewMinTimeRange, |
Resize curve length to the [MinTimeRange, MaxTimeRange] |
![]() ![]() ![]() |
void | RemapTimeValue
(
float& InTime, |
Remap InTime based on pre and post infinity extrapolation values |
![]() ![]() |
void | RemoveRedundantKeys
(
float Tolerance, |
Remove redundant keys, comparing against Tolerance (and optional use of sample-rate for additional testing) |
![]() ![]() |
void | RemoveRedundantKeys
(
float Tolerance, |
|
![]() ![]() |
void | Reset () |
Clear all keys. |
![]() |
void | SetDefaultValue
(
float InDefaultValue |
Set the default value of the curve |
![]() ![]() |
void | SetKeyInterpMode
(
FKeyHandle KeyHandle, |
|
![]() ![]() |
void | SetKeyValue
(
FKeyHandle KeyHandle, |
Set the value of the specified key |
![]() ![]() |
FKeyHandle | UpdateOrAddKey
(
float InTime, |
Finds the key at InTime, and updates its value. |