Пример #1
0
        public static Mesh NewWholeMapPlane()
        {
            Mesh mesh = MeshMakerPlanesFS.NewPlaneMesh(2000f, false, false);

            Vector2[] array = new Vector2[4];
            for (int i = 0; i < 4; i++)
            {
                array[i] = mesh.uv[i] * 200f;
            }
            mesh.uv = array;
            return(mesh);
        }
Пример #2
0
 public static Mesh NewPlaneMesh(float size, bool flipped)
 {
     return(MeshMakerPlanesFS.NewPlaneMesh(size, flipped, false));
 }
Пример #3
0
 public static Mesh NewPlaneMesh(float size, bool flipped, bool backLift, bool twist)
 {
     return(MeshMakerPlanesFS.NewPlaneMesh(new Vector2(size, size), flipped, backLift, twist));
 }
Пример #4
0
 public static Mesh NewPlaneMesh(float size)
 {
     return(MeshMakerPlanesFS.NewPlaneMesh(size, false));
 }