bindCamera method

void bindCamera(
  1. Camera camera
)

Binds the camera

Implementation

void bindCamera(Camera camera) {
  this.camera = camera;
  setDisplaySize(camera.pixelWidth, camera.pixelHeight);
}