When importing glb/gltf, how can i refer to material?
In my case, these are always null.
Aren’t these modifiable?
(Models DO have material on debug mode)
Can you create a playground with your model imported. It will help to find to problem.
You can see here how to reference your model in the playground
I got it.
task.loadedMeshes is “cube” (what i need)
What a simple problem!
Yes, I wanted to point out that. That’s usual gltf hierarchy, it always has root node, which is not the case with other formats. At least from my experience.
Glad you got it. Cheers