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
630
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.1.0-beta3 to 3.1.0-beta5

22

babylonjs.loaders.module.d.ts

@@ -121,9 +121,9 @@ /// <reference types="babylonjs"/>

coordinateSystemMode: GLTFLoaderCoordinateSystemMode;
compileMaterials: boolean;
compileShadowGenerators: boolean;
useClipPlane: boolean;
onMeshLoaded: (mesh: AbstractMesh) => void;
onTextureLoaded: (texture: BaseTexture) => void;
onMaterialLoaded: (material: Material) => void;
/**
* Let the user decides if he needs to process the material (like precompilation) before affecting it to meshes
*/
onBeforeMaterialReadyAsync: (material: Material, targetMesh: AbstractMesh, isLOD: boolean, callback: () => void) => void;
/**
* Raised when the asset is completely loaded, just before the loader is disposed.

@@ -973,2 +973,5 @@ * For assets with LODs, raised when all of the LODs are complete.

static RegisterExtension(extension: GLTFLoaderExtension): void;
private static _progressEventFactory;
private static _createProgressEventByConstructor(name, data);
private static _createProgressEventByDocument(name, data);
constructor(parent: GLTFFileLoader);

@@ -979,3 +982,3 @@ dispose(): void;

private _loadAsync(nodeNames, scene, data, rootUrl, onSuccess, onProgress, onError);
private _onProgress(event);
private _onProgress();
_executeWhenRenderReady(func: () => void): void;

@@ -1038,4 +1041,4 @@ private _onRenderReady();

_loadTexture(context: string, texture: IGLTFTexture, coordinatesIndex?: number): Texture;
private _loadImage(context, image, onSuccess);
_loadUri(context: string, uri: string, onSuccess: (data: ArrayBufferView) => void): void;
private _loadImageAsync(context, image, onSuccess);
_loadUriAsync(context: string, uri: string, onSuccess: (data: ArrayBufferView) => void): void;
_tryCatchOnError(handler: () => void): void;

@@ -1047,2 +1050,5 @@ private static _AssignIndices(array?);

private static _GetNumComponents(type);
private _compileMaterialAsync(babylonMaterial, babylonMesh, onSuccess);
private _compileMaterialsAsync(onSuccess);
private _compileShadowGeneratorsAsync(onSuccess);
}

@@ -1094,3 +1100,3 @@ }

*/
static MinimalLODDelay: number;
Delay: number;
readonly name: string;

@@ -1097,0 +1103,0 @@ protected _traverseNode(loader: GLTFLoader, context: string, node: IGLTFNode, action: (node: IGLTFNode, parentNode: IGLTFNode) => boolean, parentNode: IGLTFNode): boolean;

@@ -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.1.0-beta3",
"version": "3.1.0-beta5",
"repository": {

@@ -10,0 +10,0 @@ "type": "git",

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