docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateSphere

    CreateSphere(double, int, int, bool)

    Create a new sphere

    Declaration
    public uint CreateSphere(double radius, int subdivisionLatitude = 16, int subdivisionLongitude = 16, bool generateUV = true)
    Parameters
    Type Name Description
    double radius

    Radius of the Sphere

    int subdivisionLatitude

    Subdivision of the Sphere on the Latitude

    int subdivisionLongitude

    Subdivision of the Sphere on the Longitude

    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)