self:get_emission_angle
Client
Retrieves the emission angle of the audio-3d instance
Syntax
local result = self:get_emission_angle()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | result | Current emission cone half-angle in degrees |
Examples
local entity = core.audio_3d.create("sounds/ambient.ogg")
core.engine.print("info", "Emission angle:", entity:get_emission_angle())