| FIndexedCurve
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Curves/SimpleCurve.h |
Include |
#include "Curves/SimpleCurve.h" |
struct FSimpleCurve : public FRealCurve
A rich, editable float curve
Name | Description | ||
---|---|---|---|
|
TEnumAsByte< ER... |
InterpMode |
Interpolation mode between this key and the next |
|
Keys |
Sorted array of keys |
Name | Description | |
---|---|---|
|
FSimpleCurve() |
Name | Description | ||
---|---|---|---|
|
const TArray... |
GetConstRefOfKeys() |
Gets a const reference of the keys, so indices and handles can't be meddled with |
|
GetCopyOfKeys() |
Gets a copy of the keys, so indices and handles can't be meddled with |
|
|
FSimpleCurve... |
GetFirstKey() |
Quick accessors for the first and last keys |
|
FSimpleCurve... |
GetFirstMatchingKey ( |
Get the first key that matches any of the given key handles. |
|
FSimpleCurve... |
GetKey ( |
Functions for getting keys based on handles |
|
FSimpleCurve... |
GetKey ( |
Functions for getting keys based on handles |
|
ERichCurveIn... |
GetKeyInterpMode() |
Get the interp mode used for keys in this curve |
|
GetKeyIterator() |
Const iterator for the keys, so the indices and handles stay valid |
|
|
FSimpleCurve... |
GetLastKey() |
|
|
SetKeyInterpMode ( |
||
|
SetKeys ( |
Sets the keys with the keys. Expects that the keys are already sorted. |
Name | Description | ||
---|---|---|---|
|
AddKey ( |
Add a new key to the curve with the supplied Time and Value. Returns the handle of the new key. |
|
|
BakeCurve ( |
||
|
BakeCurve ( |
Bake curve given the sample rate |
|
|
DeleteKey ( |
Remove the specified key from the curve. |
|
|
float |
Eval ( |
Evaluate this curve at the specified time |
|
GetKeyIndex ( |
||
|
ERichCurveIn... |
GetKeyInterpMode ( |
Get the interp mode of the specified key |
|
TPair< float... |
GetKeyTimeValuePair ( |
Returns a |
|
float |
GetKeyValue ( |
Returns the value of the specified key |
|
GetTimeRange ( |
Get range of input time values. |
|
|
GetValueRange ( |
Get range of output values. |
|
|
ReadjustTimeRange ( |
Resize curve length to the [MinTimeRange, MaxTimeRange] |
|
|
RemapTimeValue ( |
Remap InTime based on pre and post infinity extrapolation values |
|
|
RemoveRedundantKeys ( |
Remove redundant keys, comparing against Tolerance |
|
|
RemoveRedundantKeys ( |
||
|
Reset() |
Clear all keys. |
|
|
SetKeyInterpMode ( |
Set the interp mode used for keys in this curve |
|
|
SetKeyValue ( |
Set the value of the specified key |
|
|
UpdateOrAddKey ( |
Finds the key at InTime, and updates its value. |
Name | Description | ||
---|---|---|---|
|
FIndexedCurv... |
Duplicate() |
Allocates a duplicate of the curve |
|
float |
GetKeyTime ( |
Get the time for the Key with the specified index. |
|
GetNumKeys() |
Get number of keys in curve. |
|
|
SetKeyTime ( |
Move a key to a new time. |
Name | Description | ||
---|---|---|---|
|
operator== ( |
Determine if two SimpleCurves are the same |