docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreatePartsFromMeshes

    CreatePartsFromMeshes(OccurrenceList, MeshList)

    Create a set of Parts given meshes and occurrences

    Declaration
    public PartList CreatePartsFromMeshes(OccurrenceList occurrences, MeshList meshes)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    The occurrence which will contains the part component of the mesh at the same index

    MeshList meshes

    List of mesh to create part, if the mesh is invalid (e.g 0) no part will be created and 0 will be returned in the parts list at this index

    Returns
    Type Description
    PartList
    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)