API ReferenceGE Extensionstech
`pythonExport.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
Dependencies
sbuffer←string.buffer
Exported Functions
M.coeffs2Python(c, veh)
Line 28
Returns: vec3(-c.y + offset.x, -c.x + offset.y, c.z + offset.z)
M.getFullConfigVehicleCallback(vid, data)
Line 154
M.getFullConfig(vehicle, sensors, codePtr)
Line 165
M.getScenarioConfig(buffer, vehicle, vehData)
Line 70
M.getSensorConfig(buffer, vehicle, sensor, lineLength)
Line 93
Returns: buffer
Internal Functions
Show internal functions
coeffs2Python(c, veh)(line 28)dir2Python(c, veh)(line 33)formatValueAsPython(value)(line 37)getScenarioConfig(buffer, vehicle, vehData)(line 70)getSensorConfig(buffer, vehicle, sensor, lineLength)(line 93)getFullConfigFinish()(line 143)getFullConfigVehicleCallback(vid, data)(line 154)getFullConfig(vehicle, sensors, codePtr)(line 165)luaToPythonPosDir(data, luaSensor, vehicle)(line 187)
See Also
adasUltrasonic.lua- Related referencecameraPreview.lua- Related referencecapturePlayer.lua- Related reference- Game Engine Overview - Guide