Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Evaluate this runtime float curve at the specified time
| Name | GetRuntimeFloatCurveValue |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Math|Curves")
static float GetRuntimeFloatCurveValue
(
const FRuntimeFloatCurve & Curve,
const float InTime,
const float InDefaultValue
)
The curve's value at the given time.
Parameters
| Name | Remarks |
|---|---|
| Curve | The runtime float curve to evaluate |
| InTime | The time at which to evaluate the curve |
| InDefaultValue | The default value which should be used if the curve cannot be evaluated at the given time. |
See Also
- FRichCurve::Eval