@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.writeStringSavableMap(animClipMap, "animClipMap", new HashMap<String, AnimClip>()); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(terrain, "terrain", null); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(skeleton, "skeleton", null); oc.writeStringSavableMap(animationMap, "animations", null); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(controlDir, CONTROL_DIR_NAME, ControlDirection.SpatialToCamera); oc.write(camera, CAMERA_NAME, null); } }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(controlDir, CONTROL_DIR_NAME, ControlDirection.SpatialToLight); oc.write(light, LIGHT_NAME, null); } }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(skeleton, "skeleton", null); oc.write(numberOfBonesParam, "numberOfBonesParam", null); oc.write(boneMatricesParam, "boneMatricesParam", null); }
@Override public void write(final JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write((Node)terrain, "terrain", null); oc.write(lodCalculator, "lodCalculator", null); oc.write(useRenderCamera, "useRenderCamera", false); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(armature, "armature", null); oc.write(numberOfJointsParam, "numberOfBonesParam", null); oc.write(jointMatricesParam, "boneMatricesParam", null); }
@Override public void write(JmeExporter e) throws IOException { super.write(e); OutputCapsule capsule = e.getCapsule(this); capsule.write(orient, "orient", null); capsule.write(look, "look", null); capsule.write(left, "left", null); capsule.write(alignment, "alignment", Alignment.Screen); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(trisPerPixel, "trisPerPixel", 1f); oc.write(distTolerance, "distTolerance", 1f); oc.write(numLevels, "numLevels", 0); oc.write(numTris, "numTris", null); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(terrain, "terrain", null); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(skeleton, "skeleton", null); //Targets and materials don't need to be saved, they'll be gathered on each frame }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(skeleton, "skeleton", null); oc.writeStringSavableMap(animationMap, "animations", null); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(skeleton, "skeleton", null); oc.writeStringSavableMap(animationMap, "animations", null); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(controlDir, CONTROL_DIR_NAME, ControlDirection.SpatialToCamera); oc.write(camera, CAMERA_NAME, null); } }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(controlDir, CONTROL_DIR_NAME, ControlDirection.SpatialToCamera); oc.write(camera, CAMERA_NAME, null); } }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(controlDir, CONTROL_DIR_NAME, ControlDirection.SpatialToLight); oc.write(light, LIGHT_NAME, null); } }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write((Node)terrain, "terrain", null); oc.write(lodCalculator, "lodCalculator", null); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(state, "state", FridgeDoorControl.STATE.CLOSED); oc.write(angularSpeed, "angularSpeed", FastMath.QUARTER_PI); oc.write(openingAngle, "openingAngle", FastMath.HALF_PI * 0.7f); } }
@Override public void write(JmeExporter e) throws IOException { super.write(e); OutputCapsule capsule = e.getCapsule(this); capsule.write(orient, "orient", null); capsule.write(look, "look", null); capsule.write(left, "left", null); capsule.write(alignment, "alignment", Alignment.Screen); }