JME3中级手册一API特征映射4

GUI Display

How do I…? Use this JME 3 Feature! Learn more here…
SimpleApplication中的默认调试显示 app.setDisplayFps(false); 
app.setDisplayStatView(false);
N/A
显示文字(分数,生命值)迷你地图或状态图标 Attach a picture to the orthogonal guiNode to create a heads-up display (HUD). 
com.jme3.font.*, com.jme3.ui.Picture. guiNode.attachChild()
HUD 
TestOrtho.java,TestBitmapFont.java
显示让玩家切换游戏、设置、分屏的按钮 Nifty GUI Nifty GUI 
TestNiftyGui.java

Environment Effects: Sound, Landscape

How do I…? Use this JME 3 Feature! Learn more here…
播放声音和噪音 AudioRenderer, Listener, and AudioNode from com.jme3.audio.* Hello Audio 
Audio 
audio
模拟粒子状态效果,烟火,爆炸,一群昆虫,灰尘等 Use particle emitters: 
com.jme3.effect.EmitterSphereShape, 
com.jme3.effect.ParticleEmitter
Hello Effects 
Particle Emitters 
Bloom and Glow 
Effects Overview 
TestExplosionEffect.java,TestParticleEmitter.java
模拟水、波浪、反射 com.jme3.water.* Water 
Post-Processor Water 
TestSceneWater.java
地形生成 com.jme3.terrain.* Hello Terrain 
Terrain 
TestTerrain.java
模拟天空
rootNode.attachChild(SkyFactory.createSky( assetManager,

       "Textures/Sky/Bright/BrightSky.dds", false));

skyGeo.setQueueBucket(Bucket.Sky) 
Sky 
TestCubeMap.java

Back-End Properties(后台属性)

How do I…? Use this JME 3 Feature! Learn more here…
检测显卡功能 com.jme3.renderer.Caps 
Collection<Caps> caps = renderer.getCaps(); 
Logger.getLogger(HelloJME3.class.getName()).log(Level.INFO, "Caps: {0}" + caps.toString());
N/A
最佳优化场景图 jme3tools.optimize.GeometryBatchFactory 
GeometryBatchFactory.optimize(rootNode);
N/A

你可能感兴趣的:(api)