Hello!
I’m doing some HTTP requests to load GLB models over the network, with this code:
BABYLON.SceneLoader.ImportMesh(null, '', tileUrl, this.scene,
// onSuccess
function(newMeshes, particleSystems, skeletons) {
},
// onProgress
function(event) {
},
// onError
function(event) {
}
)
My HTTP server uses different result codes (400, 404, 500…) to signal different cases that I’d need to display.
I cannot seem to find the result code in the onError
event. Is there some way to access the HTTP Result code?