API ReferenceGE Extensionstechimpactgen
`crashOutput.lua`
> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.
This Source Code Form is subject to the terms of the bCDDL, v. 1.1. If a copy of the bCDDL was not distributed with this file, You can obtain one at http://beamng.com/bCDDL-1.1.txt
Module variable: M
Hooks
onInitonUpdateonSocketMessageonVehicleSpawnedonScenarioRestarted
Exported Functions
M.onInit()
Line 207
Returns: responses later than this frame
M.onUpdate()
Line 273
Returns: responses later than this frame
M.handleImpactGenSetImageProperties(request)
Line 277
Returns: responses later than this frame
M.handleImpactGenGenerateOutput(request)
Line 292
Returns: responses later than this frame
M.handleImpactGenRunLinear(request)
Line 354
M.handleImpactGenRunTBone(request)
Line 411
M.handleImpactGenRunPole(request)
Line 484
M.handleImpactGenRunNonCrash(request)
Line 520
M.handleImpactGenPostSettings(request)
Line 607
Returns: M
M.onSocketMessage(request)
Line 649
Returns: M
M.onVehicleSpawned(vID)
Line 657
Returns: M
M.onScenarioRestarted()
Line 668
Returns: M
Exported Variables
M.partOptions
Line 672 - {}
Internal Functions
Show internal functions
fuzzyTableLookup(d, n)(line 85)getRelevantParts(parts)(line 95)getPartColor(part)(line 114)restructureParts(parts)(line 123)requestMesh(veh)(line 151)renderPerspective(request, origin, angle, idx)(line 159)renderPerspectives(callback)(line 195)waitFrames(callback, frames)(line 219)waitForSpawn(next)(line 229)waitForMesh(callback)(line 235)waitForDamage(veh, other, next)(line 247)getLevelName()(line 265)continueLinear(request, angle, aPos, bPos, bRot, throttle, config, ego, other)(line 336)continueTBone(request, angle, aPos, bPos, bRot, throttle, config, ego, other)(line 393)continuePole(request, angle, pos, throttle, config, ego)(line 449)placePole(polePos)(line 469)placeSkybox()(line 549)continuePostSettings(request, skyboxMat, groundMat)(line 562)setClassProperty(clazz, field, value)(line 589)setWeather(time, clouds, fog)(line 601)