clearViewOffset method

void clearViewOffset()

Removes any offset set by the .setViewOffset method.

Implementation

void clearViewOffset() {
  if (view != null) {
    view!.enabled = false;
  }

  updateProjectionMatrix();
}