I haven’t tried it because I don’t have a GLTF file with “extras”, but I can access _gltfJsonLoader from the model, so I guess it would be accessed with code like this.
const model = await Cesium.Model.fromGltfAsync({....});
const extras = model._loader._gltfJsonLoader._gltf.extras;
Thanks for the information. Sadly, its not giving the output which I am looking for.
The GLTF file has multiple mesh objects and each object has some custom-properties attached as extras. I can see these properties in three.js; where they come as ‘userData’. I am not sure about following:
how to traverse to individual mesh object in the GLTF
how to retrieve these “extras” from each mesh object.