docs.unity3d.com
Search Results for

    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.
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)