GE Lua Documentation

Press F to search!

clearNearFarLists

Definition


-- @/lua/ge/extensions/core/audioRibbon.lua:701

-- Clears the near and far lists.
local function clearNearFarLists()
  table.clear(nearList)
  table.clear(farList)
end

Callers

@/lua/ge/extensions/editor/audioRibbonEditor.lua
  audioRibbon.clearAllSFXEmitters() -- Ensure all the active SFX emitter objects are removed. They will be recreated on the next frame.
  audioRibbon.clearNearFarLists() -- Ensure all the near/far lists are cleared. They will be recreated on the next frame.
end
    audioRibbon.clearRibbonNames()
    audioRibbon.clearNearFarLists()
  end