Smooth Lerp widget Text between random colors?

I’m having trouble figuring this out. There is no timeline in the Widget editor. I tried the linear color lerp but that gives an instant change. I set up a makeshift timer to delay the calls to avoid 1call/tick. But that just delays the call and the lerp is instant.

I want to make the function bound to the text widget slowly interpolate between random colors at a particular rate. Smoothly, not instantly. I tried generating a clamped 0-1 Alpha, but that didn’t really help me cuz it basically adjusts the opacity, not the rate.

I’m aiming for something like a flowing rainbow I suppose?

Here’s what I’ve done so far, not hooked up or anything ATM cuz I can’t get the desired behaviour.

The Ease function looked promising, but it doesn’t take a linear color as an interpolation input.
Any ideas? At this point I’m getting either an epilepsy inducing flashing per frame, or a delayed one off change in the color.

I figured it out, there are functions called Interps. While Lerp is short for Linear Interpolation, the Interps are smooth interpolations with a rate input.

Stuff like CInterp is for color, while Vinter, Tinterp and Rinterp are for transforms, rotates and meshes. There’s also interps for vectors. In the Widget BP though it’s hard to get the Delta Time, so it would be wise to get it from another BP.

XInterp to Constant is the same, but instead of easing in-out, it has a constant rate.

Edit: You can get the DeltaTime from a function called “Get World Delta”. This will return the current difference in time between frames and is conforming with time dilation. Guess Epic thought of everything :smiley:

Sorry to bump and old post but could you show how you did it?