docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReplaceByPrimitive

    ReplaceByPrimitive(OccurrenceList, PrimitiveShapeParameters, bool)

    Replace objects by a primitive shapes

    Declaration
    public void ReplaceByPrimitive(OccurrenceList occurrences, PrimitiveShapeParameters primitive, bool generateUV = true)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of components to replace

    PrimitiveShapeParameters primitive

    Primitive type and parameters

    bool generateUV

    Primitive type and parameters

    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)