5、示例2:Hello Node

1 示例2:Hello Node 这个例子将介绍Nodes, Bounding Volumes, Sphere, Colors, Translation(平移) and Scaling(缩放)。 1.1 源代码 隐藏行号 复制代码 ? 源代码 package jmetest.TutorialGuide; import com.jme.app.SimpleGame; import com.jme.bounding.BoundingBox; import com.jme.bounding.BoundingSphere; import com.jme.math.Vector3f; import com.jme.renderer.ColorRGBA; import com.jme.scene.Node; import com.jme.scene.Spatial; import com.jme.scene.shape.Box; import com.jme.scene.shape.Sphere; /** * S

你可能感兴趣的:(node)