HomeSort by relevance Sort by last modified time
    Searched full:capsule (Results 26 - 50 of 92) sorted by null

12 3 4

  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
PhysicsCharacter.java 262 OutputCapsule capsule = e.getCapsule(this); local
263 capsule.write(stepHeight, "stepHeight", 1.0f);
264 capsule.write(getGravity(), "gravity", 9.8f * 3);
265 capsule.write(getMaxSlope(), "maxSlope", 1.0f);
266 capsule.write(fallSpeed, "fallSpeed", 55.0f);
267 capsule.write(jumpSpeed, "jumpSpeed", 10.0f);
268 capsule.write(upAxis, "upAxis", 1);
269 capsule.write(getCcdMotionThreshold(), "ccdMotionThreshold", 0);
270 capsule.write(getCcdSweptSphereRadius(), "ccdSweptSphereRadius", 0);
271 capsule.write(getPhysicsLocation(new Vector3f()), "physicsLocation", new Vector3f())
277 InputCapsule capsule = e.getCapsule(this); local
    [all...]
PhysicsRigidBody.java 655 OutputCapsule capsule = e.getCapsule(this); local
657 capsule.write(getMass(), "mass", 1.0f);
659 capsule.write(getGravity(), "gravity", Vector3f.ZERO);
660 capsule.write(getFriction(), "friction", 0.5f);
661 capsule.write(getRestitution(), "restitution", 0);
662 capsule.write(getAngularFactor(), "angularFactor", 1);
663 capsule.write(kinematic, "kinematic", false);
665 capsule.write(constructionInfo.linearDamping, "linearDamping", 0);
666 capsule.write(constructionInfo.angularDamping, "angularDamping", 0);
667 capsule.write(constructionInfo.linearSleepingThreshold, "linearSleepingThreshold", 0.8f)
683 InputCapsule capsule = e.getCapsule(this); local
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
MeshCollisionShape.java 107 OutputCapsule capsule = ex.getCapsule(this); local
108 capsule.write(numVertices, "numVertices", 0);
109 capsule.write(numTriangles, "numTriangles", 0);
110 capsule.write(vertexStride, "vertexStride", 0);
111 capsule.write(triangleIndexStride, "triangleIndexStride", 0);
113 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]);
114 capsule.write(vertexBase.array(), "vertexBase", new byte[0]);
119 InputCapsule capsule = im.getCapsule(this); local
120 numVertices = capsule.readInt("numVertices", 0);
121 numTriangles = capsule.readInt("numTriangles", 0);
    [all...]
PlaneCollisionShape.java 43 OutputCapsule capsule = ex.getCapsule(this); local
44 capsule.write(plane, "collisionPlane", new Plane());
49 InputCapsule capsule = im.getCapsule(this); local
50 plane = (Plane) capsule.readSavable("collisionPlane", new Plane());
HullCollisionShape.java 38 OutputCapsule capsule = ex.getCapsule(this); local
39 capsule.write(points, "points", null);
45 InputCapsule capsule = im.getCapsule(this); local
48 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null);
52 this.points = capsule.readFloatArray("points", null);
CollisionShape.java 111 OutputCapsule capsule = ex.getCapsule(this); local
112 capsule.write(scale, "scale", new Vector3f(1, 1, 1));
113 capsule.write(getMargin(), "margin", 0.0f);
117 InputCapsule capsule = im.getCapsule(this); local
118 this.scale = (Vector3f) capsule.readSavable("scale", new Vector3f(1, 1, 1));
119 this.margin = capsule.readFloat("margin", 0.0f);
CylinderCollisionShape.java 86 OutputCapsule capsule = ex.getCapsule(this); local
87 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
88 capsule.write(axis, "axis", 1);
93 InputCapsule capsule = im.getCapsule(this); local
94 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
95 axis = capsule.readInt("axis", 1);
SphereCollisionShape.java 68 OutputCapsule capsule = ex.getCapsule(this); local
69 capsule.write(radius, "radius", 0.5f);
74 InputCapsule capsule = im.getCapsule(this); local
75 radius = capsule.readFloat("radius", 0.5f);
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/joints/
ConeJoint.java 104 OutputCapsule capsule = ex.getCapsule(this); local
105 capsule.write(rotA, "rotA", new Matrix3f());
106 capsule.write(rotB, "rotB", new Matrix3f());
108 capsule.write(angularOnly, "angularOnly", false);
109 capsule.write(swingSpan1, "swingSpan1", 1e30f);
110 capsule.write(swingSpan2, "swingSpan2", 1e30f);
111 capsule.write(twistSpan, "twistSpan", 1e30f);
117 InputCapsule capsule = im.getCapsule(this); local
118 this.rotA = (Matrix3f) capsule.readSavable("rotA", new Matrix3f());
119 this.rotB = (Matrix3f) capsule.readSavable("rotB", new Matrix3f())
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
MeshCollisionShape.java 89 OutputCapsule capsule = ex.getCapsule(this); local
90 capsule.write(numVertices, "numVertices", 0);
91 capsule.write(numTriangles, "numTriangles", 0);
92 capsule.write(vertexStride, "vertexStride", 0);
93 capsule.write(triangleIndexStride, "triangleIndexStride", 0);
95 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]);
96 capsule.write(vertexBase.array(), "vertexBase", new byte[0]);
101 InputCapsule capsule = im.getCapsule(this); local
102 numVertices = capsule.readInt("numVertices", 0);
103 numTriangles = capsule.readInt("numTriangles", 0)
    [all...]
HullCollisionShape.java 37 OutputCapsule capsule = ex.getCapsule(this); local
38 capsule.write(points, "points", null);
44 InputCapsule capsule = im.getCapsule(this); local
47 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null);
51 this.points = capsule.readFloatArray("points", null);
CollisionShape.java 101 OutputCapsule capsule = ex.getCapsule(this); local
102 capsule.write(scale, "scale", new Vector3f(1, 1, 1));
103 capsule.write(getMargin(), "margin", 0.0f);
107 InputCapsule capsule = im.getCapsule(this); local
108 this.scale = (Vector3f) capsule.readSavable("scale", new Vector3f(1, 1, 1));
109 this.margin = capsule.readFloat("margin", 0.0f);
CylinderCollisionShape.java 88 OutputCapsule capsule = ex.getCapsule(this); local
89 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
90 capsule.write(axis, "axis", 1);
95 InputCapsule capsule = im.getCapsule(this); local
96 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
97 axis = capsule.readInt("axis", 1);
BoxCollisionShape.java 69 OutputCapsule capsule = ex.getCapsule(this); local
70 capsule.write(halfExtents, "halfExtents", new Vector3f(1, 1, 1));
75 InputCapsule capsule = im.getCapsule(this); local
76 Vector3f halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(1, 1, 1));
SphereCollisionShape.java 68 OutputCapsule capsule = ex.getCapsule(this); local
69 capsule.write(radius, "radius", 0.5f);
74 InputCapsule capsule = im.getCapsule(this); local
75 radius = capsule.readFloat("radius", 0.5f);
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
ConeJoint.java 101 OutputCapsule capsule = ex.getCapsule(this); local
102 capsule.write(rotA, "rotA", new Matrix3f());
103 capsule.write(rotB, "rotB", new Matrix3f());
105 capsule.write(angularOnly, "angularOnly", false);
106 capsule.write(swingSpan1, "swingSpan1", 1e30f);
107 capsule.write(swingSpan2, "swingSpan2", 1e30f);
108 capsule.write(twistSpan, "twistSpan", 1e30f);
114 InputCapsule capsule = im.getCapsule(this); local
115 this.rotA = (Matrix3f) capsule.readSavable("rotA", new Matrix3f());
116 this.rotB = (Matrix3f) capsule.readSavable("rotB", new Matrix3f())
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
PQTorus.java 110 InputCapsule capsule = e.getCapsule(this); local
111 p = capsule.readFloat("p", 0);
112 q = capsule.readFloat("q", 0);
113 radius = capsule.readFloat("radius", 0);
114 width = capsule.readFloat("width", 0);
115 steps = capsule.readInt("steps", 0);
116 radialSamples = capsule.readInt("radialSamples", 0);
230 OutputCapsule capsule = e.getCapsule(this); local
231 capsule.write(p, "p", 0);
232 capsule.write(q, "q", 0)
    [all...]
AbstractBox.java 194 InputCapsule capsule = e.getCapsule(this); local
195 xExtent = capsule.readFloat("xExtent", 0);
196 yExtent = capsule.readFloat("yExtent", 0);
197 zExtent = capsule.readFloat("zExtent", 0);
198 center.set((Vector3f) capsule.readSavable("center", Vector3f.ZERO.clone()));
204 OutputCapsule capsule = e.getCapsule(this); local
205 capsule.write(xExtent, "xExtent", 0);
206 capsule.write(yExtent, "yExtent", 0);
207 capsule.write(zExtent, "zExtent", 0);
208 capsule.write(center, "center", Vector3f.ZERO)
    [all...]
Torus.java 108 InputCapsule capsule = e.getCapsule(this); local
109 circleSamples = capsule.readInt("circleSamples", 0);
110 radialSamples = capsule.readInt("radialSamples", 0);
111 innerRadius = capsule.readFloat("innerRadius", 0);
112 outerRadius = capsule.readFloat("outerRaidus", 0);
248 OutputCapsule capsule = e.getCapsule(this); local
249 capsule.write(circleSamples, "circleSamples", 0);
250 capsule.write(radialSamples, "radialSamples", 0);
251 capsule.write(innerRadius, "innerRadius", 0);
252 capsule.write(outerRadius, "outerRadius", 0)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Ring.java 205 OutputCapsule capsule = e.getCapsule(this); local
206 capsule.write(center, "center", Vector3f.ZERO);
207 capsule.write(up, "up", Vector3f.UNIT_Z);
208 capsule.write(innerRadius, "innerRadius", 0f);
209 capsule.write(outerRadius, "outerRadius", 1f);
213 InputCapsule capsule = e.getCapsule(this); local
214 center = (Vector3f) capsule.readSavable("center",
216 up = (Vector3f) capsule
218 innerRadius = capsule.readFloat("innerRadius", 0f);
219 outerRadius = capsule.readFloat("outerRadius", 1f);
    [all...]
Rectangle.java 172 OutputCapsule capsule = e.getCapsule(this); local
173 capsule.write(a, "a", Vector3f.ZERO);
174 capsule.write(b, "b", Vector3f.ZERO);
175 capsule.write(c, "c", Vector3f.ZERO);
179 InputCapsule capsule = e.getCapsule(this); local
180 a = (Vector3f) capsule.readSavable("a", Vector3f.ZERO.clone());
181 b = (Vector3f) capsule.readSavable("b", Vector3f.ZERO.clone());
182 c = (Vector3f) capsule.readSavable("c", Vector3f.ZERO.clone());
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
PhysicsRigidBody.java 704 OutputCapsule capsule = e.getCapsule(this); local
706 capsule.write(getMass(), "mass", 1.0f);
708 capsule.write(getGravity(), "gravity", Vector3f.ZERO);
709 capsule.write(getFriction(), "friction", 0.5f);
710 capsule.write(getRestitution(), "restitution", 0);
711 capsule.write(getAngularFactor(), "angularFactor", 1);
712 capsule.write(kinematic, "kinematic", false);
714 capsule.write(getLinearDamping(), "linearDamping", 0);
715 capsule.write(getAngularDamping(), "angularDamping", 0);
716 capsule.write(getLinearSleepingThreshold(), "linearSleepingThreshold", 0.8f)
732 InputCapsule capsule = e.getCapsule(this); local
    [all...]
PhysicsGhostObject.java 284 OutputCapsule capsule = e.getCapsule(this); local
285 capsule.write(getPhysicsLocation(new Vector3f()), "physicsLocation", new Vector3f());
286 capsule.write(getPhysicsRotationMatrix(new Matrix3f()), "physicsRotation", new Matrix3f());
287 capsule.write(getCcdMotionThreshold(), "ccdMotionThreshold", 0);
288 capsule.write(getCcdSweptSphereRadius(), "ccdSweptSphereRadius", 0);
294 InputCapsule capsule = e.getCapsule(this); local
296 setPhysicsLocation((Vector3f) capsule.readSavable("physicsLocation", new Vector3f()));
297 setPhysicsRotation(((Matrix3f) capsule.readSavable("physicsRotation", new Matrix3f())));
298 setCcdMotionThreshold(capsule.readFloat("ccdMotionThreshold", 0));
299 setCcdSweptSphereRadius(capsule.readFloat("ccdSweptSphereRadius", 0))
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/texture/
Texture3D.java 210 OutputCapsule capsule = e.getCapsule(this); local
211 capsule.write(wrapS, "wrapS", WrapMode.EdgeClamp);
212 capsule.write(wrapT, "wrapT", WrapMode.EdgeClamp);
213 capsule.write(wrapR, "wrapR", WrapMode.EdgeClamp);
219 InputCapsule capsule = e.getCapsule(this); local
220 wrapS = capsule.readEnum("wrapS", WrapMode.class, WrapMode.EdgeClamp);
221 wrapT = capsule.readEnum("wrapT", WrapMode.class, WrapMode.EdgeClamp);
222 wrapR = capsule.readEnum("wrapR", WrapMode.class, WrapMode.EdgeClamp);
TextureCubeMap.java 192 OutputCapsule capsule = e.getCapsule(this); local
193 capsule.write(wrapS, "wrapS", WrapMode.EdgeClamp);
194 capsule.write(wrapT, "wrapT", WrapMode.EdgeClamp);
195 capsule.write(wrapR, "wrapR", WrapMode.EdgeClamp);
201 InputCapsule capsule = e.getCapsule(this); local
202 wrapS = capsule.readEnum("wrapS", WrapMode.class, WrapMode.EdgeClamp);
203 wrapT = capsule.readEnum("wrapT", WrapMode.class, WrapMode.EdgeClamp);
204 wrapR = capsule.readEnum("wrapR", WrapMode.class, WrapMode.EdgeClamp);

Completed in 1989 milliseconds

12 3 4