@Override public void readObject( DataInput in ) throws IOException { super.readObject( in ); RenderingAttributes attr = (RenderingAttributes)node; attr.setAlphaTestFunction( in.readInt() ); attr.setAlphaTestValue( in.readFloat() ); attr.setDepthBufferEnable( in.readBoolean() ); attr.setDepthBufferWriteEnable( in.readBoolean() ); attr.setIgnoreVertexColors( in.readBoolean() ); attr.setRasterOp( in.readInt() ); attr.setRasterOpEnable( in.readBoolean() ); attr.setVisible( in.readBoolean() ); }