HomeSort by relevance Sort by last modified time
    Searched defs:spatial (Results 1 - 21 of 21) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
RotationTrack.java 15 import com.jme3.scene.Spatial;
24 * @deprecated use spatial animation instead.
32 private Spatial spatial; field in class:RotationTrack
39 if (spatial == null) {
40 spatial = cinematic.getScene().getChild(spatialName);
41 if (spatial == null) {
43 log.log(Level.WARNING, "spatial {0} not found in the scene", spatialName);
51 public RotationTrack(Spatial spatial, Quaternion endRotation)
    [all...]
MotionTrack.java 48 import com.jme3.scene.Spatial;
54 * A MotionTrack is a control over the spatial that manage the position and direction of the spatial while following a motion Path
56 * You must first create a MotionPath and then create a MotionTrack to associate a spatial and the path.
62 protected Spatial spatial; field in class:MotionTrack
73 * the distance traveled by the spatial on the path
108 * when using this constructor don't forget to assign spatial and path
115 * Creates a MotionPath for the given spatial on the given motion path
116 * @param spatial
    [all...]
PositionTrack.java 16 import com.jme3.scene.Spatial;
24 * @deprecated use spatial animation instead.
32 private Spatial spatial; field in class:PositionTrack
39 public PositionTrack(Spatial spatial, Vector3f endPosition) {
41 this.spatial = spatial;
42 spatialName = spatial.getName();
48 if (spatial == null)
    [all...]
ScaleTrack.java 16 import com.jme3.scene.Spatial;
24 * @deprecated use spatial animation instead.
32 private Spatial spatial; field in class:ScaleTrack
39 if (spatial == null) {
40 spatial = cinematic.getScene().getChild(spatialName);
41 if (spatial == null) {
43 log.log(Level.WARNING, "spatial {0} not found in the scene", spatialName);
51 public ScaleTrack(Spatial spatial, Vector3f endScale)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
CameraControl.java 41 import com.jme3.scene.Spatial;
48 * of the current spatial.
57 * to the Transform of the Spatial.
61 * Means, that the Spatial's transform is "copied"
109 if (spatial != null && camera != null) {
112 camera.setLocation(spatial.getWorldTranslation());
113 camera.setRotation(spatial.getWorldRotation());
120 Vector3f vecDiff = vars.vect1.set(camera.getLocation()).subtractLocal(spatial.getWorldTranslation());
121 spatial.setLocalTranslation(vecDiff.addLocal(spatial.getLocalTranslation()))
    [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...]
LightControl.java 42 import com.jme3.scene.Spatial;
49 * of the current spatial.
58 * to the Transform of the Spatial.
62 * Means, that the Spatial's transform is "copied"
110 if (spatial != null && light != null) {
124 ((PointLight) light).setPosition(spatial.getWorldTranslation());
129 ((DirectionalLight) light).setDirection(vars.vect1.set(spatial.getWorldTranslation()).multLocal(-1.0f));
134 // ((SpotLight)light).setPosition(spatial.getWorldTranslation());
135 // ((SpotLight)light).setRotation(spatial.getWorldRotation());
146 Vector3f vecDiff = vars.vect1.set(pLight.getPosition()).subtractLocal(spatial.getWorldTranslation())
    [all...]
BillboardControl.java 47 import com.jme3.scene.Spatial;
90 public Control cloneForSpatial(Spatial spatial) {
93 control.setSpatial(spatial);
109 spatial.updateGeometricState();
112 Spatial rootNode = spatial;
150 spatial.getWorldTranslation());
178 spatial.setLocalRotation(orient);
195 Node parent = spatial.getParent()
    [all...]
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
GhostControl.java 18 import com.jme3.scene.Spatial;
23 * A GhostControl moves with the spatial it is attached to and can be used to check
29 protected Spatial spatial; field in class:GhostControl
48 * translation of the Spatial
57 return spatial.getLocalTranslation();
59 return spatial.getWorldTranslation();
64 return spatial.getLocalRotation();
66 return spatial.getWorldRotation();
69 public Control cloneForSpatial(Spatial spatial)
    [all...]
RigidBodyControl.java 23 import com.jme3.scene.Spatial;
35 protected Spatial spatial; field in class:RigidBodyControl
46 * automatically when the Control is added to a Spatial.
65 public Control cloneForSpatial(Spatial spatial) {
89 control.setSpatial(spatial);
93 public void setSpatial(Spatial spatial) {
94 if (getUserObject() == null || getUserObject() == this.spatial) {
    [all...]
VehicleControl.java 21 import com.jme3.scene.Spatial;
33 protected Spatial spatial; field in class:VehicleControl
59 * translation of the Spatial
72 return spatial.getLocalTranslation();
74 return spatial.getWorldTranslation();
79 return spatial.getLocalRotation();
81 return spatial.getWorldRotation();
84 public Control cloneForSpatial(Spatial spatial) {
    [all...]
CharacterControl.java 18 import com.jme3.scene.Spatial;
28 protected Spatial spatial; field in class:CharacterControl
49 * translation of the Spatial
58 return spatial.getLocalTranslation();
60 return spatial.getWorldTranslation();
63 public Control cloneForSpatial(Spatial spatial) {
77 control.setSpatial(spatial);
81 public void setSpatial(Spatial spatial)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
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...]
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
BombControl.java 99 if (effect != null && spatial.getParent() != null) {
101 effect.setLocalTranslation(spatial.getLocalTranslation());
102 spatial.getParent().attachChild(effect);
106 spatial.removeFromParent();
140 if(spatial.getParent()!=null){
143 spatial.removeFromParent();
PhysicsHoverControl.java 47 import com.jme3.scene.Spatial;
57 protected Spatial spatial; field in class:PhysicsHoverControl
97 public Control cloneForSpatial(Spatial spatial) {
101 public void setSpatial(Spatial spatial) {
102 this.spatial = spatial;
103 setUserObject(spatial);
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
CalculationBone.java 8 import com.jme3.scene.Spatial;
91 public int attachChild(Spatial child) {
98 public Spatial rotate(Quaternion rot, int frame) {
99 Spatial spatial = super.rotate(rot); local
110 return spatial;
  /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/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...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
Feature.java 8 import com.jme3.scene.Spatial;
26 /** The spatial that is hold by the Feature. */
27 protected Spatial spatial; field in class:Feature
39 * the spatial's evaluation space
41 * the spatial's old memory address
52 * Constructs the feature based on spatial.
54 * @param spatial
55 * the spatial
57 * the spatial's evaluation space
    [all...]
  /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/core/com/jme3/animation/
SpatialTrack.java 9 import com.jme3.scene.Spatial;
15 * This class represents the track for spatial animation.
45 * Creates a spatial track for the given track data.
63 * Modify the spatial which this track modifies.
69 Spatial spatial = control.getSpatial(); local
126 spatial.setLocalTranslation(tempV);
128 spatial.setLocalRotation(tempQ);
130 spatial.setLocalScale(tempS);

Completed in 241 milliseconds