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

应用和场景绘制
How do I…?Use this JME 3 Feature!Learn more here…
启动预先设定的游戏com.jme3.app.SimpleApplicationHello SimpleApplication
使物体显现在场景Attach nodes and geometries to the rootNode: rootNode.attachChild(geo); 
com.jme3.scene.Node, com.jme3.scene.Geometry 
node.setCullHint(CullHint.Never);
The Scene Graph 
Hello Asset 
Hello Node
使物体在场景中消失Detach nodes and geometries from the rootNode: rootNode.detachChild(geo); 
node.setCullHint(CullHint.Always);
The Scene Graph 
Hello Asset 
Hello Node
使用第三人称视角(默认cam)Use default camera cam 
com.jme3.renderer.Camera
ChaseCam WIP
使用第一人称视角Use camera flyCam 
com.jme3.input.FlyByCamera
Hello Collision
摄像头速度增量flyCam.setMoveSpeed(50f);
只绘制场景大纲Use a wireframe material, e.g. for debugging.Debugging
改变背景色Call viewPort.setBackgroundColor(ColorRGBA.Blue);N/A
定义一个应用类Extend com.jme3.app.SimpleApplication (or com.jme3.app.Application) and set Application SettingsSimpleApplication 
AppSettings
关闭logger输出Logger.getLogger("").setLevel(Level.SEVERE); 
java.util.logging.*
Logging

转载于:https://www.cnblogs.com/suhuan/archive/2011/08/12/2135936.html

com.jme3.animation com.jme3.app com.jme3.app.state com.jme3.asset com.jme3.asset.pack com.jme3.asset.plugins com.jme3.audio com.jme3.audio.joal com.jme3.audio.lwjgl com.jme3.audio.plugins com.jme3.bounding com.jme3.bullet com.jme3.bullet.collision com.jme3.bullet.collision.shapes com.jme3.bullet.control com.jme3.bullet.joints com.jme3.bullet.joints.motors com.jme3.bullet.nodes com.jme3.bullet.nodes.infos com.jme3.bullet.util com.jme3.collision com.jme3.collision.bih com.jme3.effect com.jme3.export com.jme3.export.binary com.jme3.export.xml com.jme3.font com.jme3.font.plugins com.jme3.input com.jme3.input.awt com.jme3.input.binding com.jme3.input.dummy com.jme3.input.event com.jme3.input.lwjgl com.jme3.light com.jme3.material com.jme3.material.plugins com.jme3.math com.jme3.niftygui com.jme3.post com.jme3.renderer com.jme3.renderer.jogl com.jme3.renderer.layer com.jme3.renderer.lwjgl com.jme3.renderer.queue com.jme3.scene com.jme3.scene.control com.jme3.scene.debug com.jme3.scene.mesh com.jme3.scene.plugins com.jme3.scene.plugins.ogre com.jme3.scene.shape com.jme3.shader com.jme3.shader.plugins com.jme3.shadow com.jme3.system com.jme3.system.jogl com.jme3.system.lwjgl com.jme3.terrain com.jme3.texture com.jme3.texture.plugins com.jme3.ui com.jme3.util com.jme3.util.xml com.jme3.video com.jme3.video.plugins.jheora jme3game.cubefield jme3test jme3test.app jme3test.asset jme3test.audio jme3test.awt jme3test.bounding jme3test.bullet jme3test.collision jme3test.conversion jme3test.effect jme3test.export jme3test.gui jme3test.light jme3test.material jme3test.math jme3test.model jme3test.model.anim jme3test.model.shape jme3test.niftygui jme3test.post jme3test.scene jme3test.stress jme3test.texture jme3tools.converters jme3tools.converters.model jme3tools.converters.model.strip jme3tools.nvtex jme3tools.optimize jme3tools.preview
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值