--[[ A bunch of debug functions used by CSP Debug app. ]] local cspdebug = {} ---Returns distance multiplier for LODs for the main car. ---@return number function cspdebug.getCarLODDistancesMultiplier() return __util.native() end ---Force a certain car LOD. ---@param carIndex integer @0-based car index. ---@param lodIndex integer @0-based LOD index, or `nil`/-1 to disable force. function cspdebug.forceCarLOD(carIndex, lodIndex) __util.native() end ---Draw or stop drawing wheel outlines. ---@param active boolean function cspdebug.setDrawWheelsOutlines(active) __util.native() end ---Returns state of ODE outlines render for four main types ('spacesStatic', 'spacesDynamic', 'spacesTrackObjects', 'trimeshesStatic'). ---More types might be added later. ---@return boolean, boolean, boolean, boolean function cspdebug.getDrawODEOutlines() return __util.native() end ---Draw or stop drawing ODE-related outlines. ---@param type 'spacesStatic'|'spacesDynamic'|'spacesTrackObjects'|'trimeshesStatic' ---@param active boolean function cspdebug.setDrawODEOutlines(type, active) __util.native() end ---For internal use. Might help with textures getting stuck. If does, there is an error in CSP, please report. function cspdebug.forceTexturesRebind() __util.native() end ---Hide car from replay that’s being recorded. Not allowed to be used by scripts without I/O access. ---@param carIndex integer @0-based car index. ---@param hide boolean @Default value: `true` function cspdebug.hideCarInReplay(carIndex, hide) __util.native() end return cspdebug