Help me understand how to "get material by name"

I’m trying to have a variable have the value of all the object details a material can have.
What term in three.js do I use? Do I refer to Object3d?

Do you mean properties of all available material types at once? Could you give an example of what you’d expect it to look?

No, just the dom graph of the materials properties. I’m looking for the exact syntax to illustrate / fetch exactly that.

Just as you’d see in console when you give a variable `var foo = scene.getObjectByName…"

Sorry, I don’t understand what you mean by a dom graph and materials properties. Maybe Object.keys(material) (docs) or Object.entries(material) (docs) can help you with that ? Both do list out all properties of the given material.

Fantastic. Thanks!
I’ll try that.