AppUtils

A class containing useful utility functions for your 3D apps.

Methods

.getPageParams : Object

Parse page GET params and returns object with parsed key-value data.

.loadScript (url, appendElem, callback) : null

url - Loaded script URL.
appendElem - The HTML element to append loaded script to.
callback - load event listener.
Load and execute the given JavaScript file.

.drawWatermark (elem, text) : null

elem -- The object to remove from the parent
text -- The scene to attach the object on.
Add watermark (copyright and/or possible information message) to your application.

Source

For more info on how to obtain the source code of this module see this page.