self:get_doppler_tracking
Client
Retrieves the doppler tracking mode of the audio-3d instance
Syntax
local result = self:get_doppler_tracking()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
core.audio_3d.doppler_tracking | result | Current Doppler tracking mode |
Examples
local entity = core.audio_3d.create("sounds/ambient.ogg")
core.engine.print("info", "Doppler tracking:", entity:get_doppler_tracking())