示例#1
0
 private void Start()
 {
     GetComponent <MeshFilter>().mesh = MeshDraft.Dome(radius, horizontalSegments, verticalSegments, true, domeDegrees).ToMesh();
 }
 public static void Dome()
 {
     PrimitiveTemplate(dome, () => MeshDraft.Dome(0.5f, 16, 16, true, 240).ToMesh());
 }