![]() |
VR-Forces Developer's Guide
|
The Scenario Metrics example demonstrates the following:
VR-Forces includes an architecture for registering callbacks on the backend( DtCgf class). This allows one to regestier pre and post tick callbacks.
This example creates a DtMetricCollector class. It registers a postTickCallback on the DtCgf class to be able to query for scenario metrics each tick.
Since this example is loaded as a plugin, it can be used in conjunction with the released VR-Forces application
In the Launcher, click the Plug-ins button to bring up the Plug-ins Selection dialog. Enable the plugin.
To view the new behavior:
| DtMetricCollector | New code |