コード例 #1
0
        public static void PlaceTextureOnFaces(this Mesh mesh, int face, ImageBuffer textureToUse)
        {
            //// planer project along the normal of this face
            var faces = mesh.GetCoplanerFaces(face);

            mesh.PlaceTextureOnFaces(faces, textureToUse, mesh.GetMaxPlaneProjection(faces, textureToUse));
        }