Comparing version 1.6.0 to 1.6.1
@@ -7,2 +7,6 @@ # Changelog | ||
## [1.6.1] - 2022-08-19 | ||
### Fixed | ||
- Fixed an issue which caused glTF loading function to return before all resources was loaded. | ||
## [1.6.0] - 2022-08-14 | ||
@@ -9,0 +13,0 @@ ### Added |
{ | ||
"name": "pixi3d", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.", | ||
@@ -5,0 +5,0 @@ "main": "dist/umd/pixi3d.js", |
@@ -23,4 +23,5 @@ import { Texture } from "@pixi/core"; | ||
* loader can be empty when all resources in the descriptor is embedded. | ||
* @param cb Callback when all resources have been loaded. | ||
*/ | ||
static load(descriptor: any, loader?: glTFResourceLoader): glTFAsset; | ||
static load(descriptor: any, loader?: glTFResourceLoader, cb?: (asset: glTFAsset) => void): glTFAsset; | ||
/** | ||
@@ -35,3 +36,3 @@ * Returns a value indicating if the specified data buffer is a valid glTF. | ||
*/ | ||
static isEmbeddedResource(uri: string): boolean; | ||
static isEmbeddedResource(uri: string): boolean | ""; | ||
/** | ||
@@ -38,0 +39,0 @@ * Creates a new glTF asset from binary (glb) buffer data. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
3847623
21116