Summary
Simple controller to add a navigation screen inside a vehicle. Needs a correctly set up material for the screen to display.
File Info
Filename | beamNavigator.lua |
Path | /lua/vehicle/controller/beamNavigator.lua |
Type | Auxiliary |
Multiple Uses | Supported |
JBeam Properties
Name
Default
Unit
Description
Name
screenMaterialName
Default
@screen_gps
Unit
string
Description
Material name to be used for the navigator screen
Name
htmlFilePath
Default
local://local/vehicles/common/navi_screen.html
Unit
string
Description
HTML file to display on the navigator screen
Name
textureWidth
Default
256
Unit
number
Description
Width of the texture
Name
textureHeight
Default
128
Unit
number
Description
Height of the texture
Name
textureFPS
Default
30
Unit
number
Description
Refresh rate of the texture
Example Usage
"controller": [
["fileName"],
["beamNavigator"]
],
"beamNavigator": {
"screenMaterialName":"@screen2_gps",
"textureWidth":512,
"textureFPS": 20,
}