@Override
    public void read(JmeImporter im) throws IOException {
        super.read(im);
        InputCapsule ic = im.getCapsule(this);
        controlDir = ic.readEnum(CONTROL_DIR_NAME, ControlDirection.class, ControlDirection.SpatialToCamera);
        camera = (Camera)ic.readSavable(CAMERA_NAME, null);
    }
@param camera The Camera to be synced.
@param controlDir SpatialToCamera or CameraToSpatial
jme3-core/src/main/java/com/jme3/scene/control/CameraControl.java