Audio 3D
self:get_dimension
ClientRetrieves the dimension of the audio-3d instance
Syntax
local dimension = self:get_dimension()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | dimension | Current dimension id |
Examples
local entity = core.audio_3d.create("sounds/ambient.ogg")
core.engine.print("info", "Audio dimension:", entity:get_dimension())