View C++ Curve in Editor

Is it possible to view a Curve that I created in C++ in the Unreal Editor?
This would be very useful for debugging purposes.

In Detail:

  • If the game designer doesn’t override a FCurve, I create a default curve in c++.
  • I do this by creating a FRichCurve first, then I add it to a UCurve
  • I already tried to inherit from UCurve and set default keys, but in the Engine no keys appear.

There curve time that is supported by property editor called FRuntimeFloatCurve so try it out

There also FRuntimeCurveLinearColor but it was crashing the editor when i was trying to use it in property editor. Those property curve editors are used quite a lot in Niagara so support for them might improve over time as Niagara develops.

This not only allows debugging but also does exactly what I wanted to do myself.

Thank you!