summaryrefslogtreecommitdiffstats
path: root/scene/3d/audio_stream_player_3d.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2024-01-06 20:29:43 -0600
committerAaron Franke <arnfranke@yahoo.com>2024-02-08 13:01:50 -0600
commit35c99bbcc1c6728943308fa1b867e57d096bb813 (patch)
treea819c982c9a7c9d24653b5acde49b9116deca11b /scene/3d/audio_stream_player_3d.h
parent41564aaf7708b0bf594f745dd2448a54dd687cc5 (diff)
downloadredot-engine-35c99bbcc1c6728943308fa1b867e57d096bb813.tar.gz
Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const
Diffstat (limited to 'scene/3d/audio_stream_player_3d.h')
-rw-r--r--scene/3d/audio_stream_player_3d.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/scene/3d/audio_stream_player_3d.h b/scene/3d/audio_stream_player_3d.h
index 3cc1efaf67..61005dc249 100644
--- a/scene/3d/audio_stream_player_3d.h
+++ b/scene/3d/audio_stream_player_3d.h
@@ -121,6 +121,11 @@ protected:
bool _get(const StringName &p_name, Variant &r_ret) const;
void _get_property_list(List<PropertyInfo> *p_list) const;
+#ifndef DISABLE_DEPRECATED
+ bool _is_autoplay_enabled_bind_compat_86907();
+ static void _bind_compatibility_methods();
+#endif // DISABLE_DEPRECATED
+
public:
void set_stream(Ref<AudioStream> p_stream);
Ref<AudioStream> get_stream() const;
@@ -150,7 +155,7 @@ public:
int get_max_polyphony() const;
void set_autoplay(bool p_enable);
- bool is_autoplay_enabled();
+ bool is_autoplay_enabled() const;
void set_max_distance(float p_metres);
float get_max_distance() const;