HomeSort by relevance Sort by last modified time
    Searched refs:Spatial (Results 1 - 25 of 174) sorted by null

1 2 3 4 5 6 7

  /external/jmonkeyengine/engine/src/core/com/jme3/asset/
ModelKey.java 35 import com.jme3.scene.Spatial;
41 public class ModelKey extends AssetKey<Spatial> {
57 Spatial model = (Spatial) asset;
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
SceneGraphVisitor.java 6 * Use by calling {@link Spatial#depthFirstTraversal(com.jme3.scene.SceneGraphVisitor) }
7 * or {@link Spatial#breadthFirstTraversal(com.jme3.scene.SceneGraphVisitor)}.
11 * Called when a spatial is visited in the scene graph.
13 * @param spatial The visited spatial
15 public void visit(Spatial spatial);
Node.java 61 public class Node extends Spatial implements Savable {
69 protected SafeArrayList<Spatial> children = new SafeArrayList<Spatial>(Spatial.class);
103 for (Spatial child : children.getArray()){
114 for (Spatial child : children.getArray()){
129 for (Spatial child : children.getArray()) {
153 for (Spatial child : children.getArray()) {
165 // combine with parent transforms- same for all spatial
176 for (Spatial child : children.getArray())
    [all...]
AssetLinkNode.java 60 protected Map<ModelKey, Spatial> assetChildren = new HashMap<ModelKey, Spatial>();
96 Spatial child = manager.loadAsset(key);
101 public void attachLinkedChild(Spatial spat, ModelKey key) {
108 Spatial spatial = assetChildren.get(key); local
109 if (spatial != null) {
110 detachChild(spatial);
116 public void detachLinkedChild(Spatial child, ModelKey key) {
131 Spatial curChild = assetChildren.get(assetKey)
    [all...]
SceneGraphVisitorAdapter.java 8 * Use by calling {@link Spatial#depthFirstTraversal(com.jme3.scene.SceneGraphVisitor) }
9 * or {@link Spatial#breadthFirstTraversal(com.jme3.scene.SceneGraphVisitor)}.
28 public final void visit(Spatial spatial) {
29 if (spatial instanceof Geometry) {
30 visit((Geometry)spatial);
32 visit((Node)spatial);
  /external/jmonkeyengine/engine/src/core/com/jme3/light/
AmbientLight.java 3 import com.jme3.scene.Spatial;
18 public void computeLastDistance(Spatial owner) {
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
Control.java 38 import com.jme3.scene.Spatial;
44 * for a {@link Spatial}.
51 * Creates a clone of the Control, the given Spatial is the cloned
52 * version of the spatial to which this control is attached to.
53 * @param spatial
54 * @return A clone of this control for the spatial
56 public Control cloneForSpatial(Spatial spatial);
59 * @param spatial the spatial to be controlled. This should not be calle
    [all...]
AbstractControl.java 41 import com.jme3.scene.Spatial;
52 protected Spatial spatial; field in class:AbstractControl
57 public void setSpatial(Spatial spatial) {
58 if (this.spatial != null && spatial != null) {
59 throw new IllegalStateException("This control has already been added to a Spatial");
61 this.spatial = spatial;
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
ViewPort.java 38 import com.jme3.scene.Spatial;
48 * which is used to render a set of {@link #attachScene(com.jme3.scene.Spatial) scenes}.
63 * @see Spatial
71 protected final ArrayList<Spatial> sceneList = new ArrayList<Spatial>();
280 * @see Spatial
282 public void attachScene(Spatial scene){
291 * @see #attachScene(com.jme3.scene.Spatial)
293 public void detachScene(Spatial scene){
300 * @see #attachScene(com.jme3.scene.Spatial)
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/tools/
TestTextureAtlas.java 41 import com.jme3.scene.Spatial;
56 Spatial obj1 = assetManager.loadModel("Models/Ferrari/Car.scene");
58 Spatial obj2 = assetManager.loadModel("Models/Oto/Oto.mesh.xml");
60 Spatial obj3 = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml");
62 Spatial obj4 = assetManager.loadModel("Models/Sinbad/Sinbad.mesh.xml");
64 Spatial obj5 = assetManager.loadModel("Models/Tree/Tree.mesh.j3o");
TestSaveGame.java 37 import com.jme3.scene.Spatial;
62 Spatial model = (Spatial) assetManager.loadModel("Models/Oto/Oto.mesh.xml");
  /external/jmonkeyengine/engine/src/test/jme3test/scene/
TestUserData.java 37 import com.jme3.scene.Spatial;
50 Spatial testNode = scene.getChild("TestNode");
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/
PhysicsCollisionObject.java 43 import com.jme3.scene.Spatial;
58 protected Spatial debugShape;
182 protected Spatial attachDebugShape(AssetManager manager) {
206 public Spatial createDebugShape(AssetManager manager){
210 protected Spatial attachDebugShape(Material material) {
221 public Spatial debugShape() {
230 protected Spatial attachDebugShape() {
234 Spatial spatial = getDebugShape(); local
235 this.debugShape = spatial;
247 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); local
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
PhysicsCollisionObject.java 43 import com.jme3.scene.Spatial;
55 protected Spatial debugShape;
162 protected Spatial attachDebugShape(AssetManager manager) {
186 public Spatial createDebugShape(AssetManager manager){
190 protected Spatial attachDebugShape(Material material) {
201 public Spatial debugShape() {
210 protected Spatial attachDebugShape() {
214 Spatial spatial = getDebugShape(); local
215 this.debugShape = spatial;
227 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); local
    [all...]
PhysicsCollisionEvent.java 37 import com.jme3.scene.Spatial;
91 * @return A Spatial if the UserObject of the PhysicsCollisionObject is a Spatial
93 public Spatial getNodeA() {
94 if (nodeA.getUserObject() instanceof Spatial) {
95 return (Spatial) nodeA.getUserObject();
101 * @return A Spatial if the UserObject of the PhysicsCollisionObject is a Spatial
103 public Spatial getNodeB() {
104 if (nodeB.getUserObject() instanceof Spatial) {
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/model/anim/
TestBlenderAnim.java 44 import com.jme3.scene.Spatial;
69 Spatial scene = (Spatial) assetManager.loadModel(blenderKey);
72 Spatial model = this.findNode(rootNode, "BaseMesh_01");
87 private Spatial findNode(Node rootNode, String name) {
TestBlenderObjectAnim.java 44 import com.jme3.scene.Spatial;
69 Spatial scene = (Spatial) assetManager.loadModel(blenderKey);
72 Spatial model = this.findNode(rootNode, "TestAnim");
87 private Spatial findNode(Node rootNode, String name) {
  /external/jmonkeyengine/engine/src/android/jme3test/android/
TestSkyLoadingLagoon.java 36 import com.jme3.scene.Spatial;
66 Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
TestSkyLoadingPrimitives.java 36 import com.jme3.scene.Spatial;
64 Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
  /external/jmonkeyengine/engine/src/test/jme3test/texture/
TestSkyLoading.java 36 import com.jme3.scene.Spatial;
55 Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloAssets.java 41 import com.jme3.scene.Spatial;
57 Spatial teapot = assetManager.loadModel("Models/Teapot/Teapot.obj");
64 Spatial wall = new Geometry("Box", box );
81 Spatial ninja = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml");
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
CollisionShapeFactory.java 59 private static Transform getTransform(Spatial spat, Spatial parent) {
61 Spatial parentNode = spat.getParent() != null ? spat.getParent() : spat;
62 Spatial currentSpatial = spat;
82 for (Spatial spatial : rootNode.getChildren()) {
83 if (spatial instanceof TerrainQuad) {
84 Boolean bool = spatial.getUserData(UserData.JME_PHYSICSIGNORE);
88 TerrainQuad terrain = (TerrainQuad) spatial;
89 Transform trans = getTransform(spatial, realRootNode)
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/blender/
TestBlenderLoader.java 39 import com.jme3.scene.Spatial;
53 Spatial ogre = assetManager.loadModel("Blender/2.4x/Sinbad.blend");
57 Spatial track = assetManager.loadModel("Blender/2.4x/MountainValley_Track.blend");
  /external/jmonkeyengine/engine/src/test/jme3test/model/
TestOgreLoading.java 41 import com.jme3.scene.Spatial;
50 Spatial lightMdl;
51 Spatial lightMd2;
92 Spatial elephant = (Spatial) assetManager.loadModel("Models/Elephant/Elephant.mesh.xml");
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestCartoonEdge.java 47 import com.jme3.scene.Spatial;
48 import com.jme3.scene.Spatial.CullHint;
71 public void makeToonish(Spatial spatial){
72 if (spatial instanceof Node){
73 Node n = (Node) spatial;
74 for (Spatial child : n.getChildren())
76 }else if (spatial instanceof Geometry){
77 Geometry g = (Geometry) spatial;
102 Spatial model = assetManager.loadModel("Models/MonkeyHead/MonkeyHead.mesh.xml")
    [all...]

Completed in 393 milliseconds

1 2 3 4 5 6 7