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.2.0-alphaB to 3.2.0-alphaC

35

babylonjs.loaders.module.d.ts

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

onMaterialLoadedObservable: Observable<Material>;
onAnimationGroupLoadedObservable: Observable<AnimationGroup>;
onCompleteObservable: Observable<IGLTFLoader>;

@@ -213,3 +214,3 @@ onDisposeObservable: Observable<IGLTFLoader>;

private _onTextureLoadedObserver;
onTextureLoaded: (Texture: BaseTexture) => void;
onTextureLoaded: (texture: BaseTexture) => void;
/**

@@ -220,4 +221,10 @@ * Raised when the loader creates a material after parsing the glTF properties of the material.

private _onMaterialLoadedObserver;
onMaterialLoaded: (Material: Material) => void;
onMaterialLoaded: (material: Material) => void;
/**
* Raised when the loader creates an animation group after parsing the glTF properties of the animation.
*/
readonly onAnimationGroupLoadedObservable: Observable<AnimationGroup>;
private _onAnimationGroupLoadedObserver;
onAnimationGroupLoaded: (animationGroup: AnimationGroup) => void;
/**
* Raised when the asset is completely loaded, immediately before the loader is disposed.

@@ -244,2 +251,7 @@ * For assets with LODs, raised when all of the LODs are complete.

/**
* Gets a promise that resolves when the asset is completely loaded.
* @returns A promise that resolves when the asset is completely loaded.
*/
whenCompleteAsync(): Promise<void>;
/**
* The loader state or null if not active.

@@ -678,2 +690,3 @@ */

onMaterialLoadedObservable: Observable<Material>;
onAnimationGroupLoadedObservable: Observable<AnimationGroup>;
onCompleteObservable: Observable<IGLTFLoader>;

@@ -955,2 +968,3 @@ onExtensionLoadedObservable: Observable<IGLTFLoaderExtension>;

readonly onMaterialLoadedObservable: Observable<Material>;
readonly onAnimationGroupLoadedObservable: Observable<AnimationGroup>;
readonly onExtensionLoadedObservable: Observable<IGLTFLoaderExtension>;

@@ -974,2 +988,3 @@ readonly onCompleteObservable: Observable<IGLTFLoader>;

_loadSceneAsync(context: string, scene: ILoaderScene): Promise<void>;
private _forEachPrimitive(node, callback);
private _getMeshes();

@@ -979,4 +994,4 @@ private _getSkeletons();

_loadNodeAsync(context: string, node: ILoaderNode): Promise<void>;
private _loadMeshAsync(context, node, mesh);
private _loadPrimitiveAsync(context, node, mesh, primitive);
private _loadMeshAsync(context, node, mesh, babylonMesh);
private _loadPrimitiveAsync(context, node, mesh, primitive, babylonMesh);
private _loadVertexDataAsync(context, primitive, babylonMesh);

@@ -1005,3 +1020,3 @@ private _createMorphTargets(context, node, mesh, primitive, babylonMesh);

private _loadMaterialMetallicRoughnessPropertiesAsync(context, material);
_loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh): Promise<void>;
_loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh, assign: (babylonMaterial: Material) => void): Promise<void>;
_createMaterial(material: ILoaderMaterial): PBRMaterial;

@@ -1042,3 +1057,3 @@ _loadMaterialBasePropertiesAsync(context: string, material: ILoaderMaterial): Promise<void>;

/** Override this method to modify the default behavior for loading materials. */
protected _loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh): Nullable<Promise<void>>;
protected _loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh, assign: (babylonMaterial: Material) => void): Nullable<Promise<void>>;
/** Override this method to modify the default behavior for loading uris. */

@@ -1055,3 +1070,3 @@ protected _loadUriAsync(context: string, uri: string): Nullable<Promise<ArrayBufferView>>;

/** Helper method called by the loader to allow extensions to override loading materials. */
static _LoadMaterialAsync(loader: GLTFLoader, context: string, material: ILoaderMaterial, babylonMesh: Mesh): Nullable<Promise<void>>;
static _LoadMaterialAsync(loader: GLTFLoader, context: string, material: ILoaderMaterial, babylonMesh: Mesh, assign: (babylonMaterial: Material) => void): Nullable<Promise<void>>;
/** Helper method called by the loader to allow extensions to override loading uris. */

@@ -1075,3 +1090,3 @@ static _LoadUriAsync(loader: GLTFLoader, context: string, uri: string): Nullable<Promise<ArrayBufferView>>;

protected _loadNodeAsync(context: string, node: ILoaderNode): Nullable<Promise<void>>;
protected _loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh): Nullable<Promise<void>>;
protected _loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh, assign: (babylonMaterial: Material) => void): Nullable<Promise<void>>;
protected _loadUriAsync(context: string, uri: string): Nullable<Promise<ArrayBufferView>>;

@@ -1100,4 +1115,4 @@ /**

readonly name: string;
protected _loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh): Nullable<Promise<void>>;
private _loadSpecularGlossinessPropertiesAsync(loader, context, material, properties);
protected _loadMaterialAsync(context: string, material: ILoaderMaterial, babylonMesh: Mesh, assign: (babylonMaterial: Material) => void): Nullable<Promise<void>>;
private _loadSpecularGlossinessPropertiesAsync(context, material, properties);
}

@@ -1104,0 +1119,0 @@ }

@@ -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-alphaB",
"version": "3.2.0-alphaC",
"repository": {

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

"dependencies": {
"babylonjs-gltf2interface": "3.2.0-alphaB"
"babylonjs-gltf2interface": "3.2.0-alphaC"
},

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