【翻译】Managed DirectX(第九章)[15]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

                   meshMaterials[i] = mtrl[i].Material3D;

                   if ((mtrl[i].TextureFilename != null) && (mtrl[i].TextureFilename != string.Empty))

                   {

                       // We have a texture, try to load it

                       meshTextures[i] = TextureLoader.FromFile(device, @"..\..\" + mtrl[i].TextureFilename);

                   }

              }

         }

         //clean our main mesh

         using(Mesh tempMesh = Mesh.Clean(mesh,adj,adj)

         {

本文关键:【翻译】Managed DirectX(第九章)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top