Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves > API/Runtime/Engine/Curves/FStringCurve
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Curves/StringCurve.h |
| Include | #include "Curves/StringCurve.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Curves/StringCurve.cpp |
FKeyHandle UpdateOrAddKey
&40;
float InTime,
const FString & InValue,
float KeyTimeTolerance
&41;
Remarks
Finds the key at InTime, and updates its value. If it can't find the key within the KeyTimeTolerance, it adds one at that time.
Parameters
| Name | Description |
|---|---|
| InTime | The time at which the key should be added or updated. |
| InValue | The value of the key. |
| KeyTimeTolerance | The tolerance used for key time equality. |