Module: AxesHelperGui

Adds AxesHelper settings folder into dat.gui.
Author:
License:
  • under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Source:
See:

(require("AxesHelperGui"))(options, guiopt)

Adds AxesHelper settings folder into dat.gui. An axis object to visualize axes.
Parameters:
Name Type Attributes Description
options Options Followed parameters is allowed. See the options parameter of the MyThree class.
Properties
Name Type Attributes Default Description
dat.axesHelperGui boolean <optional>
false - do not adds AxesHelperGui into dat.gui.
axesHelper AxesHelper is AxesHelper instance.
getLanguageCode function <optional>
language code of your browser Your custom getLanguageCode() function.
returns the "primary language" subtag of the language version of the browser.
Examples: "en" - English language, "ru" Russian.
See the "Syntax" paragraph of RFC 4646 rfc4646 2.1 Syntax for details.
You can import { getLanguageCode } from '../../commonNodeJS/master/lang.js';
cookie cookie <optional>
Your custom cookie function for saving and loading of the AxesHelper settings.
See cookieNodeJS.
Default cookie is not saving settings.
cookieName string <optional>
Name of the cookie is "AxesHelper" + options.cookieName.
gui GUI <optional>
is new dat.GUI(...).
Source: