コード例 #1
0
 public void read(JMEImporter e) throws IOException {
   super.read(e);
   InputCapsule capsule = e.getCapsule(this);
   patch = (BezierPatch) capsule.readSavable("patch", null);
 }
コード例 #2
0
 public void write(JMEExporter e) throws IOException {
   super.write(e);
   OutputCapsule capsule = e.getCapsule(this);
   capsule.write(patch, "patch", null);
 }