code: function (newCameraEl) {
      var cameraEl;
      var cameraEls;
      var i;
      var newCamera;
      var previousCamera = this.activeCameraEl;
      var sceneEl = this.sceneEl;
  
      // Same camera.
      newCamera = newCameraEl.getObject3D('camera');
      if (!newCamera || newCameraEl === this.activeCameraEl) { return; }
  
      // Grab the default camera.
      var defaultCameraWrapper = sceneEl.querySelector('[' + DEFAULT_CAMERA_ATTR + ']');
      var defaultCameraEl = defaultCameraWrapper &&
                            defaultCameraWrapper.querySelector('[camera]');
  
      // Remove default camera if new camera is not the default camera.
      if (newCameraEl !== defaultCameraEl) { removeDefaultCamera(sceneEl); }
  
      // Make new camera active.
      this.activeCameraEl = newCameraEl;
      this.activeCameraEl.play();
      sceneEl.camera = newCamera;
  
      // Disable current camera
      if (previousCamera) {
        previousCamera.setAttribute('camera', 'active', false);
      }
  
      // Disable other cameras in the scene
      cameraEls = sceneEl.querySelectorAll('[camera]');
      for (i = 0; i < cameraEls.length; i++) {
        cameraEl = cameraEls[i];
        if (!cameraEl.isEntity || newCameraEl === cameraEl) { continue; }
        cameraEl.setAttribute('camera', 'active', false);
        cameraEl.pause();
      }
      sceneEl.emit('camera-set-active', {cameraEl: newCameraEl});
    }
docs: Set active camera to be used by renderer.
  Removes the default camera (if present).
  Disables all other cameras in the scene.
  
  @param {Element} newCameraEl - Entity with camera component.