code: function () {
      var camera;
      var el = this.el;
  
      // Create camera.
      camera = this.camera = new THREE.PerspectiveCamera();
      el.setObject3D('camera', camera);
    }
docs: Initialize three.js camera and add it to the entity.
  Add reference from scene to this entity as the camera.