calls the .onLoadFinished callback after all loading
actions were finished successfully or not
removes the preloader, starts the rendering cycle and
executes the logic script successively by calling the
.run method.
Constructor
AppPuzzles(containerId, ctxSettings, preloader)
containerId - the id of an HTML-element containing the canvas. ctxSettings - the WebGL context attributes to be passed in the 'canvas.getContext()' method. preloader - the application's Preloader.
An object containing functions created in the Puzzles Editor to
access them from the application's code. Typical usage: calling a
function manually, setting/overriding a function.
Load a gltf scene along with the Puzzles Editor. The editor needs
to be provided with the path to the target logic JS file (specified
by the logicURL parameter) and with the path to the Puzzles
Editor's resource folder (specified by the editorDir parameter,
should have the content of the SDK's 'puzzles' folder).
A callback, called when all loading actions are finsihed successfully
or not, which is indicated by its parameters: sceneLoaded,
logicLoaded and editorLoaded.
By default calls the .run method if a scene was loaded.