Fix final tween value with custom interpolator

This commit is contained in:
kobewi 2025-03-24 22:55:57 +01:00
parent 6b5b84c0c5
commit 8f657977fc
2 changed files with 23 additions and 12 deletions

View file

@ -200,6 +200,8 @@ VARIANT_ENUM_CAST(Tween::EaseType);
class PropertyTweener : public Tweener {
GDCLASS(PropertyTweener, Tweener);
double _get_custom_interpolated_value(const Variant &p_value);
public:
Ref<PropertyTweener> from(const Variant &p_value);
Ref<PropertyTweener> from_current();