diff options
Diffstat (limited to 'scene/3d/audio_stream_player_3d.h')
-rw-r--r-- | scene/3d/audio_stream_player_3d.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scene/3d/audio_stream_player_3d.h b/scene/3d/audio_stream_player_3d.h index 5b4c865475..13e08339e2 100644 --- a/scene/3d/audio_stream_player_3d.h +++ b/scene/3d/audio_stream_player_3d.h @@ -31,16 +31,16 @@ #ifndef AUDIO_STREAM_PLAYER_3D_H #define AUDIO_STREAM_PLAYER_3D_H -#include "scene/3d/spatial.h" -#include "scene/3d/spatial_velocity_tracker.h" +#include "scene/3d/node_3d.h" +#include "scene/3d/velocity_tracker_3d.h" #include "servers/audio/audio_filter_sw.h" #include "servers/audio/audio_stream.h" #include "servers/audio_server.h" -class Camera; -class AudioStreamPlayer3D : public Spatial { +class Camera3D; +class AudioStreamPlayer3D : public Node3D { - GDCLASS(AudioStreamPlayer3D, Spatial); + GDCLASS(AudioStreamPlayer3D, Node3D); public: enum AttenuationModel { @@ -82,7 +82,7 @@ private: Output() { filter_gain = 0; - viewport = NULL; + viewport = nullptr; reverb_bus_index = -1; bus_index = -1; } @@ -134,7 +134,7 @@ private: float max_distance; - Ref<SpatialVelocityTracker> velocity_tracker; + Ref<VelocityTracker3D> velocity_tracker; DopplerTracking doppler_tracking; |