瀏覽代碼

Merge pull request #29621 from DevinPentecost/feature/0_duration_tween

Implementing 0-duration tweens
Rémi Verschelde 6 年之前
父節點
當前提交
40f2480d0e
共有 2 個文件被更改,包括 245 次插入89 次删除
  1. 244 89
      scene/animation/tween.cpp
  2. 1 0
      scene/animation/tween.h

File diff suppressed because it is too large
+ 244 - 89
scene/animation/tween.cpp


+ 1 - 0
scene/animation/tween.h

@@ -135,6 +135,7 @@ private:
 	void _tween_process(float p_delta);
 	void _remove_by_uid(int uid);
 	void _push_interpolate_data(InterpolateData &p_data);
+	bool _build_interpolation(InterpolateType p_interpolation_type, Object *p_object, NodePath *p_property, StringName *p_method, Variant p_initial_val, Variant p_final_val, real_t p_duration, TransitionType p_trans_type, EaseType p_ease_type, real_t p_delay);
 
 protected:
 	bool _set(const StringName &p_name, const Variant &p_value);

Some files were not shown because too many files changed in this diff