Is this possible to show just wireframes of loded .glb files? I entered debugger and saw there that it is possible to render wireframe over mesh. Can I render just wireframe?
Yes you can https://www.babylonjs-playground.com/#QCU8DJ#22
Thank you !
What’s the difference between meshes and meshes in callbackfunction of
ImportMesh method? I couldn’t find it in documentation, sorry if it’s obvious.
ImportMesh will load all the meshes if you do not provide a name (1st parameter) so meshes is the first mesh found in your file and so on
When you look in the inspector in the PG I posted you can see that the first node is
_root_ which acts as a parent to the BoomBox mesh and it is the material of the BoomBox I want to render in wireframe hence meshes. The
_root_ is meshes and has no material anyway.
Often with imported meshes you have to check the list of meshes as meshes is often, but not always, a