API ReferenceGE Extensionstech
`lidarTest.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
onExtensionUnloadedonUpdateonVehicleDestroyedonExtensionLoaded
Exported Functions
M.onExtensionUnloaded()
Line 156
Returns: M
M.onUpdate(dtReal, dtSim, dtRaw)
Line 130
Public interface.
M.onVehicleDestroyed(vid)
Line 142
If a vehicle is destroyed, remove any attached sensors.
M.onExtensionLoaded()
Line 147
Returns: M
Internal Functions
Show internal functions
executeLidarTest()(line 24)The LiDAR test.
onUpdate(dtReal, dtSim, dtRaw)(line 130)Trigger execution to access the LiDAR test class in every update cycle.
onVehicleDestroyed(vid)(line 142)If a vehicle is destroyed, remove any attached sensors.
onExtensionLoaded()(line 147)