babylonjs-loaders
Advanced tools
Comparing version 3.2.0 to 3.3.0-alpha.1
@@ -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>>; | ||
} | ||
} |
@@ -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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
482430
7873
3
+ Addedbabylonjs-gltf2interface@3.3.0-alpha.1(transitive)
- Removedbabylonjs-gltf2interface@3.2.0(transitive)