babylonjs-loaders
Advanced tools
Comparing version 3.1.0-beta3 to 3.1.0-beta5
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
398969
6549