You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add explicit_elapse option to NodeSeek to handle some processes
This commit is contained in:
@@ -302,6 +302,10 @@ class AnimationNodeTimeSeek : public AnimationNode {
|
||||
GDCLASS(AnimationNodeTimeSeek, AnimationNode);
|
||||
|
||||
StringName seek_pos_request = PNAME("seek_request");
|
||||
bool explicit_elapse = true;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||
@@ -311,6 +315,9 @@ public:
|
||||
|
||||
virtual NodeTimeInfo _process(const AnimationMixer::PlaybackInfo p_playback_info, bool p_test_only = false) override;
|
||||
|
||||
void set_explicit_elapse(bool p_enable);
|
||||
bool is_explicit_elapse() const;
|
||||
|
||||
AnimationNodeTimeSeek();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user