DashboardItemParallelConnection
Inherits DashboardItem
This DashboardItem
displays information about the status of the parallel connection, which is whether OpenSpace is directly connected to other OpenSpace instances and can either control those instances or be controlled by the master of the session. If OpenSpace is not connected, this DashboardItem
will not display anything.
The information presented contains how many clients are connected to the same session and whether this machine is currently the host of the session.
Members
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
This value is the name of the font that is used. It can either refer to an internal name registered previously, or it can refer to a path that is used. |
|
Value of type ‘String’ |
Yes |
|
This value determines the size of the font that is used to render the distance. |
|
Value of type ‘Double’ |
Yes |
Inherited members from DashboardItem
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
The unique identifier for this DashboardItem. |
|
An identifier string. May not contain ‘.’, spaces, newlines, or tabs |
No |
|
Determines the type of the DashbordItem that should be created. |
|
Value of type ‘String’ |
No |
|
If this value is set to ‘true’ this dashboard item is shown in the dashboard. Otherwise it will be hidden. |
|
Value of type ‘Boolean’ |
Yes |
|
The name for the DashboardItem that is used when showing it in the user interface. |
|
Value of type ‘String’ |
Yes |
Asset Examples
Basic
This example adds a dashboard item that shows the status of the parallel connection.
1local Item = {
2 Identifier = "DashboardItemParallelConnection_Example",
3 Type = "DashboardItemParallelConnection"
4}
5
6asset.onInitialize(function()
7 openspace.dashboard.addDashboardItem(Item)
8end)
9
10asset.onDeinitialize(function()
11 openspace.dashboard.removeDashboardItem(Item)
12end)