Currently there is no way to change CurveName when using FRuntimeCurveLinearColor. Names will be None always. They should be R G B A as in CurveAssetEditor.
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = “Curves”)
Recompile, open editor, create new data asset from new data asset created in c++,
Right click on curve and “Show Curves”
See curve names will be None.
Basically when creating our own curve editor widgets we can’t modify curve name when using FRuntimeCurveLinearColor or FRuntimeFloatCurve.
After adding the TestColorCurve in code and creating a data asset in the editor based on the class, you also need to set an External Curve using the button below the graph. Once you’ve created/set an external curve, the names will display as RGBA as expected.
Thanks Doug! But what if I don’t want to have external curve as asset. I’m using FRuntimeCurveLinearColor to store my curve.
Basically my goal here is to have one asset with couple of curves. Everything is working as intended but curves are without names always.
I have entered a report for the behavior of the curve names here: Unreal Engine Issues and Bug Tracker (UE-43405) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.