self:is_emission_angle_enabled
Client
Checks whether the emission angle cone is enabled on the audio-3d instance
Syntax
local result = self:is_emission_angle_enabled()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if emission angle is enabled, false otherwise |
Examples
local entity = core.audio_3d.create("sounds/ambient.ogg")
core.engine.print("info", "Emission angle state:", entity:is_emission_angle_enabled())