playcanvas-datgui
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

playcanvas-datgui

alt text

See a live demo here.

Some simple bindings between playcanvas and dat.gui for easily creating debug UI and interactive demos.

Setup

With pre-built script

Include the dat.gui lib in your project by getting the source from here.

Then include build/umd/playcanvas-datgui.js and make sure it is loaded after the dat.gui.js script.

Add the component to an object in the scene and view the inspector properties for configuration info. You can also view an example here.

With es module

Import this module into your bundle and it will register itself as a script. It requires the dat.gui dependency.

Readme

Keywords

none

Package Sidebar

Install

npm i playcanvas-datgui

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

66.9 kB

Total Files

10

Last publish

Collaborators

  • lloydevans