docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor MeshData

    MeshData()

    Create an empty container

    Declaration
    public MeshData()

    MeshData(List<Renderer>, IList<Mesh>, IList<Material[]>)

    Create a MeshData will info set into the appropriate containers

    Declaration
    public MeshData(List<Renderer> renderers, IList<Mesh> meshes, IList<Material[]> materials)
    Parameters
    Type Name Description
    List<Renderer> renderers

    Renderers that need to match mesh and material list

    IList<Mesh> meshes

    Meshes that need to match renderers and materials list

    IList<Material[]> materials

    Mateterials that need to match renderers and mesh list

    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)