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

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 Extensionseditor

Vehicle Detail Viewer

Multi-view orthographic vehicle renderer - creates configurable render views (left, right, front, back, top, bottom) with zoom, pan, near-clip control, and PNG export.

Multi-view orthographic vehicle renderer - creates configurable render views (left, right, front, back, top, bottom) with zoom, pan, near-clip control, and PNG export.


Module: M (extensions.editor.vehicleDetailViewer)

FunctionDescription
M.onEditorInitialized()Registers menu item under Vehicles group
M.onPreRender(dtReal, dtSim, dtRaw)Creates/updates RenderViews, handles input, draws view windows
M.onVehicleSpawned(vehicleId)Recreates views when a new vehicle is spawned
M.onSerialize() / M.onDeserialized(data)Persists/restores view layout and settings
M.onExtensionLoaded()Refreshes available layout files
M.onExtensionUnloaded()Destroys all RenderViews

View Properties

PropertyTypeDescription
typeNamestringView direction: Left, Right, Front, Back, Top, Bottom
axisintSigned axis index (±1, ±2, ±3)
zoomfloatZoom level (1.0 = fit, smaller = zoom in)
nearClipfloatNear clipping plane distance
dragOffset{x, y}Pan offset in metres
size{x, y}View resolution in pixels
freezeboolFreeze camera updates
debugboolDraw debug frustum
fixUpAxisboolUse world up axis instead of vehicle up

Usage Example

-- Open via F11 > Window > Experimental > Vehicle Detail Viewer
-- Or: F11 > Vehicles > Vehicle Detail Viewer

-- Each view window shows an orthographic projection of the vehicle:
-- * Left-click drag to pan
-- * Mouse wheel to zoom
-- * Shift + mouse wheel to adjust near clip
-- * Double-click to reset view
-- * Right-click for context menu:
--   - Switch view direction (Left/Right/Top/Bottom/Front/Back)
--   - Save as PNG (high resolution)
--   - Debug frustum toggle
--   - World up axis toggle
--   - Freeze camera toggle
--   - Layout save/load/delete

-- Resolution multiplier (1-3x) scales the render target
-- Layouts are saved to /settings/vehicleDetails/*.vehicleDetailSetting.json

-- Programmatic activation:
extensions.editor_vehicleDetailViewer  -- loads on demand

-- The viewer creates RenderView objects via RenderViewManagerInstance
-- Each view renders only the player vehicle (focus object mode)
-- Views use orthographic frustum with configurable bounds
-- Near/far clipping is 0.1m to 10m by default

-- PNG export saves the render target to disk:
-- {viewName}-{layoutName}.png
-- Saved at the configured resolution × multiplier

See Also

  • Editor AI Tests - Related reference
  • Editor AI Visualization - Related reference
  • Editor – Assembly Spline Tool - Related reference
  • World Editor Guide - Guide

Vehicle Bridge Test

Simple debug tool for testing the vehicle bridge - sends key-value requests to a vehicle's Lua VM and displays the response.

Vehicle Editor Main

Main entry point for the Vehicle Editor - manages static/live editor modes, headless editor activation, extension loading, menu creation, and vehicle data management.

On this page

Module: M (extensions.editor.vehicleDetailViewer)View PropertiesUsage ExampleSee Also