Vehicle Editor - Raw Vehicle Data
Displays the complete raw vehicle data (`vEditor.vehData`) as a recursive tree in the Vehicle Editor.
Displays the complete raw vehicle data (vEditor.vehData) as a recursive tree in the Vehicle Editor.
Module Exports
| Export | Type | Description |
|---|---|---|
M.menuEntry | string | "Raw Vehicle Data" - menu label |
M.open | function | Opens the raw data viewer window |
M.onUpdate | hook | Renders the ImGui tree view |
M.onSerialize | hook | Persists window open state |
M.onDeserialized | hook | Restores window open state |
How It Works
A minimal viewer that uses imguiUtils.addRecursiveTreeTable() to render the entire vEditor.vehData table as an expandable ImGui tree. This provides a quick way to inspect all vehicle data fields, including parsed JBeam, config, parts, and IO context data.
Lua Code Example
-- Open the raw data viewer
extensions.editor_vehicleEditor_liveEditor_veRawData.open()
-- The window renders the entire vehData table recursively:
-- imguiUtils.addRecursiveTreeTable(vEditor.vehData, '', false)
-- vEditor.vehData contains the full vehicle data structure:
-- - vdata: parsed JBeam data (nodes, beams, triangles, props, etc.)
-- - config: vehicle configuration (parts, variables)
-- - ioCtx: JBeam IO context
-- - And more depending on vehicle state
-- Uses imguiUtils from ui/imguiUtils module
local imguiUtils = require('ui/imguiUtils')See Also
- Adjustable Tech Car Tuner - Related reference
- Aero Debug - Related reference
- Crash Tester - Related reference
- World Editor Guide - Guide
Vehicle Editor - Prop Transformer
Interactive tool for picking, inspecting, and transforming vehicle props (meshes, lights) in 3D using axis gizmos, with support for translation and rotation in both local and global coordinate spaces.
Vehicle Editor - TCS Debug
Real-time Traction Control System (TCS) debugging tool that plots per-wheel brake factors, slip values, throttle factors, and slip thresholds as scrolling multi-line graphs.