self:remove_fx
Client
Removes an audio effect from the audio-3d instance's effect chain
Syntax
local status = self:remove_fx(
name
)Parameters
| Type | Name | Description |
|---|---|---|
string | name | Name of the effect to remove |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.audio_3d.create("sounds/ambient.ogg")
entity:add_fx("my_reverb", "reverb", { wet = 0.5 })
entity:remove_fx("my_reverb")