예제 #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));
        }