glTF: accessing meshes from an imported scene


I know how the import glTF scene but I’m lost when trying to access selected meshes from this scene. I could not find where it is explained. How can I list all imported objects in the glTF scene and/or select just one of them.

Thank you.

I can’t tell much about the gltf loader, if the result is a scene object, you can either use this as your scene right away or loop through the children and add them to another object.

1 Like

You can traverse through the list of children objects in the loaded scene using the traverse function below.

GLTFLoader.load(src, function(gltfModel) {

  gltfModel.scene.traverse(function (child) {



Thank both of you, Very helpful!