Sphere | ProBuilder | 4.3.1
docs.unity3d.com
    Show / Hide Table of Contents

    Sphere

    A sphere is a perfectly round 3D object. In ProBuilder, a sphere is actually a polygon with 42 vertices, in which five triangles (faces) share each vertex.

    Sphere shapes

    A Sphere shape with no subdivisions showing five triangles colored. A wireframe of a default sphere is superimposed on that shape (the same radius but with one subdivision).

    B Default sphere shape (one subdivision).

    C Sphere with two subdivisions.

    D Sphere with three subdivisions.

    E Sphere with four subdivisions.

    You can customize the shape of a sphere with these shape properties:

    Sphere shape properties

    Property: Description:
    Radius Set the radius (size) of the sphere in meters. The default value is 1. Valid values range from 0.01 to 10.
    Subdivisions Set the number of times to subdivide each triangle. The default value is 1. Valid values range from 0 to 4.

    The more subdivisions you create, the smoother the sphere appears. However, remember that each subdivision increases the number of triangles exponentially, which means that it uses a lot more resources to render.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023