public override void CreateMesh() { GeneratedMesh = GeoSphereGenerator.CreateGeoSphere(Radius, Tesselation, GenerateNormals, GenerateUVs, Invert); }
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)); }