editor_rallyEditor_pacenotes_selectedPacenoteUtility¶
File: lua/ge/extensions/editor/rallyEditor/pacenotes/selectedPacenoteUtility.lua · VM: Game Engine (GE) · 154 lines · BeamNG.drive 0.40.5 (buildbot 302427 on GitLab)
Access: extension editor_rallyEditor_pacenotes_selectedPacenoteUtility: extensions.load("editor_rallyEditor_pacenotes_selectedPacenoteUtility"), then the global editor_rallyEditor_pacenotes_selectedPacenoteUtility
Small blue floating "Selected Pacenote Utility" window of the rally editor. For the selected pacenote, it displays three blocks: "Actual" (corner call, length and shape actually generated by the composer), "Adjustment" (intensity risk plus/minus, longer/shorter corner, ignored length) and "Metadata" (calibration metadata: descriptor or intensity, direction, length, shape). It reads the first corner (slot 4) of the pacenote's structure.
Notes¶
- The window is not displayed if no pacenote is selected, if it is missing (pn.missing) or if the camera path is playing.
- Displays "
" when a piece of information is absent.
Functions¶
| Function | Description | Line |
|---|---|---|
editor_rallyEditor_pacenotes_selectedPacenoteUtility.draw(pacenotesWindow) |
Draws the selected pacenote's utility window. To be called every frame from the pacenotes window. | 121 |
Parameter details¶
editor_rallyEditor_pacenotes_selectedPacenoteUtility.draw(pacenotesWindow)¶
Draws the selected pacenote's utility window. To be called every frame from the pacenotes window.
pacenotesWindow(table) : Pacenotes window; must provide selectedPacenote() and cameraPathIsPlaying().
tim19Atlas (Tim0219800) — derived from BeamNG GmbH Lua code (bCDDL 1.1, see LICENSE). Source: lua/ge/extensions/editor/rallyEditor/pacenotes/selectedPacenoteUtility.lua.