本文整理了Java中com.jme3.app.Application.setAppProfiler()
方法的一些代码示例,展示了Application.setAppProfiler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Application.setAppProfiler()
方法的具体详情如下:
包路径:com.jme3.app.Application
类名称:Application
方法名:setAppProfiler
[英]Sets an AppProfiler hook that will be called back for specific steps within a single update frame. Value defaults to null.
[中]设置AppProfiler钩子,该钩子将在单个更新框架内针对特定步骤回调。值默认为null。
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
@Override
protected void onDisable() {
getApplication().setAppProfiler(null);
ui.removeFromParent();
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
@Override
protected void onDisable() {
getApplication().setAppProfiler(null);
graph.removeFromParent();
background.removeFromParent();
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
@Override
protected void onEnable() {
getApplication().setAppProfiler(prof);
((SimpleApplication) getApplication()).getGuiNode().attachChild(ui);
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
@Override
protected void onEnable() {
// Set the number of visible frames to the current width of the screen
setFrameCount(getApplication().getCamera().getWidth());
getApplication().setAppProfiler(profiler);
Node gui = ((SimpleApplication)getApplication()).getGuiNode();
gui.attachChild(graph);
gui.attachChild(background);
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
@Override
protected void onDisable() {
getApplication().setAppProfiler(null);
ui.removeFromParent();
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
@Override
protected void onDisable() {
getApplication().setAppProfiler(null);
graph.removeFromParent();
background.removeFromParent();
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
@Override
protected void onEnable() {
getApplication().setAppProfiler(prof);
((SimpleApplication) getApplication()).getGuiNode().attachChild(ui);
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
@Override
protected void onEnable() {
// Set the number of visible frames to the current width of the screen
setFrameCount(getApplication().getCamera().getWidth());
getApplication().setAppProfiler(profiler);
Node gui = ((SimpleApplication)getApplication()).getGuiNode();
gui.attachChild(graph);
gui.attachChild(background);
}
内容来源于网络,如有侵权,请联系作者删除!