docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Sweep

    Sweep(OccurrenceList, double, int, bool, bool, bool)

    Extrudes a circular section along an underlying polyline (curve)

    Declaration
    public void Sweep(OccurrenceList occurrences, double radius, int sides, bool createNormals, bool keepLines, bool generateUV)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of components to check

    double radius

    Radius of cylinders

    int sides

    Number of points to create cylinders

    bool createNormals
    bool keepLines
    bool generateUV
    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)