@babylonjs/materials
TypeScript icon, indicating that this package has built-in type declarations

7.4.0 • Public • Published

Babylon.js Materials Library

For usage documentation please visit https://doc.babylonjs.com/extensions and choose "materials library".

Installation instructions

To install using npm :

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

How to use

Afterwards it can be imported to your project using:

import { GridMaterial } from '@babylonjs/materials/Grid';

And used as usual:

// Some awesome code
let gridMaterial = new GridMaterial("gridMaterial", scene);
// Some more awesome code

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

Package Sidebar

Install

npm i @babylonjs/materials

Weekly Downloads

15,093

Version

7.4.0

License

Apache-2.0

Unpacked Size

1.06 MB

Total Files

231

Last publish

Collaborators

  • babylonjs