Hi, I Trying developer TimeLines with dynamic CurveFloats … I could create a timeline and carry it out from an asset curve … But need the curves change their size in seconds / keys and created from it a FRichCurve object with the necessary parameters …
now? as I do the Cast Object to Add AddInterpFloat UCurveFloat in Timeline?
FRichCurve * xEditCurve = new FRichCurve;
FKeyHandle KeyHandle = xEditCurve->AddKey(5.f, 1200.f);
xEditCurve->AddKey(0.0f, 0.0f, true, KeyHandle);
xEditCurve->AddKey(10.0f, 1200.0f, true, KeyHandle);
xEditCurve->SetKeyTime(KeyHandle, 10.0f);
xEditCurve->SetKeyInterpMode(KeyHandle, RCIM_Linear);
TimeLine.AddInterpFloat(>>>xEditCurve<<<(Not UCurveFloat), progressFunction, FName{ TEXT("EFFECTFADE") });
I Trying create UCurveFloat Object more not found Cast Or Copy Data…
UCurveFloat* xCurveFloat = ConstructObject<UCurveFloat>(UCurveFloat::StaticClass());
xCurveFloat.{ Exists Method? }