docs.unity3d.com
    Show / Hide Table of Contents

    Cylinder

    A cylinder is a shape with long straight sides and two circular (or roughly circular) ends, like a tube. They have a radius and a height.

    Cylinder shapes

    (A) Cylinder without a smoothing group

    (B) Cylinder with a high sides count

    (C) Cylinder with a lot of height cuts

    (D) Default cylinder shape

    You can customize the shape of a cylinder with these shape-specific properties:

    Property: Description:
    Sides Count Set the number of sides for the cylinder. The more sides you use, the smoother the sides of the cylinder become. The default value is 6. Valid values range from 4 to 64.
    Height Cuts Set the number of divisions to use for the height of the cylinder. For example, a value of 3 produces 4 faces on every side of the cylinder. The default value is 0.
    Smooth Enable this option to smooth the edges of the polygons. This property is enabled by default.
    Back to top
    Terms of use
    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