public void AddMap(string name, TextureMap map) { var type = GetFaceName(name); Faces.Add(type, map); Values.Clear(); foreach (var(t, value) in Faces) { Values.Add(value); } }
public void AddMap(string name, TextureMap map) { var type = GetMaterialMapType(name); MaterialMaps.Add(type, map); Values.Clear(); foreach (var(t, value) in MaterialMaps) { Values.Add(value); } }