Home
last modified time | relevance | path

Searched refs:Spatial (Results 1 – 25 of 190) sorted by relevance

12345678

/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DNode.java61 public class Node extends Spatial implements Savable {
69 protected SafeArrayList<Spatial> children = new SafeArrayList<Spatial>(Spatial.class);
103 for (Spatial child : children.getArray()){ in setTransformRefresh()
114 for (Spatial child : children.getArray()){ in setLightListRefresh()
129 for (Spatial child : children.getArray()) { in updateWorldBound()
153 for (Spatial child : children.getArray()) { in updateLogicalState()
176 for (Spatial child : children.getArray()) { in updateGeometricState()
236 public int attachChild(Spatial child) { in attachChild()
274 public int attachChildAt(Spatial child, int index) { in attachChildAt()
303 public int detachChild(Spatial child) { in detachChild()
[all …]
DAssetLinkNode.java60 protected Map<ModelKey, Spatial> assetChildren = new HashMap<ModelKey, Spatial>();
96 Spatial child = manager.loadAsset(key); in attachLinkedChild()
101 public void attachLinkedChild(Spatial spat, ModelKey key) { in attachLinkedChild()
108 Spatial spatial = assetChildren.get(key); in detachLinkedChild()
116 public void detachLinkedChild(Spatial child, ModelKey key) { in detachLinkedChild()
131 Spatial curChild = assetChildren.get(assetKey); in attachLinkedChildren()
135 Spatial child = manager.loadAsset(assetKey); in attachLinkedChildren()
142 Set<Entry<ModelKey, Spatial>> set = assetChildren.entrySet(); in detachLinkedChildren()
143 for (Iterator<Entry<ModelKey, Spatial>> it = set.iterator(); it.hasNext();) { in detachLinkedChildren()
144 Entry<ModelKey, Spatial> entry = it.next(); in detachLinkedChildren()
[all …]
DSpatial.java66 public abstract class Spatial implements Savable, Cloneable, Collidable, Asset { class
68 private static final Logger logger = Logger.getLogger(Spatial.class.getName());
165 public Spatial() { in Spatial() method in Spatial
183 public Spatial(String name) { in Spatial() method in Spatial
217 Spatial p = parent; in setBoundRefresh()
249 if (cm == Spatial.CullHint.Always) { in checkCulling()
252 } else if (cm == Spatial.CullHint.Never) { in checkCulling()
475 Spatial[] stack = vars.spatialStack; in checkDoTransformUpdate()
476 Spatial rootNode = this; in checkDoTransformUpdate()
479 Spatial hisParent = rootNode.parent; in checkDoTransformUpdate()
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
DPhysicsCollisionObject.java43 import com.jme3.scene.Spatial;
55 protected Spatial debugShape;
162 protected Spatial attachDebugShape(AssetManager manager) { in attachDebugShape()
186 public Spatial createDebugShape(AssetManager manager){ in createDebugShape()
190 protected Spatial attachDebugShape(Material material) { in attachDebugShape()
201 public Spatial debugShape() { in debugShape()
210 protected Spatial attachDebugShape() { in attachDebugShape()
214 Spatial spatial = getDebugShape(); in attachDebugShape()
226 protected Spatial getDebugShape() { in getDebugShape()
227 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); in getDebugShape()
[all …]
DPhysicsCollisionEvent.java37 import com.jme3.scene.Spatial;
93 public Spatial getNodeA() { in getNodeA()
94 if (nodeA.getUserObject() instanceof Spatial) { in getNodeA()
95 return (Spatial) nodeA.getUserObject(); in getNodeA()
103 public Spatial getNodeB() { in getNodeB()
104 if (nodeB.getUserObject() instanceof Spatial) { in getNodeB()
105 return (Spatial) nodeB.getUserObject(); in getNodeB()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/
DPhysicsCollisionObject.java43 import com.jme3.scene.Spatial;
58 protected Spatial debugShape;
182 protected Spatial attachDebugShape(AssetManager manager) { in attachDebugShape()
206 public Spatial createDebugShape(AssetManager manager){ in createDebugShape()
210 protected Spatial attachDebugShape(Material material) { in attachDebugShape()
221 public Spatial debugShape() { in debugShape()
230 protected Spatial attachDebugShape() { in attachDebugShape()
234 Spatial spatial = getDebugShape(); in attachDebugShape()
246 protected Spatial getDebugShape() { in getDebugShape()
247 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); in getDebugShape()
[all …]
DPhysicsCollisionEvent.java35 import com.jme3.scene.Spatial;
88 public Spatial getNodeA() { in getNodeA()
89 if (nodeA.getUserObject() instanceof Spatial) { in getNodeA()
90 return (Spatial) nodeA.getUserObject(); in getNodeA()
98 public Spatial getNodeB() { in getNodeB()
99 if (nodeB.getUserObject() instanceof Spatial) { in getNodeB()
100 return (Spatial) nodeB.getUserObject(); in getNodeB()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
DCollisionShapeFactory.java59 private static Transform getTransform(Spatial spat, Spatial parent) { in getTransform()
61 Spatial parentNode = spat.getParent() != null ? spat.getParent() : spat; in getTransform()
62 Spatial currentSpatial = spat; in getTransform()
82 for (Spatial spatial : rootNode.getChildren()) { in createCompoundShape()
163 public static CollisionShape createMeshShape(Spatial spatial) { in createMeshShape()
184 public static CollisionShape createDynamicMeshShape(Spatial spatial) { in createDynamicMeshShape()
195 public static CollisionShape createBoxShape(Spatial spatial) { in createBoxShape()
210 private static MeshCollisionShape createSingleMeshShape(Geometry geom, Spatial parent) { in createSingleMeshShape()
227 private static BoxCollisionShape createSingleBoxShape(Spatial spatial, Spatial parent) { in createSingleBoxShape()
238 private static HullCollisionShape createSingleDynamicMeshShape(Geometry geom, Spatial parent) { in createSingleDynamicMeshShape()
/external/jmonkeyengine/engine/src/test/jme3test/tools/
DTestTextureAtlas.java41 import com.jme3.scene.Spatial;
56 Spatial obj1 = assetManager.loadModel("Models/Ferrari/Car.scene"); in simpleInitApp()
58 Spatial obj2 = assetManager.loadModel("Models/Oto/Oto.mesh.xml"); in simpleInitApp()
60 Spatial obj3 = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml"); in simpleInitApp()
62 Spatial obj4 = assetManager.loadModel("Models/Sinbad/Sinbad.mesh.xml"); in simpleInitApp()
64 Spatial obj5 = assetManager.loadModel("Models/Tree/Tree.mesh.j3o"); in simpleInitApp()
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DModelKey.java35 import com.jme3.scene.Spatial;
41 public class ModelKey extends AssetKey<Spatial> {
57 Spatial model = (Spatial) asset; in createClonedInstance()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DViewPort.java38 import com.jme3.scene.Spatial;
71 protected final ArrayList<Spatial> sceneList = new ArrayList<Spatial>();
282 public void attachScene(Spatial scene){ in attachScene()
293 public void detachScene(Spatial scene){ in detachScene()
313 public List<Spatial> getScenes(){ in getScenes()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DAbstractControl.java41 import com.jme3.scene.Spatial;
52 protected Spatial spatial;
57 public void setSpatial(Spatial spatial) { in setSpatial()
64 public Spatial getSpatial(){ in getSpatial()
109 spatial = (Spatial) ic.readSavable("spatial", null); in read()
DControl.java38 import com.jme3.scene.Spatial;
56 public Control cloneForSpatial(Spatial spatial); in cloneForSpatial()
62 public void setSpatial(Spatial spatial); in setSpatial()
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
DTestBlenderObjectAnim.java44 import com.jme3.scene.Spatial;
69 Spatial scene = (Spatial) assetManager.loadModel(blenderKey); in simpleInitApp()
72 Spatial model = this.findNode(rootNode, "TestAnim"); in simpleInitApp()
87 private Spatial findNode(Node rootNode, String name) { in findNode()
DTestBlenderAnim.java44 import com.jme3.scene.Spatial;
69 Spatial scene = (Spatial) assetManager.loadModel(blenderKey); in simpleInitApp()
72 Spatial model = this.findNode(rootNode, "BaseMesh_01"); in simpleInitApp()
87 private Spatial findNode(Node rootNode, String name) { in findNode()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DSkyFactory.java10 import com.jme3.scene.Spatial;
45 …public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, … in createSky()
69 …public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, … in createSky()
77 sky.setCullHint(Spatial.CullHint.Never); in createSky()
142 …public static Spatial createSky(AssetManager assetManager, Texture west, Texture east, Texture nor… in createSky()
146 …public static Spatial createSky(AssetManager assetManager, Texture west, Texture east, Texture nor… in createSky()
150 sky.setCullHint(Spatial.CullHint.Never); in createSky()
199 …public static Spatial createSky(AssetManager assetManager, Texture west, Texture east, Texture nor… in createSky()
203 public static Spatial createSky(AssetManager assetManager, Texture texture, boolean sphereMap) { in createSky()
207 …public static Spatial createSky(AssetManager assetManager, String textureName, boolean sphereMap) { in createSky()
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
DScaleTrack.java16 import com.jme3.scene.Spatial;
32 private Spatial spatial;
51 public ScaleTrack(Spatial spatial, Vector3f endScale) { in ScaleTrack()
57 … public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration, LoopMode loopMode) { in ScaleTrack()
64 public ScaleTrack(Spatial spatial, Vector3f endScale, LoopMode loopMode) { in ScaleTrack()
71 public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration) { in ScaleTrack()
DMotionTrack.java48 import com.jme3.scene.Spatial;
62 protected Spatial spatial;
119 public MotionTrack(Spatial spatial, MotionPath path) { in MotionTrack()
131 public MotionTrack(Spatial spatial, MotionPath path, float initialDuration) { in MotionTrack()
143 public MotionTrack(Spatial spatial, MotionPath path, LoopMode loopMode) { in MotionTrack()
156 public MotionTrack(Spatial spatial, MotionPath path, float initialDuration, LoopMode loopMode) { in MotionTrack()
263 public Control cloneForSpatial(Spatial spatial) { in cloneForSpatial()
425 public void setSpatial(Spatial spatial) { in setSpatial()
429 public Spatial getSpatial() { in getSpatial()
DPositionTrack.java16 import com.jme3.scene.Spatial;
32 private Spatial spatial;
39 public PositionTrack(Spatial spatial, Vector3f endPosition) { in PositionTrack()
57 …public PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration, LoopMode loopMo… in PositionTrack()
64 public PositionTrack(Spatial spatial, Vector3f endPosition, LoopMode loopMode) { in PositionTrack()
71 public PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration) { in PositionTrack()
DRotationTrack.java15 import com.jme3.scene.Spatial;
32 private Spatial spatial;
51 public RotationTrack(Spatial spatial, Quaternion endRotation) { in RotationTrack()
57 …public RotationTrack(Spatial spatial, Quaternion endRotation, float initialDuration, LoopMode loop… in RotationTrack()
64 public RotationTrack(Spatial spatial, Quaternion endRotation, LoopMode loopMode) { in RotationTrack()
71 public RotationTrack(Spatial spatial, Quaternion endRotation, float initialDuration) { in RotationTrack()
DAnimationTrack.java44 import com.jme3.scene.Spatial;
63 public AnimationTrack(Spatial model, String animationName) { in AnimationTrack()
69 public AnimationTrack(Spatial model, String animationName, float initialDuration) { in AnimationTrack()
75 public AnimationTrack(Spatial model, String animationName, LoopMode loopMode) { in AnimationTrack()
82 …public AnimationTrack(Spatial model, String animationName, float initialDuration, LoopMode loopMod… in AnimationTrack()
96 Spatial model = cinematic.getScene().getChild(modelName); in initEvent()
/external/jmonkeyengine/engine/src/test/jme3test/model/
DTestOgreLoading.java41 import com.jme3.scene.Spatial;
50 Spatial lightMdl;
51 Spatial lightMd2;
92 Spatial elephant = (Spatial) assetManager.loadModel("Models/Elephant/Elephant.mesh.xml"); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestCartoonEdge.java47 import com.jme3.scene.Spatial;
48 import com.jme3.scene.Spatial.CullHint;
71 public void makeToonish(Spatial spatial){ in makeToonish()
74 for (Spatial child : n.getChildren()) in makeToonish()
102 Spatial model = assetManager.loadModel("Models/MonkeyHead/MonkeyHead.mesh.xml"); in setupModel()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
DPhysicsSpace.java48 import com.jme3.scene.Spatial;
394 } else if (obj instanceof Spatial) { in add()
395 Spatial node = (Spatial) obj; in add()
426 } else if (obj instanceof Spatial) { in remove()
427 Spatial node = (Spatial) obj; in remove()
454 public void addAll(Spatial spatial) { in addAll()
488 List<Spatial> children = ((Node) spatial).getChildren(); in addAll()
489 for (Iterator<Spatial> it = children.iterator(); it.hasNext();) { in addAll()
490 Spatial spat = it.next(); in addAll()
501 public void removeAll(Spatial spatial) { in removeAll()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloAssets.java41 import com.jme3.scene.Spatial;
57 Spatial teapot = assetManager.loadModel("Models/Teapot/Teapot.obj"); in simpleInitApp()
64 Spatial wall = new Geometry("Box", box ); in simpleInitApp()
81 Spatial ninja = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml"); in simpleInitApp()

12345678