@Override public void writeObject( DataOutput out ) throws IOException { super.writeObject( out ); PolygonAttributes polyAttr = (PolygonAttributes)node; out.writeBoolean( polyAttr.getBackFaceNormalFlip() ); out.writeInt( polyAttr.getCullFace() ); out.writeInt( polyAttr.getPolygonMode() ); out.writeFloat( polyAttr.getPolygonOffset() ); out.writeFloat( polyAttr.getPolygonOffsetFactor() ); }