Sorry if this is a stupid question, but lets say I have the contents of a .gltf assigned to a variable (as a JSON object) in a script. How would I go about loading this using the gltf loader??
As far as I can tell, the gltf loader examples all use a url. I would like to use a JSON object which I have downloaded from database.