David Catuhe a716fa1072 4.1.0-alpha.7 il y a 6 ans
..
babylon.gui.d.ts 8ed7be8a20 Fix #6308 il y a 6 ans
babylon.gui.js a716fa1072 4.1.0-alpha.7 il y a 6 ans
babylon.gui.js.map a716fa1072 4.1.0-alpha.7 il y a 6 ans
babylon.gui.min.js 2d3e21e8ab Nightly il y a 6 ans
babylon.gui.module.d.ts 8ed7be8a20 Fix #6308 il y a 6 ans
package.json a716fa1072 4.1.0-alpha.7 il y a 6 ans
readme-es6.md 2e710a8ebe dedicated es6 readme il y a 6 ans
readme.md 241153b81f Readme files for all modules il y a 8 ans

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.