Пример #1
0
        public ModelTextureSet(ConfigNode node)
        {
            name = node.GetStringValue("name");
            ConfigNode[] texNodes = node.GetNodes("TEXTURE");
            int          len      = texNodes.Length;

            textureData = new ModelTextureData[len];
            for (int i = 0; i < len; i++)
            {
                textureData[i] = new ModelTextureData(texNodes[i]);
            }
        }
Пример #2
0
 public ModelTextureSet(ConfigNode node)
 {
     name = node.GetStringValue("name");
     ConfigNode[] texNodes = node.GetNodes("TEXTURE");
     int len = texNodes.Length;
     textureData = new ModelTextureData[len];
     for (int i = 0; i < len; i++)
     {
         textureData[i] = new ModelTextureData(texNodes[i]);
     }
 }