How to get states of the gltf texture rendered

Hi all,
I am the newbie and have a 3dsmax model that converted to gltf with lots of texture images, after loading with cesium and flyto the model, the white bone loaded first, then it'll take long time to render the texture. I want to show a loading image before all textures rendered. Is there anyway to get the texture rendering states?

The Entity API doesn’t expose those internals, but you can set incrementallyLoadTextures to false when creating your model as shown in the docs:

https://cesiumjs.org/Cesium/Build/Documentation/ModelGraphics.html?classFilter=ModelGr

This will make sure not to show the model until the textures are loaded. Let me know if that works!

Awesome, the incrementallyLoadTextures resolve the problem. After incrementallyLoadTextures set to false the model.readyPromise return true when all the textures rendered. Thanks!

在 2019年2月18日星期一 UTC+8上午9:30:53,Omar Shehata写道: