Abstract
Optional
configOptional
mobileDetermines if the current device is a mobile device
Optional
storageCreates a new instance of this class based on the given JSON.
Set the Camera to be used. This will switch the camera internally and dispatch a signal.
Camera to be set
Set the THREE.Scene | Scene to be rendered.
THREE.Scene | Scene to be rendered.
E2E test method.
This method should return true
if the test passes, and false
if it fails.
Check the method itself for more information.
Whether to show the debug panel.
Returns a JSON representation of this class.
Abstract class for all viewers.
Each method begins with some manipulation of the scene, the objects or the camera. This means that the arguments are sometimes mutated. This is fine. This is by design.
Finally, when everything is ok - a signal is dispatched. Check the methods' implementations for more details.