Skip to content

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

License

Notifications You must be signed in to change notification settings

lloydevans/playcanvas-datgui

Repository files navigation

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

npm i -S playcanvas-datgui

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

About

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

Topics

Resources

License

Stars

Watchers

Forks