docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateCylinder

    CreateCylinder(double, double, int, bool)

    Create a new cylinder

    Declaration
    public uint CreateCylinder(double radius, double height, int sides = 16, bool generateUV = true)
    Parameters
    Type Name Description
    double radius

    Radius of the Cylinder

    double height

    Height of the Cylinder

    int sides

    Number of Sides of the Cylinder

    bool generateUV

    Generation of the UV

    Returns
    Type Description
    uint
    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)