RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager
Tool Utilities - Fit PolylineEditor Tool Utilities – GeometryEditor Tool Utilities – GizmoEditor Tool Utilities – Material Selection ManagerEditor Tool Utilities – Mesh Audition ManagerEditor Tool Utilities – Perlin NoiseEditor Tool Utilities – Polygon DrawingEditor Tool Utilities – Ramer-Douglas-PeuckerEditor RenderingEditor Tool Utilities – Ribbon InputEditor Tool Utilities – Riverbed TerraformingEditor Tool Utilities – Road Design StandardsEditor Tool Utilities – Simplex NoiseEditor Tool Utilities – Skeleton (Image Vectorisation)Editor Tool Utilities – Spline InputEditor Tool Utilities – Spline Mask ExportEditor Tool Utilities – StyleEditor Tool Utilities – Terrain PainterEditor Tool Utilities – Util

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE ExtensionseditortoolUtilities

Editor Tool Utilities – Mesh Audition Manager

Utility for previewing and selecting static meshes (DAE files) with a rotating 3D camera audition view and a searchable list window.

Utility for previewing and selecting static meshes (DAE files) with a rotating 3D camera audition view and a searchable list window.


Public API

FunctionSignatureDescription
M.getAvailableStaticMeshes() → tableReturns array of {path, filename} for available static meshes
M.populateAvailableStaticMeshes()Scans configured folders for .dae files and populates the mesh list
M.addMeshToAudition(selectedMeshIdx, callback)Spawns a mesh at the audition height for preview; calls callback with (auditionMesh, path)
M.goToMeshView()Moves camera to the audition preview position above the mesh
M.manageRotateCam()Rotates the audition camera around the mesh center
M.goToOldView()Returns camera to the position stored before audition began
M.leaveAuditionView()Removes audition mesh, restores camera, and closes the window
M.removeAuditionMesh()Deletes the audition mesh from the scene
M.updateCameraPose()Recalculates camera distance based on current mesh bounding box
M.registerWindow()Registers the mesh selection editor window
M.handleMeshAuditionAndSelection(meshTarget, onMeshSelectedFunct)Renders mesh selection UI with search, folder selection, and auto-rotating preview

Code Examples

local meshMgr = require('editor/toolUtilities/meshAuditionMgr')

-- Register the mesh selection window at editor init
meshMgr.registerWindow()

-- Populate mesh list from default folders
meshMgr.populateAvailableStaticMeshes()
local meshes = meshMgr.getAvailableStaticMeshes()
log('I', 'mesh', 'Found ' .. #meshes .. ' static meshes')

-- Begin audition of mesh at index 5
meshMgr.addMeshToAudition(5, function(auditionMesh, path)
  log('I', 'mesh', 'Auditioning: ' .. path)
end)

-- Each frame, render the selection UI and manage camera rotation
meshMgr.handleMeshAuditionAndSelection('barrier', function(mesh, path)
  log('I', 'mesh', 'User selected mesh: ' .. path)
  mySpline.meshPath = path
  meshMgr.leaveAuditionView()
end)

-- Leave the audition view and restore the old camera pose
meshMgr.leaveAuditionView()

See Also

  • Tool Utilities - Fit Polyline - Related reference
  • Editor Tool Utilities – Geometry - Related reference
  • Editor Tool Utilities – Gizmo - Related reference
  • World Editor Guide - Guide

Editor Tool Utilities – Material Selection Manager

Utility for selecting materials with image thumbnails and a search bar. Used across road/decal tools to pick terrain or decal materials.

Editor Tool Utilities – Perlin Noise

Classic 2D Perlin noise implementation with a static permutation table for deterministic, repeatable noise generation.

On this page

Public APICode ExamplesSee Also