public void readObject(DataInput in) throws IOException { super.readObject(in); ((SpotLight) node).setDirection(control.readVector3f(in)); ((SpotLight) node).setSpreadAngle(in.readFloat()); ((SpotLight) node).setConcentration(in.readFloat()); }