mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix final tween value with custom interpolator
This commit is contained in:
parent
6b5b84c0c5
commit
8f657977fc
2 changed files with 23 additions and 12 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue