Create an App object.
Startup options. Note that you can only specify ONE of cameraOptions and threeObjects, as cameraOptions is intended to configure a new three.js camera, while threeObjects allows you to specify an existing camera, renderer and scene.
Emit an event.
the event to emit.
Remove an event handler.
the event to remove a handler from.
the event handler function to remove.
Add an event handler. Overridden from EventEmitter to create a ClickHandler for objectsIntersected event.
the event to handle.
the event handler function.
Start the app. Must be called after construction.
Promise resolving with LocAR object. Rejects with object containing code and message.
Application class to orchestrate the interaction between the individual LocAR classes and the Three.js camera, renderer and scene.