public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.writeSavableArrayList(children, "children", new ArrayList<ChildCollisionShape>()); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.writeSavableArrayList(children, "children", new ArrayList<ChildCollisionShape>()); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(points, "points", null); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(radius, "radius", 0.5f); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(radius, "radius", 0.5f); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ @Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(points, "points", null); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(plane, "collisionPlane", new Plane()); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(plane, "collisionPlane", new Plane()); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(halfExtents, "halfExtents", new Vector3f(1, 1, 1)); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(halfExtents, "halfExtents", new Vector3f(1, 1, 1)); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f)); capsule.write(axis, "axis", 1); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(radius, "radius", 0.5f); capsule.write(height, "height", 1); capsule.write(axis, "axis", 1); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f)); capsule.write(axis, "axis", 1); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(radius, "radius", 0.5f); capsule.write(height, "height", 0.5f); capsule.write(axis, "axis", PhysicsSpace.AXIS_Y); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(radius, "radius", 0.5f); capsule.write(height, "height", 0.5f); capsule.write(axis, "axis", PhysicsSpace.AXIS_Y); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(numVertices, "numVertices", 0); capsule.write(numTriangles, "numTriangles", 0); capsule.write(vertexStride, "vertexStride", 0); capsule.write(triangleIndexStride, "triangleIndexStride", 0); capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]); capsule.write(vertexBase.array(), "vertexBase", new byte[0]); }
/** * Serialize this shape, for example when saving to a J3O file. * * @param ex exporter (not null) * @throws IOException from exporter */ public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(radius, "radius", 0.5f); capsule.write(height, "height", 1); capsule.write(axis, "axis", 1); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(vector1, "simplexPoint1", null); capsule.write(vector2, "simplexPoint2", null); capsule.write(vector3, "simplexPoint3", null); capsule.write(vector4, "simplexPoint4", null); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(worldScale, "worldScale", new Vector3f(1, 1, 1)); capsule.write(numVertices, "numVertices", 0); capsule.write(numTriangles, "numTriangles", 0); capsule.write(vertexStride, "vertexStride", 0); capsule.write(triangleIndexStride, "triangleIndexStride", 0); capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]); capsule.write(vertexBase.array(), "vertexBase", new byte[0]); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule capsule = ex.getCapsule(this); capsule.write(heightStickWidth, "heightStickWidth", 0); capsule.write(heightStickLength, "heightStickLength", 0); capsule.write(heightScale, "heightScale", 0); capsule.write(minHeight, "minHeight", 0); capsule.write(maxHeight, "maxHeight", 0); capsule.write(upAxis, "upAxis", 1); capsule.write(heightfieldData, "heightfieldData", new float[0]); capsule.write(flipQuadEdges, "flipQuadEdges", false); }