public Material getMaterial(ElementType.Element element) { return materials.Get(element.getMaterial()); }