Skip to content
Discussion options

You must be logged in to vote

Hi @neciszhang! This method returns the correct number of mesh “resources” in the glTF file. I think the difference you're seeing is that several of those meshes are used within the scene many times. If you include the 'instances' property on each mesh, you'll get the total you're expecting:

Screenshot from https://gltf.report/.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@neciszhang
Comment options

@donmccurdy
Comment options

Answer selected by neciszhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment