Hello all,
this probably a trivial question for a better programmer, but can anyone tell me how I can access the statistics collected by the Statsview object so I can write them out to logfiles?
[java] @Override
public void initialize(AppStateManager stateManager, Application app) {
super.initialize(stateManager, app);
final Statistics statistics = app.getRenderer().getStatistics();
int[] data …
statistics.getData(data);
[/java]
I have a little bit of source in a zip file at the bottom of http://portal.zoom.nu/jme that you can look at. Hope that helps.
Thank you, that was exactly what I was looking for. Thanks for sharing.