Skip to main content

AudioSource.GetAmbisonicDecoderFloat(number index)

Reads a user-defined parameter of a custom ambisonic decoder effect that is attached to an AudioSource.

Parameters:

NameTypeDescription
indexnumberZero-based index of user-defined parameter to be read.

Returns:

typeDescription
booleanbool True, if the parameter could be read.
numberReturn value of the user-defined parameter that is read.

Usage

---@type AudioSource
local audiosource;

---@type number
local index;


local val0, val1 = audiosource.GetAmbisonicDecoderFloat(index)