Exemple #1
0
        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);
            }
        }
Exemple #2
0
        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);
            }
        }