docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateTorus

    CreateTorus(double, double, int, int)

    Create a new torus

    Declaration
    public uint CreateTorus(double majorRadius, double minorRadius, int subdivisionLatitude, int subdivisionLongitude)
    Parameters
    Type Name Description
    double majorRadius

    Major Radius

    double minorRadius

    Minor Radius

    int subdivisionLatitude

    Subdivision of the Torus on the Latitude

    int subdivisionLongitude

    Subdivision of the Torus on the Longitude

    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)