JSPM

@babylonjs/loaders

5.0.0-beta.11
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 49525
  • Score
    100M100P100Q151600F
  • License Apache-2.0

The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.

Package Exports

  • @babylonjs/loaders
  • @babylonjs/loaders/glTF
  • @babylonjs/loaders/glTF/2.0
  • @babylonjs/loaders/glTF/2.0/Extensions
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_translucency
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_translucency.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform
  • @babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js
  • @babylonjs/loaders/glTF/2.0/Extensions/index.js
  • @babylonjs/loaders/glTF/2.0/glTFLoader
  • @babylonjs/loaders/glTF/2.0/glTFLoader.js
  • @babylonjs/loaders/glTF/2.0/index.js
  • @babylonjs/loaders/glTF/glTFFileLoader
  • @babylonjs/loaders/glTF/glTFFileLoader.js
  • @babylonjs/loaders/glTF/index.js
  • @babylonjs/loaders/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@babylonjs/loaders) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Babylon.js Loaders module

For usage documentation please visit http://doc.babylonjs.com/extensions and choose "loaders".

Installation instructions

To install using npm :

npm install --save-dev @babylonjs/core @babylonjs/loaders

How to use

Afterwards it can be imported to the your project using:

import "@babylonjs/loaders/glTF";

This will extend Babylon's loader plugins to allow the load of gltf and glb files.

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