Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include |
#include "Kismet/KismetMathLibrary.h" |
Source |
/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
static FLinearColor CInterpTo
(
FLinearColor Current,
FLinearColor Target,
float DeltaTime,
float InterpSpeed
)
Interpolate Linear Color from Current to Target. Scaled by distance to Target, so it has a strong start speed and ease out.
New interpolated Color
Parameter |
Description |
---|---|
Current |
Current Color |
Target |
Target Color |
DeltaTime |
Time since last tick |
InterpSpeed |
Interpolation speed, if the speed given is 0, then jump to the target. |