Hi guys,
having a hell of a time removing materials from a CompositeMaterial. The addMaterial calls were made inside of functions so the materials inside the composite material aren’t global. How do I remove a material the way it’s written? What is stored in the protected materials array and why the hell can’t I access that materials array property? All I need is something like a removeChildAt method to get to the materials. Otherwise I have to store everything globally. Help