@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(cameraName, "cameraName", null);
    }
Used internally for serialization.

@param ex The exporter (not null).
@throws IOException If an I/O error occurs during serialization.
jme3-core/src/main/java/com/jme3/cinematic/events/CameraEvent.java