VR-Forces 4.1 Class Documentation
GUI Object Data Interface

Table of Contents

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.

Usage

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.

  1. Start vrfGui.
  2. Choose Data Interface Menu
  3. Select the Data Console... menu item
  4. The data console is displayed. Type help to retrieve available commands. Then type a command to display information about a published item

Classes

DtObjectDataInterfaceMenuItemThe menu item to display the console.
DtGuiObjectDataConsoleThe console used to retrieve and display information about published items.


Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)