Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babylonjs-loaders

Package Overview
Dependencies
Maintainers
1
Versions
632
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 to 3.3.0-alpha.1

17

babylonjs.loaders.module.d.ts

@@ -1106,3 +1106,3 @@ /// <reference types="babylonjs"/>

interface _ILoaderImage extends IImage, _IArrayItem {
_objectURL?: Promise<string>;
_blob?: Promise<Blob>;
}

@@ -1391,2 +1391,4 @@ /** @hidden */

protected _loadMaterialAsync(context: string, material: _ILoaderMaterial, babylonMesh: Mesh, babylonDrawMode: number, assign: (babylonMaterial: Material) => void): Nullable<Promise<void>>;
/** Override this method to modify the default behavior for loading textures. */
protected _loadTextureAsync(context: string, textureInfo: ITextureInfo, assign: (texture: Texture) => void): Nullable<Promise<void>>;
/** Override this method to modify the default behavior for loading uris. */

@@ -1404,2 +1406,4 @@ protected _loadUriAsync(context: string, uri: string): Nullable<Promise<ArrayBufferView>>;

static _LoadMaterialAsync(loader: GLTFLoader, context: string, material: _ILoaderMaterial, babylonMesh: Mesh, babylonDrawMode: number, assign: (babylonMaterial: Material) => void): Nullable<Promise<void>>;
/** Helper method called by the loader to allow extensions to override loading textures. */
static _LoadTextureAsync(loader: GLTFLoader, context: string, textureInfo: ITextureInfo, assign: (texture: Texture) => void): Nullable<Promise<void>>;
/** Helper method called by the loader to allow extensions to override loading uris. */

@@ -1510,1 +1514,12 @@ static _LoadUriAsync(loader: GLTFLoader, context: string, uri: string): Nullable<Promise<ArrayBufferView>>;

}
declare module BABYLON.GLTF2.Extensions {
/**
* [Specification](https://github.com/AltspaceVR/glTF/blob/avr-sampler-offset-tile/extensions/2.0/Khronos/KHR_texture_transform/README.md) (Experimental)
*/
class KHR_texture_transform extends GLTFLoaderExtension {
readonly name: string;
protected _loadTextureAsync(context: string, textureInfo: ITextureInfo, assign: (texture: Texture) => void): Nullable<Promise<void>>;
}
}

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",
"version": "3.3.0-alpha.1",
"repository": {

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

"dependencies": {
"babylonjs-gltf2interface": "3.2.0"
"babylonjs-gltf2interface": "3.3.0-alpha.1"
},

@@ -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