🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@babylonjs/serializers

Package Overview
Dependencies
Maintainers
1
Versions
703
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babylonjs/serializers

The Babylon.js serializers library is an extension you can use to serialize Babylon scenes.

Source
npmnpm
Version
5.0.0-alpha.2
Version published
Weekly downloads
27K
34.15%
Maintainers
1
Weekly downloads
 
Created
Source

Babylon.js Serializers

Installation instructions

To install using npm :

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

How to use

Afterwards it can be imported to the your project using:

import { GLTF2Export } from '@babylonjs/serializers/glTF';

And used as usual:

GLTF2Export.GLTFAsync(scene, "fileName").then((gltf) => {
    gltf.downloadFiles();
});

For more information you can have a look at our our ES6 dedicated documentation and the gltf exporter documentation.

Keywords

3D

FAQs

Package last updated on 30 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts