Пример #1
0
 public override void CreateMesh()
 {
     GeneratedMesh = GeoSphereGenerator.CreateGeoSphere(Radius, Tesselation, GenerateNormals, GenerateUVs, Invert);
 }
Пример #2
0
        public static Mesh CreateGeoSphere(float radius, int tessellation, bool generateNormals, bool generateUVs, bool invert)
        {
            GeoSphereGenerator sphere = new GeoSphereGenerator();

            return(sphere.Create(radius, tessellation, generateNormals, generateUVs, invert));
        }