diff options
Diffstat (limited to 'scene/gui/video_stream_player.h')
-rw-r--r-- | scene/gui/video_stream_player.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/video_stream_player.h b/scene/gui/video_stream_player.h index 1fd599a9e1..14faab3ec1 100644 --- a/scene/gui/video_stream_player.h +++ b/scene/gui/video_stream_player.h @@ -65,6 +65,7 @@ class VideoStreamPlayer : public Control { float volume = 1.0; double last_audio_time = 0.0; bool expand = false; + bool loop = false; int buffering_ms = 500; int audio_track = 0; int bus_index = 0; @@ -94,6 +95,9 @@ public: void stop(); bool is_playing() const; + void set_loop(bool p_loop); + bool has_loop() const; + void set_paused(bool p_paused); bool is_paused() const; |