Download

Curve as a Type

Hi. I’d like a curve type instead of requiring a curve asset reference.

In case my description is vague,this is what it looks like in Maya, it would just be a property you can edit per-object without creating a curve asset for each one. Although perhaps it would be expandable into a proper curve editor, for example.

Can be done like this :

UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = “Curves”)
FRuntimeFloatCurve TestCurve;

UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = “Curves”)
FRuntimeCurveLinearColor TestColorCurve;

Doh, I got some misleading info. Ignore this.