![]() |
VR-Forces 4.1 Class Documentation
|
The GUI Object Data Interface example demonstrates how to access data for entities, aggregates and environmental objects.
It shows:
The network data interface (and its subclasses) give developers access to simulation level information (location, orientation, resources, etc.) in a single, convenient object. This example shows how to use the DtVrfStateViewCollectionManager to request a data interface object by marking text, and, how to use that object to retrieve information about that object.
This example creates a console that allows for entering of simple commands to retrieve information by name of object or by unique ID and then displays information for that object in the console.
Since this example is loaded as a plugin Select Settings, Plugins... and on the Plugins Editor page, use the combo box at the top of the page to select the plug-in. Then enable the Load Plugin checkbox for the guiObjectDataInterface example and re-start VR-Forces.
| DtObjectDataInterfaceMenuItem | The menu item to display the console. |
| DtGuiObjectDataConsole | The console used to retrieve and display information about published items. |