Hi, I would like to use GLTFLoader.js
but am unable to find it. I was under the impression that it is in js/loaders/
but I am unable to see it in src/loaders/
(I am guessing src
used to be js
?) in the Github repo.
I eventually found the file at examples/jsm/loaders/GLTFLoader.js
. I would not have thought to look in the examples
folder.
import { GLTFLoader } from ‘https://threejs.org/examples/jsm/loaders/GLTFLoader.js’;
Many thanks @Shange . I just found it there. The examples
folder name seems a bit obscure.
Is this what u are looking for?
Yes, many thanks @webIka . I stumbled across it a moment ago.