How can I set the default value of FRuntimeFloatCurve in C++

I have created a variable of type FRuntimeFloatCurve in c++

UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = Settings)
	FRuntimeFloatCurve DirectionRampCurve;

And in my blueprint, this runtime curve is empty

image

Can I set its initial value in c++?

1 Like