Raanan Weber 5c22fb1eff nightly 5 years ago
..
babylon.gui.d.ts 5e39c950e8 Nightly 5 years ago
babylon.gui.js 5c22fb1eff nightly 5 years ago
babylon.gui.js.map c00afd12cd Nightly 5 years ago
babylon.gui.min.js 5e39c950e8 Nightly 5 years ago
babylon.gui.module.d.ts 5e39c950e8 Nightly 5 years ago
package.json d4f5b645b0 4.2.0-alpha.18 5 years ago
readme-es6.md 2e710a8ebe dedicated es6 readme 6 years ago
readme.md ced2d6be3a Update readme.md 6 years ago

readme-es6.md

Babylon.js GUI module

For usage documentation please visit http://doc.babylonjs.com/overviews/gui

Installation instructions

To install using npm :

npm install --save @babylonjs/core @babylonjs/gui

How to use

Afterwards it can be imported to the your project using:

import { AdvancedDynamicTexture } from '@babylonjs/gui/2D';

And used as usual:

// Some awesome code
// Creates the post process
let postProcess = new AdvancedDynamicTexture("adt", 128, 128, scene);
// Some more awesome code

For more information you can have a look at our our ES6 dedicated documentation.