docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateCone

    CreateCone(double, double, int, bool)

    Create a new cone

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

    Radius of the bottom of the cone

    double height

    Height of the cone

    int sides

    Number of sides of the cone

    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)