public void attachCenterCamera(GVRPerspectiveCamera camera) {
        if (camera.hasOwnerObject()) {
            camera.getOwnerObject().detachCamera();
        }

        centerCameraObject.attachCamera(camera);
        centerCamera = camera;
        NativeCameraRig.attachCenterCamera(getNative(), camera.getNative());
    }
public void attachCenterCamera ( GVRPerspectiveCamera camera ) { if ( camera . hasOwnerObject ( ) ) { camera . getOwnerObject ( ) . detachCamera ( ) ; } centerCameraObject . attachCamera ( camera ) ; centerCamera = camera ; NativeCameraRig . attachCenterCamera ( getNative ( ) , camera . getNative ( ) ) ; }
Attach a {@link GVRPerspectiveCamera camera} as the center camera of the camera rig.

@param camera
{@link GVRPerspectiveCamera Camera} to attach.