Hi everyone,
I try to find a multimaterial by its name but i don’t manage to do it.
Here’s my PG : https://playground.babylonjs.com/#421QUC
I don’t know if it is a bug or a mistake i made.
Could you give me some help ?
Thanks in advance,
Boris
Hi everyone,
I try to find a multimaterial by its name but i don’t manage to do it.
Here’s my PG : https://playground.babylonjs.com/#421QUC
I don’t know if it is a bug or a mistake i made.
Could you give me some help ?
Thanks in advance,
Boris
Unfortunately, it is not searchable like this, I will add smthg for it. In the meantime you can do:
scene.multiMaterials.filter((m) => m.name === "foo");
Thanks, i will use your solution and wait for a release.