GetLengthArrayFloat
Definition
-- @/lua/common/extensions/ui/imgui_custom_luaintf.lua:212
function M.GetLengthArrayFloat(array) return #array end
Callers
@/lua/ge/extensions/editor/suspensionAudioDebug.lua
local impulseArr = im.TableToArrayFloat(beamSounds[bi].impulseTbl)--not actually stress, things are named poorly in sounds.lua
im.PlotLines1("", impulseArr, im.GetLengthArrayFloat(impulseArr), counter, "maxStress: " ..tostring(val.maxStress), 0, val.maxStress, im.ImVec2(400, 80))
im.Text("Pitch")
local pitchArr = im.TableToArrayFloat(beamSounds[bi].pitchTbl)
im.PlotLines1("", pitchArr, im.GetLengthArrayFloat(pitchArr), counter, "pitchFactor: " ..tostring(val.pitchFactor), 0, val.pitchFactor, im.ImVec2(400, 80))
im.Text("Volume")
local volumeArr = im.TableToArrayFloat(beamSounds[bi].volumeTbl)
im.PlotLines1("", volumeArr, im.GetLengthArrayFloat(volumeArr), counter, "volumeFactor: " ..tostring(val.volumeFactor), 0, 1, im.ImVec2(400, 80))
end