New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babylonjs-loaders

Package Overview
Dependencies
Maintainers
1
Versions
661
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babylonjs-loaders - npm Package Compare versions

Comparing version 3.2.0-rc.1 to 3.2.0-rc.2

48

babylonjs.loaders.module.d.ts

@@ -204,2 +204,8 @@ /// <reference types="babylonjs"/>

/**
* Defines if the Alpha blended materials are only applied as coverage.
* If false, (default) The luminance of each pixel will reduce its opacity to simulate the behaviour of most physical materials.
* If true, no extra effects are applied to transparent pixels.
*/
transparencyAsCoverage: boolean;
/**
* Function called before loading a url referenced by the asset.

@@ -310,2 +316,8 @@ */

/**
* Defines if the Alpha blended materials are only applied as coverage.
* If false, (default) The luminance of each pixel will reduce its opacity to simulate the behaviour of most physical materials.
* If true, no extra effects are applied to transparent pixels.
*/
transparencyAsCoverage: boolean;
/**
* Function called before loading a url referenced by the asset.

@@ -859,2 +871,3 @@ */

compileShadowGenerators: boolean;
transparencyAsCoverage: boolean;
preprocessUrlAsync: (url: string) => Promise<string>;

@@ -1163,7 +1176,2 @@ readonly onMeshLoadedObservable: Observable<AbstractMesh>;

declare module BABYLON.GLTF2 {
/** @hidden */
interface _MaterialConstructor<T extends Material> {
readonly prototype: T;
new (name: string, scene: Scene): T;
}
/**

@@ -1213,2 +1221,8 @@ * Loader for loading a glTF 2.0 asset

/**
* Defines if the Alpha blended materials are only applied as coverage.
* If false, (default) The luminance of each pixel will reduce its opacity to simulate the behaviour of most physical materials.
* If true, no extra effects are applied to transparent pixels.
*/
transparencyAsCoverage: boolean;
/**
* Function called before loading a url referenced by the asset.

@@ -1281,5 +1295,5 @@ */

private _loadAsync(nodes, scene, data, rootUrl, onProgress?);
private _loadExtensions();
private _loadData(data);
private _setupData();
private _loadExtensions();
private _checkExtensions();

@@ -1328,3 +1342,3 @@ private _createRootNode();

/** @hidden */
_createMaterial<T extends Material>(type: _MaterialConstructor<T>, name: string, drawMode: number): T;
_createMaterial(name: string, drawMode: number): PBRMaterial;
/** @hidden */

@@ -1425,2 +1439,22 @@ _loadMaterialBasePropertiesAsync(context: string, material: _ILoaderMaterial, babylonMaterial: PBRMaterial): Promise<void>;

declare module BABYLON.GLTF2.Extensions {
/** @hidden */
class MSFT_minecraftMesh extends GLTFLoaderExtension {
readonly name: string;
constructor(loader: GLTFLoader);
private _onMaterialLoaded;
}
}
declare module BABYLON.GLTF2.Extensions {
/** @hidden */
class MSFT_sRGBFactors extends GLTFLoaderExtension {
readonly name: string;
constructor(loader: GLTFLoader);
private _onMaterialLoaded;
}
}
declare module BABYLON.GLTF2.Extensions {
/**

@@ -1427,0 +1461,0 @@ * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression)

4

package.json

@@ -7,3 +7,3 @@ {

"description": "The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.",
"version": "3.2.0-rc.1",
"version": "3.2.0-rc.2",
"repository": {

@@ -31,3 +31,3 @@ "type": "git",

"dependencies": {
"babylonjs-gltf2interface": "3.2.0-rc.1"
"babylonjs-gltf2interface": "3.2.0-rc.2"
},

@@ -34,0 +34,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc