Webview
Oden has the ability to render a website inside of the viewport. Oden exposes an SDK to the website which gives the user the ability to:
-
See available video streams.
-
Send video position where Oden should render the videos.
-
Get vehicle data through the control pipeline.
-
Send data to the vehicle through the control pipeline.
-
Receive list of vehicles that are online.
-
Connect to a vehicle.
-
Disconnect from a vehicle.
-
Set settings on control pipeline.
Setup
To be able to display a website in Oden the "Webview" plugin must be enabled if not already. Press the checkbox next to the "Webview" name in the left GUI to enable it.
Open up the webview tab and change the address field to the address of the website.
Settings
Most settings can be left as-is except the address field.
-
Width - The rendered width of the website.
-
Height - The rendered Height of the website.
-
Accept Input - Pass through the mouse and keyboard inputs to the website.
-
Inhibit Mouse Look - Disable 3D movement inside of Oden.
-
Fill View - Let the website fill out the view regardless of 3D movement.
-
Ignore Url Updates - Do not update the rendered site if the original has updated.
-
Mute log - Do not pass logs from the website to Oden.
-
Clear Session Cookie - Clear cookies related to auth sessions.
-
Address - Address of the website that should be rendered.